Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnBrankStatementLabel.java')
-rw-r--r--org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnBrankStatementLabel.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnBrankStatementLabel.java b/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnBrankStatementLabel.java
index e79082473a..2f8e8e2bc8 100644
--- a/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnBrankStatementLabel.java
+++ b/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/complete/CompletionOnBrankStatementLabel.java
@@ -18,10 +18,10 @@ import org.eclipse.jdt.internal.compiler.lookup.BlockScope;
public class CompletionOnBrankStatementLabel extends BranchStatement {
public static final int BREAK = 1;
public static final int CONTINUE = 2;
-
+
private int kind;
public char[][] possibleLabels;
-
+
public CompletionOnBrankStatementLabel(int kind, char[] l, int s, int e, char[][] possibleLabels) {
super(l, s, e);
this.kind = kind;
@@ -39,13 +39,13 @@ public class CompletionOnBrankStatementLabel extends BranchStatement {
}
public StringBuffer printStatement(int indent, StringBuffer output) {
printIndent(indent, output);
- if(kind == CONTINUE) {
+ if(this.kind == CONTINUE) {
output.append("continue "); //$NON-NLS-1$
} else {
output.append("break "); //$NON-NLS-1$
}
output.append("<CompleteOnLabel:"); //$NON-NLS-1$
- output.append(label);
+ output.append(this.label);
return output.append(">;"); //$NON-NLS-1$
}

Back to the top