incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1499688 - /sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java
Date Thu, 04 Jul 2013 08:54:43 GMT
Author: cziegeler
Date: Thu Jul  4 08:54:43 2013
New Revision: 1499688

URL: http://svn.apache.org/r1499688
Log:
SLING-2931 :   Wasted work in SlingServletResolver.activate()  . Apply patch from Adrian Nistor

Modified:
    sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java

Modified: sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java?rev=1499688&r1=1499687&r2=1499688&view=diff
==============================================================================
--- sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java
(original)
+++ sling/trunk/bundles/servlets/resolver/src/main/java/org/apache/sling/servlets/resolver/internal/SlingServletResolver.java
Thu Jul  4 08:54:43 2013
@@ -871,6 +871,7 @@ public class SlingServletResolver
                     final String path = this.executionPaths[i];
                     if ( path == null || path.length() == 0 || path.equals("/") ) {
                         hasRoot = true;
+                        break;
                     }
                 }
                 if ( hasRoot ) {



Mime
View raw message