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 {
3737 return null ;
3838 }
3939
40+ @ SuppressWarnings ("PMD.AvoidInstantiatingObjectsInLoops" )
4041 @ Override
4142 public void collectSlowLineMarkers (
4243 final @ NotNull List <? extends PsiElement > psiElements ,
@@ -82,10 +83,11 @@ public void collectSlowLineMarkers(
8283 /**
8384 * Web API config nodes collector for service methods and classes. Has built in caching.
8485 */
86+ @ SuppressWarnings ("PMD.AvoidDoubleBraceInitializationCheck" )
8587 private static class WebApiRoutesCollector {
8688
8789 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 <>() {
8991 {
9092 put ("GET" , 1 );
9193 put ("PUT" , 2 );
You can’t perform that action at this time.
0 commit comments