tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1292338 - /tomcat/trunk/java/org/apache/catalina/loader/VirtualWebappLoader.java
Date Wed, 22 Feb 2012 15:10:07 GMT
Author: kkolinko
Date: Wed Feb 22 15:10:06 2012
New Revision: 1292338

URL: http://svn.apache.org/viewvc?rev=1292338&view=rev
Log:
Explicitly ignore empty tokens in the value of VirtualWebappLoader#virtualClasspath

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

Modified: tomcat/trunk/java/org/apache/catalina/loader/VirtualWebappLoader.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/loader/VirtualWebappLoader.java?rev=1292338&r1=1292337&r2=1292338&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/loader/VirtualWebappLoader.java (original)
+++ tomcat/trunk/java/org/apache/catalina/loader/VirtualWebappLoader.java Wed Feb 22 15:10:06
2012
@@ -118,6 +118,10 @@ public class VirtualWebappLoader extends
         while (tkn.hasMoreTokens()) {
             String token = tkn.nextToken().trim();
 
+            if (token.isEmpty()) {
+                continue;
+            }
+
             if (log.isDebugEnabled())
                 log.debug(sm.getString("virtualWebappLoader.token", token));
 



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


Mime
View raw message