Simplify, less clutter.

This commit is contained in:
ggregory 2016-01-15 16:33:07 -08:00
parent 7429e75b75
commit 18f5f54ca0
1 changed files with 1104 additions and 1108 deletions

View File

@ -1098,11 +1098,7 @@ public class BooleanUtils {
if (x == y) {
return 0;
}
if (x) {
return 1;
} else {
return -1;
}
return x ? 1 : -1;
}
}