mirror of
https://github.com/corda/corda.git
synced 2025-01-05 20:54:13 +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) {
|
||||
if (value == TRUE_VALUE) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return value == TRUE_VALUE;
|
||||
}
|
||||
|
||||
public boolean get() {
|
||||
|
Loading…
Reference in New Issue
Block a user