Skip to content

Commit e6afba9

Browse files
author
Vitaliy Boyko
committed
Static fixes
1 parent e01702b commit e6afba9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/com/magento/idea/magento2plugin/inspections/xml/ObserverDeclarationInspection.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ public void visitFile(final PsiFile file) {
126126
&& observerDisabledAttribute.getValue().equals("true")
127127
&& !observerName.isEmpty()
128128
) {
129-
@Nullable XmlAttributeValue valueElement = observerNameAttribute.getValueElement();
129+
@Nullable XmlAttributeValue valueElement
130+
= observerNameAttribute.getValueElement();
130131
if (modulesWithSameObserverName.isEmpty() && valueElement != null) {
131132
problemsHolder.registerProblem(
132133
valueElement,

src/com/magento/idea/magento2plugin/inspections/xml/PluginDeclarationInspection.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ public void visitFile(final PsiFile file) {
120120
&& pluginTypeDisabledAttribute.getValue().equals("true")
121121
&& !pluginTypeName.isEmpty()
122122
) {
123-
@Nullable XmlAttributeValue valueElement = pluginTypeNameAttribute.getValueElement();
123+
@Nullable XmlAttributeValue valueElement
124+
= pluginTypeNameAttribute.getValueElement();
124125
if (modulesWithSamePluginName.isEmpty() && valueElement != null) {
125126
problemsHolder.registerProblem(
126127
valueElement,

0 commit comments

Comments
 (0)