incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1499690 - /sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/cluster/ClusterViewServiceImpl.java
Date Thu, 04 Jul 2013 08:59:33 GMT
Author: cziegeler
Date: Thu Jul  4 08:59:33 2013
New Revision: 1499690

URL: http://svn.apache.org/r1499690
Log:
SLING-2930 :  Wasted work in ClusterViewServiceImpl.getClusterView()   . Apply patch from
Adrian Nistor

Modified:
    sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/cluster/ClusterViewServiceImpl.java

Modified: sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/cluster/ClusterViewServiceImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/cluster/ClusterViewServiceImpl.java?rev=1499690&r1=1499689&r2=1499690&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/cluster/ClusterViewServiceImpl.java
(original)
+++ sling/trunk/bundles/extensions/discovery/impl/src/main/java/org/apache/sling/discovery/impl/cluster/ClusterViewServiceImpl.java
Thu Jul  4 08:59:33 2013
@@ -146,6 +146,7 @@ public class ClusterViewServiceImpl impl
                 InstanceDescription instance = it.next();
                 if (instance.isLocal()) {
                     foundLocal = true;
+                    break;
                 }
             }
             if (foundLocal) {



Mime
View raw message