Small simplfication on this if/else statement

This commit is contained in:
Mike Jensen 2014-01-03 14:23:48 -07:00
parent d8b0db9354
commit 3fdf29a670

View File

@ -21,11 +21,7 @@ public class AtomicBoolean implements java.io.Serializable {
}
private static boolean booleanValue(int value) {
if (value == TRUE_VALUE) {
return true;
} else {
return false;
}
return value == TRUE_VALUE;
}
public boolean get() {