sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-resourcemerger] 11/31: SLING-4247 : clean up code and add missing break
Date Tue, 07 Nov 2017 09:59:52 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.resourcemerger-1.2.10
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-resourcemerger.git

commit 65864b67094225d1e95aedb78dae0b90295235f2
Author: Carsten Ziegeler <cziegeler@apache.org>
AuthorDate: Mon Jan 26 14:40:00 2015 +0000

    SLING-4247 : clean up code and add missing break
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/resourcemerger@1654818
13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/resourcemerger/impl/MergedResource.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/sling/resourcemerger/impl/MergedResource.java b/src/main/java/org/apache/sling/resourcemerger/impl/MergedResource.java
index 118f44e..73d6ca1 100644
--- a/src/main/java/org/apache/sling/resourcemerger/impl/MergedResource.java
+++ b/src/main/java/org/apache/sling/resourcemerger/impl/MergedResource.java
@@ -71,6 +71,7 @@ public class MergedResource extends AbstractResource {
                 final String value = rsrc.getResourceType();
                 if ( value != null ) {
                     rt = value;
+                    break;
                 }
             }
         }

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Mime
View raw message