File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/com/magento/idea/magento2plugin/stubs/indexes/xml Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 20
20
import com .intellij .util .xml .impl .DomApplicationComponent ;
21
21
import com .magento .idea .magento2plugin .magento .files .ModuleMenuXml ;
22
22
import com .magento .idea .magento2plugin .project .Settings ;
23
+ import gnu .trove .THashMap ;
23
24
import java .util .Map ;
24
- import java .util .concurrent .ConcurrentHashMap ;
25
25
import org .jetbrains .annotations .NotNull ;
26
26
import org .jetbrains .annotations .Nullable ;
27
27
@@ -34,7 +34,7 @@ public class MenuIndex extends ScalarIndexExtension<String> {
34
34
@ Override
35
35
public DataIndexer <String , Void , FileContent > getIndexer () {
36
36
return inputData -> {
37
- final ConcurrentHashMap <String , Void > map = new ConcurrentHashMap <>();
37
+ final Map <String , Void > map = new THashMap <>();//NOPMD
38
38
final PsiFile psiFile = inputData .getPsiFile ();
39
39
if (!Settings .isEnabled (psiFile .getProject ())) {
40
40
return map ;
You can’t perform that action at this time.
0 commit comments