tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r795739 - /tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java
Date Mon, 20 Jul 2009 10:15:35 GMT
Author: markt
Date: Mon Jul 20 10:15:34 2009
New Revision: 795739

URL: http://svn.apache.org/viewvc?rev=795739&view=rev
Log:
Use an import

Modified:
    tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java

Modified: tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java?rev=795739&r1=795738&r2=795739&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java (original)
+++ tomcat/trunk/java/org/apache/catalina/loader/WebappClassLoader.java Mon Jul 20 10:15:34
2009
@@ -37,6 +37,7 @@
 import java.security.Policy;
 import java.security.PrivilegedAction;
 import java.util.ArrayList;
+import java.util.Collection;
 import java.util.Enumeration;
 import java.util.HashMap;
 import java.util.Iterator;
@@ -1653,7 +1654,7 @@
         // Null out any static or final fields from loaded classes,
         // as a workaround for apparent garbage collection bugs
         if (ENABLE_CLEAR_REFERENCES) {
-            java.util.Collection<ResourceEntry> values =
+            Collection<ResourceEntry> values =
                 ((HashMap<String,ResourceEntry>) resourceEntries.clone()).values();
             Iterator<ResourceEntry> loadedClasses = values.iterator();
             //



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message