Skip to content

Commit 94cac05

Browse files
author
Vitaliy Boyko
committed
Static fixes
1 parent 3f8a8e7 commit 94cac05

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/com/magento/idea/magento2plugin/indexes/EventIndex.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class EventIndex {
2424
private final Project project;
2525

2626
/**
27-
* Gets singleton instance.
27+
* Constructor.
2828
*/
2929
public EventIndex(final Project project) {
3030
this.project = project;

src/com/magento/idea/magento2plugin/util/xml/XmlPsiTreeUtil.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ public static XmlTag getTypeTagOfArgument(final XmlElement psiArgumentValueEleme
5454
/**
5555
* Finds observer tags by event-observer name combination.
5656
*/
57+
@SuppressWarnings({
58+
"PMD.CyclomaticComplexity"
59+
})
5760
public static Collection<XmlAttributeValue> findObserverTags(
5861
final XmlFile xmlFile,
5962
final String eventName,

0 commit comments

Comments
 (0)