From 21a88f47b6a18bfbcefca28a8d233bf9ff2805f8 Mon Sep 17 00:00:00 2001 From: Max Medvedev Date: Mon, 1 Jul 2013 18:50:50 +0400 Subject: [PATCH] duplicate --- .../psi/impl/statements/blocks/GrClosableBlockImpl.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/blocks/GrClosableBlockImpl.java b/plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/blocks/GrClosableBlockImpl.java index 27d55c6aa994..fcee7c717ce1 100644 --- a/plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/blocks/GrClosableBlockImpl.java +++ b/plugins/groovy/src/org/jetbrains/plugins/groovy/lang/psi/impl/statements/blocks/GrClosableBlockImpl.java @@ -82,12 +82,7 @@ public class GrClosableBlockImpl extends GrBlockImpl implements GrClosableBlock final @NotNull ResolveState state, final @Nullable PsiElement lastParent, final @NotNull PsiElement place) { - if (lastParent == null) return true; - - if (!super.processDeclarations(plainProcessor, state, lastParent, place)) return false; - if (!processParameters(plainProcessor, state, place)) return false; - if (!ResolveUtil.processElement(plainProcessor, getOwner(), state)) return false; - if (!processClosureClassMembers(plainProcessor, state, lastParent, place)) return false; + if (!processDeclarations(plainProcessor, state, lastParent, place)) return false; if (!processOwnerAndDelegate(plainProcessor, nonCodeProcessor, state, place)) return false; return true;