incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1040137 - /sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/queues/OrderedJobQueue.java
Date Mon, 29 Nov 2010 15:06:28 GMT
Author: cziegeler
Date: Mon Nov 29 15:06:27 2010
New Revision: 1040137

URL: http://svn.apache.org/viewvc?rev=1040137&view=rev
Log:
SLING-1864 : Queue.resume() has no effect

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

Modified: sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/queues/OrderedJobQueue.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/queues/OrderedJobQueue.java?rev=1040137&r1=1040136&r2=1040137&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/queues/OrderedJobQueue.java
(original)
+++ sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/queues/OrderedJobQueue.java
Mon Nov 29 15:06:27 2010
@@ -85,7 +85,7 @@ public final class OrderedJobQueue exten
 
     @Override
     public void resume() {
-        if ( this.isSleepingUntil == -1 ) {
+        if ( this.isSleepingUntil != -1 ) {
             final Thread thread = this.sleepingThread;
             if ( thread != null ) {
                 thread.interrupt();



Mime
View raw message