IDEA-160935 Could not initialize class com.intellij.codeInsight.template.impl.TemplateContext$ContextInterner in presence of Database Navigator plugin

This commit is contained in:
peter
2016-09-09 10:39:48 +02:00
parent 1a4454caa9
commit 36cc57b236
@@ -38,6 +38,7 @@ public class TemplateContext {
private static class ContextInterner {
private static final Map<String, String> internMap = Arrays.stream(TemplateContextType.EP_NAME.getExtensions())
.map(TemplateContextType::getContextId)
.distinct()
.collect(Collectors.toMap(Function.identity(), Function.identity()));
}