From 6987b46c476362ada66a92b4862a9426e3d033a3 Mon Sep 17 00:00:00 2001 From: irengrig Date: Thu, 18 Feb 2016 21:30:00 +0100 Subject: [PATCH] json schema, remove not used code --- .../jetbrains/jsonSchema/JsonSchemaMappingsConfigurable.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/json/src/com/jetbrains/jsonSchema/JsonSchemaMappingsConfigurable.java b/json/src/com/jetbrains/jsonSchema/JsonSchemaMappingsConfigurable.java index 8380614c7500..b7141767dad8 100644 --- a/json/src/com/jetbrains/jsonSchema/JsonSchemaMappingsConfigurable.java +++ b/json/src/com/jetbrains/jsonSchema/JsonSchemaMappingsConfigurable.java @@ -168,12 +168,9 @@ public class JsonSchemaMappingsConfigurable extends MasterDetailsComponent imple public void apply() throws ConfigurationException { final List uiList = getUiList(true); validate(uiList); - final Map appMap = new HashMap(); final Map projectMap = new HashMap(); for (JsonSchemaMappingsConfigurationBase.SchemaInfo info : uiList) { - if (info.isApplicationLevel()) { - appMap.put(info.getName(), info); - } else { + if (!info.isApplicationLevel()) { projectMap.put(info.getName(), info); } }