mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
json schema, remove not used code
This commit is contained in:
@@ -168,12 +168,9 @@ public class JsonSchemaMappingsConfigurable extends MasterDetailsComponent imple
|
||||
public void apply() throws ConfigurationException {
|
||||
final List<JsonSchemaMappingsConfigurationBase.SchemaInfo> uiList = getUiList(true);
|
||||
validate(uiList);
|
||||
final Map<String, JsonSchemaMappingsConfigurationBase.SchemaInfo> appMap = new HashMap<String, JsonSchemaMappingsConfigurationBase.SchemaInfo>();
|
||||
final Map<String, JsonSchemaMappingsConfigurationBase.SchemaInfo> projectMap = new HashMap<String, JsonSchemaMappingsConfigurationBase.SchemaInfo>();
|
||||
for (JsonSchemaMappingsConfigurationBase.SchemaInfo info : uiList) {
|
||||
if (info.isApplicationLevel()) {
|
||||
appMap.put(info.getName(), info);
|
||||
} else {
|
||||
if (!info.isApplicationLevel()) {
|
||||
projectMap.put(info.getName(), info);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user