diff --git a/dev/core/src/com/google/gwt/dev/DevMode.java b/dev/core/src/com/google/gwt/dev/DevMode.java index 8c0d7a46d6..312f3eb9f4 100644 --- a/dev/core/src/com/google/gwt/dev/DevMode.java +++ b/dev/core/src/com/google/gwt/dev/DevMode.java @@ -33,7 +33,6 @@ import com.google.gwt.dev.util.InstalledHelpInfo; import com.google.gwt.dev.util.Util; import com.google.gwt.dev.util.arg.ArgHandlerDeployDir; -import com.google.gwt.dev.util.arg.ArgHandlerDeprecatedDisableUpdateCheck; import com.google.gwt.dev.util.arg.ArgHandlerExtraDir; import com.google.gwt.dev.util.arg.ArgHandlerFilterJsInteropExports; import com.google.gwt.dev.util.arg.ArgHandlerGenerateJsInteropExports; @@ -246,7 +245,6 @@ public ArgProcessor(HostedModeOptions options) { registerHandler(new ArgHandlerExtraDir(options)); registerHandler(new ArgHandlerModulePathPrefix(options)); registerHandler(new ArgHandlerWorkDirOptional(options)); - registerHandler(new ArgHandlerDeprecatedDisableUpdateCheck()); registerHandler(new ArgHandlerMethodNameDisplayMode(options)); registerHandler(new ArgHandlerSourceLevel(options)); registerHandler(new ArgHandlerGenerateJsInteropExports(options)); diff --git a/dev/core/src/com/google/gwt/dev/PrecompileTaskArgProcessor.java b/dev/core/src/com/google/gwt/dev/PrecompileTaskArgProcessor.java index d262be9c51..6ad42338ba 100644 --- a/dev/core/src/com/google/gwt/dev/PrecompileTaskArgProcessor.java +++ b/dev/core/src/com/google/gwt/dev/PrecompileTaskArgProcessor.java @@ -19,7 +19,6 @@ import com.google.gwt.dev.util.arg.ArgHandlerClosureFormattedOutput; import com.google.gwt.dev.util.arg.ArgHandlerCompileReport; import com.google.gwt.dev.util.arg.ArgHandlerCompilerMetrics; -import com.google.gwt.dev.util.arg.ArgHandlerDeprecatedDisableUpdateCheck; import com.google.gwt.dev.util.arg.ArgHandlerDeprecatedOptimizeDataflow; import com.google.gwt.dev.util.arg.ArgHandlerDisableCastChecking; import com.google.gwt.dev.util.arg.ArgHandlerDisableClassMetadata; @@ -38,13 +37,10 @@ import com.google.gwt.dev.util.arg.ArgHandlerFragmentMerge; import com.google.gwt.dev.util.arg.ArgHandlerGenDir; import com.google.gwt.dev.util.arg.ArgHandlerGenerateJsInteropExports; -import com.google.gwt.dev.util.arg.ArgHandlerIncrementalCompileWarnings; import com.google.gwt.dev.util.arg.ArgHandlerJsonSoyc; import com.google.gwt.dev.util.arg.ArgHandlerMethodNameDisplayMode; -import com.google.gwt.dev.util.arg.ArgHandlerMissingDepsFile; import com.google.gwt.dev.util.arg.ArgHandlerNamespace; import com.google.gwt.dev.util.arg.ArgHandlerOptimize; -import com.google.gwt.dev.util.arg.ArgHandlerOverlappingSourceWarnings; import com.google.gwt.dev.util.arg.ArgHandlerSaveSource; import com.google.gwt.dev.util.arg.ArgHandlerScriptStyle; import com.google.gwt.dev.util.arg.ArgHandlerSetProperties; @@ -52,7 +48,6 @@ import com.google.gwt.dev.util.arg.ArgHandlerSoyc; import com.google.gwt.dev.util.arg.ArgHandlerSoycDetailed; import com.google.gwt.dev.util.arg.ArgHandlerStrict; -import com.google.gwt.dev.util.arg.ArgHandlerStrictResources; import com.google.gwt.dev.util.arg.ArgHandlerValidateOnlyFlag; class PrecompileTaskArgProcessor extends CompileArgProcessor { @@ -71,21 +66,17 @@ public PrecompileTaskArgProcessor(PrecompileTaskOptions options) { registerHandler(new ArgHandlerDisableOrdinalizeEnums(options)); registerHandler(new ArgHandlerDisableRunAsync(options)); registerHandler(new ArgHandlerDisableSoycHtml(options)); - registerHandler(new ArgHandlerDeprecatedDisableUpdateCheck()); registerHandler(new ArgHandlerDraftCompile(options)); registerHandler(new ArgHandlerDumpSignatures()); registerHandler(new ArgHandlerEnableAssertions(options)); registerHandler(new ArgHandlerFragmentCount(options)); registerHandler(new ArgHandlerFragmentMerge(options)); registerHandler(new ArgHandlerGenDir(options)); - registerHandler(new ArgHandlerIncrementalCompileWarnings()); registerHandler(new ArgHandlerGenerateJsInteropExports(options)); registerHandler(new ArgHandlerFilterJsInteropExports(options)); registerHandler(new ArgHandlerMethodNameDisplayMode(options)); - registerHandler(new ArgHandlerMissingDepsFile()); registerHandler(new ArgHandlerNamespace(options)); registerHandler(new ArgHandlerOptimize(options)); - registerHandler(new ArgHandlerOverlappingSourceWarnings()); registerHandler(new ArgHandlerSaveSource(options)); registerHandler(new ArgHandlerSetProperties(options)); registerHandler(new ArgHandlerScriptStyle(options)); @@ -93,7 +84,6 @@ public PrecompileTaskArgProcessor(PrecompileTaskOptions options) { registerHandler(new ArgHandlerSoycDetailed(options)); registerHandler(new ArgHandlerJsonSoyc(options)); registerHandler(new ArgHandlerStrict(options)); - registerHandler(new ArgHandlerStrictResources()); registerHandler(new ArgHandlerValidateOnlyFlag(options)); registerHandler(new ArgHandlerSourceLevel(options)); } diff --git a/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerDeprecatedDisableUpdateCheck.java b/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerDeprecatedDisableUpdateCheck.java deleted file mode 100644 index bb12f791cd..0000000000 --- a/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerDeprecatedDisableUpdateCheck.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2009 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - */ -package com.google.gwt.dev.util.arg; - -import com.google.gwt.util.tools.ArgHandlerFlag; - -/** - * Checks to see if an updated version of GWT is available. - */ -@Deprecated -public final class ArgHandlerDeprecatedDisableUpdateCheck extends ArgHandlerFlag { - - public ArgHandlerDeprecatedDisableUpdateCheck() { - addTagValue("-XdisableUpdateCheck", false); - } - - @Override - public String getPurposeSnippet() { - return "Deprecated flag."; - } - - @Override - public String getLabel() { - return "checkForUpdates"; - } - - @Override - public boolean isUndocumented() { - return true; - } - - @Override - public boolean setFlag(boolean value) { - return true; - } - - @Override - public boolean isExperimental() { - return true; - } - - @Override - public boolean getDefaultValue() { - return true; - } -} diff --git a/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerIncrementalCompileWarnings.java b/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerIncrementalCompileWarnings.java deleted file mode 100644 index 41016c32dc..0000000000 --- a/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerIncrementalCompileWarnings.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright 2014 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -package com.google.gwt.dev.util.arg; - -import com.google.gwt.util.tools.ArgHandlerNoopDeprecatedFlag; - -/** - * Toggles the display of warnings (during monolithic compiles) for issues that will break in - * incremental compiles. - */ -@Deprecated -public final class ArgHandlerIncrementalCompileWarnings extends ArgHandlerNoopDeprecatedFlag { - - public ArgHandlerIncrementalCompileWarnings() { - super(0, "incrementalCompileWarnings"); - } -} diff --git a/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerMissingDepsFile.java b/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerMissingDepsFile.java deleted file mode 100644 index 9da95e328f..0000000000 --- a/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerMissingDepsFile.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2014 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - */ -package com.google.gwt.dev.util.arg; - -import com.google.gwt.util.tools.ArgHandlerNoopDeprecatedFlag; - -/** - * Optionally specifies a file into which detailed missing dependency information will be written. - */ -@Deprecated -public final class ArgHandlerMissingDepsFile extends ArgHandlerNoopDeprecatedFlag { - - public ArgHandlerMissingDepsFile() { - super(1, "missingDepsFile"); - } -} diff --git a/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerOverlappingSourceWarnings.java b/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerOverlappingSourceWarnings.java deleted file mode 100644 index 168d52319d..0000000000 --- a/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerOverlappingSourceWarnings.java +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright 2014 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -package com.google.gwt.dev.util.arg; - -import com.google.gwt.util.tools.ArgHandlerNoopDeprecatedFlag; - -/** - * Toggles the display of overlapping source include warnings (during monolithic compiles). - */ -@Deprecated -public final class ArgHandlerOverlappingSourceWarnings extends ArgHandlerNoopDeprecatedFlag { - - public ArgHandlerOverlappingSourceWarnings() { - super(0, "overlappingSourceWarnings"); - } -} diff --git a/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerStrictResources.java b/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerStrictResources.java deleted file mode 100644 index c6cc34986f..0000000000 --- a/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerStrictResources.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright 2013 Google Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - */ - -package com.google.gwt.dev.util.arg; - -import com.google.gwt.util.tools.ArgHandlerNoopDeprecatedFlag; - -/** - * Generally whether to be strict about resource loading and in particular whether to implicitly add - * "client" and "public" resource dependencies when none are mentioned. - */ -@Deprecated -public class ArgHandlerStrictResources extends ArgHandlerNoopDeprecatedFlag { - - public ArgHandlerStrictResources() { - super("XstrictResources", "enforceStrictResources"); - } -} diff --git a/user/src/com/google/gwt/junit/JUnitShell.java b/user/src/com/google/gwt/junit/JUnitShell.java index 277613cad0..53f67a7cb2 100644 --- a/user/src/com/google/gwt/junit/JUnitShell.java +++ b/user/src/com/google/gwt/junit/JUnitShell.java @@ -38,7 +38,6 @@ import com.google.gwt.dev.shell.jetty.JettyLauncher; import com.google.gwt.dev.util.arg.ArgHandlerClosureFormattedOutput; import com.google.gwt.dev.util.arg.ArgHandlerDeployDir; -import com.google.gwt.dev.util.arg.ArgHandlerDeprecatedDisableUpdateCheck; import com.google.gwt.dev.util.arg.ArgHandlerDeprecatedOptimizeDataflow; import com.google.gwt.dev.util.arg.ArgHandlerDisableCastChecking; import com.google.gwt.dev.util.arg.ArgHandlerDisableClassMetadata; @@ -291,7 +290,6 @@ public int handle(String[] args, int tagIndex) { registerHandler(new ArgHandlerDisableOrdinalizeEnums(options)); registerHandler(new ArgHandlerDisableRemoveDuplicateFunctions(options)); registerHandler(new ArgHandlerDisableRunAsync(options)); - registerHandler(new ArgHandlerDeprecatedDisableUpdateCheck()); registerHandler(new ArgHandlerDraftCompile(options)); registerHandler(new ArgHandlerLocalWorkers(options)); registerHandler(new ArgHandlerNamespace(options));