mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
Small simplfication on this if/else statement
This commit is contained in:
parent
d8b0db9354
commit
3fdf29a670
@ -21,11 +21,7 @@ public class AtomicBoolean implements java.io.Serializable {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static boolean booleanValue(int value) {
|
private static boolean booleanValue(int value) {
|
||||||
if (value == TRUE_VALUE) {
|
return value == TRUE_VALUE;
|
||||||
return true;
|
|
||||||
} else {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean get() {
|
public boolean get() {
|
||||||
|
Loading…
Reference in New Issue
Block a user