sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1744360 - /sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/scheduling/JobSchedulerImpl.java
Date Wed, 18 May 2016 08:30:24 GMT
Author: cziegeler
Date: Wed May 18 08:30:24 2016
New Revision: 1744360

URL: http://svn.apache.org/viewvc?rev=1744360&view=rev
Log:
SLING-5666 : Unscheduling a job should remove corresponding node

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

Modified: sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/scheduling/JobSchedulerImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/scheduling/JobSchedulerImpl.java?rev=1744360&r1=1744359&r2=1744360&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/scheduling/JobSchedulerImpl.java
(original)
+++ sling/trunk/bundles/extensions/event/src/main/java/org/apache/sling/event/impl/jobs/scheduling/JobSchedulerImpl.java
Wed May 18 08:30:24 2016
@@ -205,6 +205,7 @@ public class JobSchedulerImpl
      * Remove a scheduled job
      */
     public void removeJob(final ScheduledJobInfoImpl info) {
+        this.unscheduleJob(info);
         this.scheduledJobHandler.remove(info);
     }
 



Mime
View raw message