diff options
-rw-r--r-- | src/pl/edu/mimuw/cloudatlas/model/ValueBoolean.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pl/edu/mimuw/cloudatlas/model/ValueBoolean.java b/src/pl/edu/mimuw/cloudatlas/model/ValueBoolean.java index ba2b4f6..57078c2 100644 --- a/src/pl/edu/mimuw/cloudatlas/model/ValueBoolean.java +++ b/src/pl/edu/mimuw/cloudatlas/model/ValueBoolean.java @@ -67,7 +67,7 @@ public class ValueBoolean extends ValueSimple<Boolean> { } @Override - public ValueBoolean or(Value value) { // - + public ValueBoolean or(Value value) { sameTypesOrThrow(value, Operation.OR); if(isNull() || value.isNull()) return new ValueBoolean(null); @@ -75,7 +75,7 @@ public class ValueBoolean extends ValueSimple<Boolean> { } @Override - public ValueBoolean negate() { // ! + public ValueBoolean negate() { return new ValueBoolean(isNull()? null : !getValue()); } |