Skip to content

Commit e829082

Browse files
author
Vitaliy Boyko
committed
PMD fix
1 parent e6afba9 commit e829082

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

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

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

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

0 commit comments

Comments
 (0)