Converted CompilerSettings to Kotlin.
This commit is contained in:
+5
-16
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2010-2013 JetBrains s.r.o.
|
* Copyright 2010-2014 JetBrains s.r.o.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -14,23 +14,12 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.jetbrains.jet.compiler;
|
package org.jetbrains.jet.compiler
|
||||||
|
|
||||||
import org.jetbrains.annotations.NotNull;
|
|
||||||
|
|
||||||
public class CompilerSettings {
|
public class CompilerSettings {
|
||||||
private static final String DEFAULT_ADDITIONAL_ARGUMENTS = "-version";
|
public var additionalArguments: String = DEFAULT_ADDITIONAL_ARGUMENTS
|
||||||
|
|
||||||
@NotNull
|
class object {
|
||||||
private String additionalArguments = DEFAULT_ADDITIONAL_ARGUMENTS;
|
private val DEFAULT_ADDITIONAL_ARGUMENTS = "-version"
|
||||||
|
|
||||||
@NotNull
|
|
||||||
public String getAdditionalArguments() {
|
|
||||||
return additionalArguments;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setAdditionalArguments(@NotNull String additionalArguments) {
|
|
||||||
this.additionalArguments = additionalArguments;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user