Converted CompilerSettings to Kotlin.

This commit is contained in:
Evgeny Gerashchenko
2014-10-07 19:53:20 +04:00
parent c7e0e3d391
commit e554c9f53d
@@ -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;
}
} }