Removes the -XshardPrecompile option. Review at http://gwt-code-reviews.appspot.com/614801 Review by: scottb@google.com git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@8279 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/dev/Precompile.java b/dev/core/src/com/google/gwt/dev/Precompile.java index b1b420c..02a49e8 100644 --- a/dev/core/src/com/google/gwt/dev/Precompile.java +++ b/dev/core/src/com/google/gwt/dev/Precompile.java
@@ -59,7 +59,6 @@ import com.google.gwt.dev.util.arg.ArgHandlerGenDir; import com.google.gwt.dev.util.arg.ArgHandlerMaxPermsPerPrecompile; import com.google.gwt.dev.util.arg.ArgHandlerScriptStyle; -import com.google.gwt.dev.util.arg.ArgHandlerShardPrecompile; import com.google.gwt.dev.util.arg.ArgHandlerSoyc; import com.google.gwt.dev.util.arg.ArgHandlerSoycDetailed; import com.google.gwt.dev.util.arg.ArgHandlerValidateOnlyFlag; @@ -107,7 +106,6 @@ registerHandler(new ArgHandlerGenDir(options)); registerHandler(new ArgHandlerScriptStyle(options)); registerHandler(new ArgHandlerEnableAssertions(options)); - registerHandler(new ArgHandlerShardPrecompile()); registerHandler(new ArgHandlerDisableGeneratingOnShards(options)); registerHandler(new ArgHandlerDisableAggressiveOptimization(options)); registerHandler(new ArgHandlerDisableClassMetadata(options));
diff --git a/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerShardPrecompile.java b/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerShardPrecompile.java deleted file mode 100644 index 98bc731..0000000 --- a/dev/core/src/com/google/gwt/dev/util/arg/ArgHandlerShardPrecompile.java +++ /dev/null
@@ -1,43 +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; - -/** - * No effect. Only present for backwards compatibility. - */ -public class ArgHandlerShardPrecompile extends ArgHandlerFlag { - @Override - public String getPurpose() { - return "No effect. Only present for backwards compatibility."; - } - - @Override - public String getTag() { - return "-XshardPrecompile"; - } - - @Override - public boolean isUndocumented() { - return true; - } - - @Override - public boolean setFlag() { - return true; - } -}