mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user