diff options
Diffstat (limited to 'org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/CompoundInstruction.java')
-rw-r--r-- | org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/CompoundInstruction.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/CompoundInstruction.java b/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/CompoundInstruction.java index 5bff1461b..2b0c1f0fa 100644 --- a/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/CompoundInstruction.java +++ b/org.eclipse.jdt.debug/eval/org/eclipse/jdt/internal/debug/eval/ast/instructions/CompoundInstruction.java @@ -11,25 +11,27 @@ package org.eclipse.jdt.internal.debug.eval.ast.instructions; /** - * A <code>CompoundInstruction</code> is a container instruction - * and may have a size greater than one. + * A <code>CompoundInstruction</code> is a container instruction and may have a + * size greater than one. */ public abstract class CompoundInstruction extends Instruction { private int fSize; - + /** * Constructor for CompoundInstruction. + * * @param start */ protected CompoundInstruction(int start) { - fSize= -start; + fSize = -start; } public void setEnd(int end) { fSize += end; } + @Override public int getSize() { return fSize; } |