Log:
Removed dead field, classToClassInfo, and associated code from CompilingClassLoader.
Review by: scottb (Desk check)
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@684 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/dev/shell/CompilingClassLoader.java b/dev/core/src/com/google/gwt/dev/shell/CompilingClassLoader.java
index 454b759..a403cd5 100644
--- a/dev/core/src/com/google/gwt/dev/shell/CompilingClassLoader.java
+++ b/dev/core/src/com/google/gwt/dev/shell/CompilingClassLoader.java
@@ -55,17 +55,9 @@
private final Map classNameToClassInfo = new HashMap();
/**
- * Class to ClassInfo map - this is only necessary to make sure that we have
- * only only {@link DispatchClassInfo} for all of the different permutations
- * of binary and source name combinations.
- */
- private final Map classToClassInfo = new HashMap();
-
- /**
* Clears out the contents of this oracle.
*/
public synchronized void clear() {
- classToClassInfo.clear();
classIdToClassInfo.clear();
classNameToClassInfo.clear();
}
@@ -213,8 +205,7 @@
return null;
}
- dispClassInfo = (DispatchClassInfo) classToClassInfo.get(cls);
- if (dispClassInfo == null) {
+ if (dispClassInfo == null) {
/*
* we need to create a new DispatchClassInfo since we have never seen
* this class before under any source or binary class name