Loading...

dev@tomcat.apache.org

[Prev] Thread [Next]  |  [Prev] Date [Next]

svn commit: r1292338 - /tomcat/trunk/java/org/apache/catalina/loader/VirtualWebappLoader.java kkolinko Wed Feb 22 08:00:05 2012

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]