tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1174330 - /tomcat/trunk/java/org/apache/catalina/loader/WebappLoader.java
Date Thu, 22 Sep 2011 19:21:19 GMT
Author: markt
Date: Thu Sep 22 19:21:19 2011
New Revision: 1174330

URL: http://svn.apache.org/viewvc?rev=1174330&view=rev
Log:
Remove unnecessary code

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

Modified: tomcat/trunk/java/org/apache/catalina/loader/WebappLoader.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/loader/WebappLoader.java?rev=1174330&r1=1174329&r2=1174330&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/loader/WebappLoader.java (original)
+++ tomcat/trunk/java/org/apache/catalina/loader/WebappLoader.java Thu Sep 22 19:21:19 2011
@@ -1036,7 +1036,6 @@ public class WebappLoader extends Lifecy
 
         // Assemble the class path information from our class loader chain
         ClassLoader loader = getClassLoader();
-        int layers = 0;
         int n = 0;
         while (loader != null) {
             if (!(loader instanceof URLClassLoader)) {
@@ -1073,7 +1072,6 @@ public class WebappLoader extends Lifecy
                 n++;
             }
             loader = loader.getParent();
-            layers++;
         }
 
         this.classpath=classpath.toString();



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


Mime
View raw message