incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1479860 - /sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/TopologyCapabilities.java
Date Tue, 07 May 2013 11:18:15 GMT
Author: cziegeler
Date: Tue May  7 11:18:15 2013
New Revision: 1479860

URL: http://svn.apache.org/r1479860
Log:
SLING-2829 : Fix checking of local topic list

Modified:
    sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/TopologyCapabilities.java

Modified: sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/TopologyCapabilities.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/TopologyCapabilities.java?rev=1479860&r1=1479859&r2=1479860&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/TopologyCapabilities.java
(original)
+++ sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/TopologyCapabilities.java
Tue May  7 11:18:15 2013
@@ -227,7 +227,7 @@ public class TopologyCapabilities {
                         }
                     }
                 }
-                if ( localTargets != null ) {
+                if ( localTargets.size() > 0 ) {
                     potentialTargets.clear();
                     potentialTargets.addAll(localTargets);
                     logger.debug("Potential targets filtered for {} : {}", jobTopic, potentialTargets);



Mime
View raw message