File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
src/com/magento/idea/magento2plugin/actions/generation Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 3030import com .magento .idea .magento2plugin .project .Settings ;
3131import org .jetbrains .annotations .NotNull ;
3232
33- public class CreateAnObserverAction extends DumbAwareAction implements ActionUpdateThreadAware {
33+ public class CreateAnObserverAction extends DumbAwareAction
34+ implements ActionUpdateThreadAware {
3435
3536 public static final String ACTION_NAME = "Create a new Observer for this event" ;
3637 public static final String ACTION_DESCRIPTION = "Create a new Magento 2 Observer" ;
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ private XmlTag getElement(final @NotNull AnActionEvent event) {
105105 if (xmlTag == null ) {
106106 return null ;
107107 }
108- XmlTag resultTag ;
108+ final XmlTag resultTag ;
109109
110110 if (CommonXml .ATTRIBUTE_ARGUMENTS .equals (xmlTag .getName ())) {
111111 resultTag = PsiTreeUtil .getParentOfType (xmlTag , XmlTag .class );
Original file line number Diff line number Diff line change 2121import com .magento .idea .magento2plugin .util .GetFirstClassOfFile ;
2222import org .jetbrains .annotations .NotNull ;
2323
24- public class OverrideClassByAPreferenceAction extends DumbAwareAction implements ActionUpdateThreadAware {
24+ public class OverrideClassByAPreferenceAction extends DumbAwareAction
25+ implements ActionUpdateThreadAware {
2526 public static final String ACTION_NAME = "Override this class by a new Preference" ;
2627 public static final String ACTION_DESCRIPTION = "Create a new Magento 2 Preference" ;
2728 public static final String INTERFACE_ACTION = "Override this interface by a new Preference" ;
You can’t perform that action at this time.
0 commit comments