CLI: drop CompilerArguments and unnecessary methods from *CompilerArguments classes

Original commit: 31a4d91122
This commit is contained in:
Zalim Bashorov
2013-10-15 17:56:06 +04:00
parent 06549c6413
commit 4e5b04ce1f
2 changed files with 2 additions and 2 deletions
@@ -29,7 +29,7 @@ public class JpsKotlinCompilerSettings extends JpsElementBase<JpsKotlinCompilerS
static final JpsElementChildRole<JpsKotlinCompilerSettings> ROLE = JpsElementChildRoleBase.create("Kotlin Compiler Settings");
@NotNull
public CommonCompilerArguments commonCompilerSettings = CommonCompilerArguments.DUMMY;
public CommonCompilerArguments commonCompilerSettings = new CommonCompilerArguments.DummyImpl();
@NotNull
public K2JVMCompilerArguments k2JvmCompilerSettings = new K2JVMCompilerArguments();
@NotNull
@@ -36,7 +36,7 @@ class KotlinCommonCompilerSettingsSerializer extends JpsProjectExtensionSerializ
public void loadExtension(@NotNull JpsProject project, @NotNull Element componentTag) {
CommonCompilerArguments settings = XmlSerializer.deserialize(componentTag, CommonCompilerArguments.DummyImpl.class);
if (settings == null) {
settings = CommonCompilerArguments.DUMMY;
settings = new CommonCompilerArguments.DummyImpl();
}
JpsKotlinCompilerSettings.setCommonSettings(project, settings);