You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:59:52 UTC

[sling-org-apache-sling-resourcemerger] 11/31: SLING-4247 : clean up code and add missing break

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 <cz...@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" <co...@sling.apache.org>.