geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r486567 - /geronimo/server/trunk/modules/geronimo-jetty6-builder/src/main/java/org/apache/geronimo/jetty6/deployment/JettyModuleBuilder.java
Date Wed, 13 Dec 2006 09:48:41 GMT
Author: djencks
Date: Wed Dec 13 01:48:41 2006
New Revision: 486567

URL: http://svn.apache.org/viewvc?view=rev&rev=486567
Log:
GERONIMO-2656 trim servlet-mapping url-patterns

Modified:
    geronimo/server/trunk/modules/geronimo-jetty6-builder/src/main/java/org/apache/geronimo/jetty6/deployment/JettyModuleBuilder.java

Modified: geronimo/server/trunk/modules/geronimo-jetty6-builder/src/main/java/org/apache/geronimo/jetty6/deployment/JettyModuleBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-jetty6-builder/src/main/java/org/apache/geronimo/jetty6/deployment/JettyModuleBuilder.java?view=diff&rev=486567&r1=486566&r2=486567
==============================================================================
--- geronimo/server/trunk/modules/geronimo-jetty6-builder/src/main/java/org/apache/geronimo/jetty6/deployment/JettyModuleBuilder.java
(original)
+++ geronimo/server/trunk/modules/geronimo-jetty6-builder/src/main/java/org/apache/geronimo/jetty6/deployment/JettyModuleBuilder.java
Wed Dec 13 01:48:41 2006
@@ -700,7 +700,7 @@
             }
             UrlPatternType[] urlPatterns = servletMappingType.getUrlPatternArray();
             for (int j = 0; j < urlPatterns.length; j++) {
-                String urlPattern = urlPatterns[j].getStringValue();
+                String urlPattern = urlPatterns[j].getStringValue().trim();
                 if (!knownServletMappings.contains(urlPattern)) {
                     knownServletMappings.add(urlPattern);
                     checkString(urlPattern);



Mime
View raw message