Skip to content

Commit 64ebdb4

Browse files
checkstyle and pmd fixes
1 parent 0b1973e commit 64ebdb4

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

src/com/magento/idea/magento2plugin/actions/generation/CreateAnObserverAction.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
import com.magento.idea.magento2plugin.project.Settings;
3131
import 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";

src/com/magento/idea/magento2plugin/actions/generation/InjectAViewModelAction.java

+1-1
Original file line numberDiff line numberDiff 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);

src/com/magento/idea/magento2plugin/actions/generation/OverrideClassByAPreferenceAction.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
import com.magento.idea.magento2plugin.util.GetFirstClassOfFile;
2222
import 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";

0 commit comments

Comments
 (0)