File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/com/magento/idea/magento2plugin/linemarker/php Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ public class WebApiLineMarkerProvider implements LineMarkerProvider {
37
37
return null ;
38
38
}
39
39
40
+ @ SuppressWarnings ("PMD.AvoidInstantiatingObjectsInLoops" )
40
41
@ Override
41
42
public void collectSlowLineMarkers (
42
43
final @ NotNull List <? extends PsiElement > psiElements ,
@@ -82,10 +83,11 @@ public void collectSlowLineMarkers(
82
83
/**
83
84
* Web API config nodes collector for service methods and classes. Has built in caching.
84
85
*/
86
+ @ SuppressWarnings ("PMD.AvoidDoubleBraceInitializationCheck" )
85
87
private static class WebApiRoutesCollector {
86
88
87
89
private final Map <String , List <XmlTag >> routesCache = new HashMap <>();
88
- private static final Map <String , Integer > HTTP_METHODS_SORT_ORDER = new HashMap <>() {//NOPMD
90
+ private static final Map <String , Integer > HTTP_METHODS_SORT_ORDER = new HashMap <>() {
89
91
{
90
92
put ("GET" , 1 );
91
93
put ("PUT" , 2 );
You can’t perform that action at this time.
0 commit comments