Skip to content

Commit 30f4e8b

Browse files
committed
Improve Library#hasClassifier()
1 parent 7da52fc commit 30f4e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/alessiodp/libby/Library.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ public String getClassifier() {
224224
* @return true if library has classifier, false otherwise
225225
*/
226226
public boolean hasClassifier() {
227-
return classifier != null;
227+
return classifier != null && !classifier.isEmpty();
228228
}
229229

230230
/**

0 commit comments

Comments
 (0)