diff options
Diffstat (limited to 'org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/NotOperator.java')
-rw-r--r-- | org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/NotOperator.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/NotOperator.java b/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/NotOperator.java index 5b4d1b023..84cc44281 100644 --- a/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/NotOperator.java +++ b/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/NotOperator.java @@ -22,13 +22,15 @@ public class NotOperator extends UnaryOperator { /* * @see Instruction#execute() */ + @Override public void execute() throws CoreException { - IJavaPrimitiveValue value= (IJavaPrimitiveValue)popValue(); + IJavaPrimitiveValue value = (IJavaPrimitiveValue) popValue(); pushNewValue(!value.getBooleanValue()); } + @Override public String toString() { - return InstructionsEvaluationMessages.NotOperator______operator_1; + return InstructionsEvaluationMessages.NotOperator______operator_1; } } |