incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r792830 - /sling/trunk/bundles/commons/scheduler/src/main/java/org/apache/sling/commons/scheduler/impl/QuartzScheduler.java
Date Fri, 10 Jul 2009 08:30:36 GMT
Author: cziegeler
Date: Fri Jul 10 08:30:35 2009
New Revision: 792830

URL: http://svn.apache.org/viewvc?rev=792830&view=rev
Log:
SLING-1040 : Better make scheduler volatile.

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=792830&r1=792829&r2=792830&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
Fri Jul 10 08:30:35 2009
@@ -83,7 +83,7 @@
     static final String DATA_MAP_CONCURRENT_HANDLER = "QuartzJobExecutor.ConcurrentHandler";
 
     /** Theq quartz scheduler. */
-    protected org.quartz.Scheduler scheduler;
+    protected volatile org.quartz.Scheduler scheduler;
 
     /** List of registrations while this service is not activated yet. */
     protected final List<Registration> registeredJobs = new ArrayList<Registration>();



Mime
View raw message