Merge "Support negative-only labels"
This commit is contained in:
@@ -204,8 +204,7 @@ public class LabelType {
|
|||||||
if (values.isEmpty()) {
|
if (values.isEmpty()) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
final LabelValue v = values.get(values.size() - 1);
|
return values.get(values.size() - 1);
|
||||||
return v.getValue() > 0 ? v : null;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public short getDefaultValue() {
|
public short getDefaultValue() {
|
||||||
|
|||||||
Reference in New Issue
Block a user