incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r793582 - /sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java
Date Mon, 13 Jul 2009 13:31:33 GMT
Author: cziegeler
Date: Mon Jul 13 13:31:32 2009
New Revision: 793582

URL: http://svn.apache.org/viewvc?rev=793582&view=rev
Log:
Correct removeJob method.

Modified:
    sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java

Modified: sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java?rev=793582&r1=793581&r2=793582&view=diff
==============================================================================
--- sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java
(original)
+++ sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java
Mon Jul 13 13:31:32 2009
@@ -362,7 +362,7 @@
         final org.quartz.Scheduler s = this.scheduler;
         if ( s != null ) {
             try {
-                this.scheduler.deleteJob(name, DEFAULT_QUARTZ_JOB_GROUP);
+                s.deleteJob(name, DEFAULT_QUARTZ_JOB_GROUP);
                 this.logger.debug("Unscheduling job with name {}", name);
             } catch (final SchedulerException se) {
                 throw new NoSuchElementException(se.getMessage());



Mime
View raw message