Skip to content

Commit

Permalink
Remove other dead classes, move a method to its one user
Browse files Browse the repository at this point in the history
  • Loading branch information
niloc132 committed Sep 26, 2024
1 parent f8c266a commit b7a2d67
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 323 deletions.
29 changes: 0 additions & 29 deletions user/src/com/google/gwt/user/tools/ApplicationCreator.java

This file was deleted.

29 changes: 0 additions & 29 deletions user/src/com/google/gwt/user/tools/ProjectCreator.java

This file was deleted.

15 changes: 3 additions & 12 deletions user/src/com/google/gwt/user/tools/WebAppCreator.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import com.google.gwt.dev.util.collect.HashSet;
import com.google.gwt.user.tools.util.ArgHandlerIgnore;
import com.google.gwt.user.tools.util.ArgHandlerOverwrite;
import com.google.gwt.user.tools.util.CreatorUtilities;
import com.google.gwt.util.tools.ArgHandlerExtra;
import com.google.gwt.util.tools.ArgHandlerFlag;
import com.google.gwt.util.tools.ArgHandlerOutDir;
Expand Down Expand Up @@ -180,7 +179,7 @@ public boolean addExtraArg(String arg) {
return false;
}

if (!CreatorUtilities.isValidModuleName(arg)) {
if (!isValidModuleName(arg)) {
System.err.println("'"
+ arg
+ "' does not appear to be a valid fully-qualified Java class name.");
Expand Down Expand Up @@ -665,16 +664,8 @@ public Map<String, String> getReplacements(String installPath, String theModuleN
return replacements;
}

/**
* Create the sample app.
*
* @throws IOException if any disk write fails
* @throws WebAppCreatorException if any tag expansion of template processing fails
* @deprecated as of GWT 2.1, replaced by {@link #doRun(String)}
*/
@Deprecated
protected void doRun() throws IOException, WebAppCreatorException {
doRun(Utility.getInstallPath());
private static boolean isValidModuleName(String moduleName) {
return moduleName.matches("[\\w]+(\\.[\\w]+)+");
}

/**
Expand Down

This file was deleted.

194 changes: 0 additions & 194 deletions user/src/com/google/gwt/user/tools/util/CreatorUtilities.java

This file was deleted.

0 comments on commit b7a2d67

Please sign in to comment.