refactoring

pull/5045/head
Nikita Koksharov 2 years ago
parent 583113cc84
commit 0fd16ee595

@ -300,11 +300,7 @@ public class RedissonBitSet extends RedissonExpirable implements RBitSet {
}
protected int toInt(boolean value) {
int val = 0;
if (value) {
val = 1;
}
return val;
return Boolean.compare(value, false);
}
@Override

Loading…
Cancel
Save