Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java')
-rw-r--r--org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java
index 3f9d3cf12a..1685e69a74 100644
--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java
+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ConditionalExpression.java
@@ -448,10 +448,10 @@ public FlowInfo analyseCode(BlockScope currentScope, FlowContext flowContext,
}
@Override
- public void initializePatternVariables(BlockScope scope, CodeStream codeStream) {
- this.condition.initializePatternVariables(scope, codeStream);
- this.valueIfTrue.initializePatternVariables(scope, codeStream);
- this.valueIfFalse.initializePatternVariables(scope, codeStream);
+ public void addPatternVariables(BlockScope scope, CodeStream codeStream) {
+ this.condition.addPatternVariables(scope, codeStream);
+ this.valueIfTrue.addPatternVariables(scope, codeStream);
+ this.valueIfFalse.addPatternVariables(scope, codeStream);
}
@Override

Back to the top