mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[groovy] do not call isTopControlFlowOwner() in GrOpenBlockImpl.
It is overridden in GrGspRunBlock.
This commit is contained in:
+2
-1
@@ -51,6 +51,7 @@ public class GrOpenBlockImpl extends GrBlockImpl implements GrOpenBlock, PsiModi
|
||||
|
||||
@Override
|
||||
public boolean shouldChangeModificationCount(PsiElement place) {
|
||||
return !isTopControlFlowOwner();
|
||||
final PsiElement parent = getParent();
|
||||
return !(parent instanceof GrMethod) && !(parent instanceof GrClassInitializer);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user