Skip to content

Commit

Permalink
Improve Library#hasClassifier()
Browse files Browse the repository at this point in the history
frengor committed Mar 6, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 7da52fc commit 30f4e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/com/alessiodp/libby/Library.java
Original file line number Diff line number Diff line change
@@ -224,7 +224,7 @@ public String getClassifier() {
* @return true if library has classifier, false otherwise
*/
public boolean hasClassifier() {
return classifier != null;
return classifier != null && !classifier.isEmpty();
}

/**

0 comments on commit 30f4e8b

Please sign in to comment.