Fixed UnsignedInteger flag value

This commit is contained in:
boy0001 2015-03-20 23:10:37 +11:00
parent 91b7b41cfc
commit 294c11a534

View File

@ -133,7 +133,7 @@ public abstract class FlagValue<T> {
public Integer parse(final String t) { public Integer parse(final String t) {
try { try {
final int value = Integer.parseInt(t); final int value = Integer.parseInt(t);
if (value >= 0) { if (value < 0) {
return null; return null;
} }
return value; return value;