Simplify, less clutter.

This commit is contained in:
ggregory 2016-01-16 14:37:38 -08:00
parent bb76a6848b
commit 69d4bf883c
1 changed files with 1 additions and 5 deletions

View File

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