Fix compile error

This commit is contained in:
Andreas Dangel
2017-01-03 12:12:11 +01:00
parent 932ad7dd2b
commit a499711990

View File

@ -52,7 +52,6 @@ public class LocalScope extends AbstractJavaScope {
if (occurrence.isThisOrSuper() || occurrence.isMethodOrConstructorInvocation()) {
return Collections.emptySet();
}
Set<NameDeclaration> result = new HashSet<>();
DeclarationFinderFunction finder = new DeclarationFinderFunction(occurrence);
Applier.apply(finder, getVariableDeclarations().keySet().iterator());
if (finder.getDecl() != null) {