Skip to content

Commit 4ae59e1

Browse files
committed
Refactoring had caused all the chaos. Fixes #3111.
1 parent 48e136b commit 4ae59e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

java/src/processing/mode/java/pdex/ASTGenerator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -901,9 +901,9 @@ public void preparePredictions(final String word, final int line,
901901
if (td.getStructuralProperty(TypeDeclaration.SUPERCLASS_TYPE_PROPERTY) != null) {
902902
SimpleType st = (SimpleType) td.getStructuralProperty(TypeDeclaration.SUPERCLASS_TYPE_PROPERTY);
903903
log("Superclass " + st.getName());
904-
ArrayList<CompletionCandidate> candidates =
904+
ArrayList<CompletionCandidate> tempCandidates =
905905
getMembersForType(st.getName().toString(), word2, noCompare, false);
906-
for (CompletionCandidate can : candidates) {
906+
for (CompletionCandidate can : tempCandidates) {
907907
candidates.add(can);
908908
}
909909
//findDeclaration(st.getName())

0 commit comments

Comments
 (0)