use static instance of GotoDeclarationActionHandler in GotoDeclarationAction (IDEA-206322)

This commit is contained in:
Daniil Ovchinnikov
2019-02-04 17:16:21 +03:00
parent 1f7f3d9fdc
commit c33423601a
@@ -57,7 +57,7 @@ public class GotoDeclarationAction extends BaseCodeInsightAction implements Dumb
@NotNull
@Override
protected CodeInsightActionHandler getHandler() {
return new GotoDeclarationActionHandler();
return GotoDeclarationActionHandler.INSTANCE;
}
@Override