incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1500655 - /sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/queues/TopicRoundRobinJobQueue.java
Date Mon, 08 Jul 2013 11:13:57 GMT
Author: cziegeler
Date: Mon Jul  8 11:13:56 2013
New Revision: 1500655

URL: http://svn.apache.org/r1500655
Log:
SLING-2946 : IOOBE in TopicRoundRobinJobQueue. Apply patch from Timothee Maret

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

Modified: sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/queues/TopicRoundRobinJobQueue.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/queues/TopicRoundRobinJobQueue.java?rev=1500655&r1=1500654&r2=1500655&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/queues/TopicRoundRobinJobQueue.java
(original)
+++ sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/queues/TopicRoundRobinJobQueue.java
Mon Jul  8 11:13:56 2013
@@ -136,6 +136,7 @@ public final class TopicRoundRobinJobQue
             this.eventCount = 0;
             this.topics.clear();
             this.topicMap.clear();
+            this.topicIndex = 0;
         }
         super.clear();
     }
@@ -150,6 +151,7 @@ public final class TopicRoundRobinJobQue
             this.eventCount = 0;
             this.topics.clear();
             this.topicMap.clear();
+            this.topicIndex = 0;
         }
         return events;
     }



Mime
View raw message