Upgrade the default ant language_in/language_out to the stable defaults
Since these will automatically update to the new versions as they become
stable, we don't need to maintain a way to explicitly set the language_in
value.
@@ -105,8 +105,8 @@ public final class CompileTask
private boolean strictModeInput;
public CompileTask() {
- this.languageIn = CompilerOptions.LanguageMode.ECMASCRIPT_2015;
- this.languageOut = CompilerOptions.LanguageMode.ECMASCRIPT3;
+ this.languageIn = CompilerOptions.LanguageMode.STABLE_IN;
+ this.languageOut = CompilerOptions.LanguageMode.STABLE_OUT;
this.warningLevel = WarningLevel.DEFAULT;
this.debugOptions = false;
this.compilationLevel = CompilationLevel.SIMPLE_OPTIMIZATIONS;
@@ -138,15 +138,6 @@ public final class CompileTask
return language;
}
- /**
- * Set the language to which input sources conform.
- * @param value The name of the language.
- * (ECMASCRIPT3, ECMASCRIPT5, ECMASCRIPT5_STRICT).
- */
- public void setLanguageIn(String value) {
- this.languageIn = parseLanguageMode(value);
- }
-
/**
* Set the language to which output sources conform.
* @param value The name of the language.
