prefer to use allSettings where we actually need to use settings or don't need configuration at all

add hasSettings (later we can optimize it to avoid linear search)
no need in the myUnloadedElements since for unknown element UnknownRunConfiguration will be created
This commit is contained in:
Vladimir Krivosheev
2017-04-11 18:41:05 +02:00
parent 0c867b619b
commit 7fad69fc05
17 changed files with 45 additions and 136 deletions
@@ -512,7 +512,7 @@ public abstract class DebuggerTestCase extends ExecutionWithDebuggerToolsTestCas
@Override
public ConfigurationFactory getFactory() {
return null;
return UnknownConfigurationType.FACTORY;
}
@Override
@@ -529,12 +529,6 @@ public abstract class DebuggerTestCase extends ExecutionWithDebuggerToolsTestCas
return null;
}
@Override
@NotNull
public ConfigurationType getType() {
return UnknownConfigurationType.INSTANCE;
}
@Override
public RunConfiguration clone() {
return null;