incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r601326 - in /incubator/sling/trunk/sling/scheduler/src/main/java/org/apache/sling/scheduler: JobContext.java impl/QuartzJobExecutor.java impl/QuartzScheduler.java
Date Wed, 05 Dec 2007 13:08:54 GMT
Author: cziegeler
Date: Wed Dec  5 05:08:53 2007
New Revision: 601326

URL: http://svn.apache.org/viewvc?rev=601326&view=rev
Log:
Fix javadocs and ignore warning for type cast.

Modified:
    incubator/sling/trunk/sling/scheduler/src/main/java/org/apache/sling/scheduler/JobContext.java
    incubator/sling/trunk/sling/scheduler/src/main/java/org/apache/sling/scheduler/impl/QuartzJobExecutor.java
    incubator/sling/trunk/sling/scheduler/src/main/java/org/apache/sling/scheduler/impl/QuartzScheduler.java

Modified: incubator/sling/trunk/sling/scheduler/src/main/java/org/apache/sling/scheduler/JobContext.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/scheduler/src/main/java/org/apache/sling/scheduler/JobContext.java?rev=601326&r1=601325&r2=601326&view=diff
==============================================================================
--- incubator/sling/trunk/sling/scheduler/src/main/java/org/apache/sling/scheduler/JobContext.java
(original)
+++ incubator/sling/trunk/sling/scheduler/src/main/java/org/apache/sling/scheduler/JobContext.java
Wed Dec  5 05:08:53 2007
@@ -25,7 +25,7 @@
 
     /**
      * Get the name of the scheduled job.
-     * @return
+     * @return The name of the job.
      */
     String getName();
 
@@ -33,7 +33,7 @@
 
     /**
      * Get the service locator.
-     * @return
+     * @return The service locator.
      */
     ServiceLocator getServiceLocator();
 }

Modified: incubator/sling/trunk/sling/scheduler/src/main/java/org/apache/sling/scheduler/impl/QuartzJobExecutor.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/scheduler/src/main/java/org/apache/sling/scheduler/impl/QuartzJobExecutor.java?rev=601326&r1=601325&r2=601326&view=diff
==============================================================================
--- incubator/sling/trunk/sling/scheduler/src/main/java/org/apache/sling/scheduler/impl/QuartzJobExecutor.java
(original)
+++ incubator/sling/trunk/sling/scheduler/src/main/java/org/apache/sling/scheduler/impl/QuartzJobExecutor.java
Wed Dec  5 05:08:53 2007
@@ -62,6 +62,7 @@
                 final BundleContext bundleContext = (BundleContext)data.get(QuartzScheduler.DATA_MAP_BUNDLE_CONTEXT);
                 final ServiceLocatorImpl serviceLocator = new ServiceLocatorImpl(bundleContext);
 
+                @SuppressWarnings("unchecked")
                 final Map<String, Serializable> configuration = (Map<String, Serializable>)
data.get(QuartzScheduler.DATA_MAP_CONFIGURATION);
                 final String name = (String) data.get(QuartzScheduler.DATA_MAP_NAME);
 

Modified: incubator/sling/trunk/sling/scheduler/src/main/java/org/apache/sling/scheduler/impl/QuartzScheduler.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/scheduler/src/main/java/org/apache/sling/scheduler/impl/QuartzScheduler.java?rev=601326&r1=601325&r2=601326&view=diff
==============================================================================
--- incubator/sling/trunk/sling/scheduler/src/main/java/org/apache/sling/scheduler/impl/QuartzScheduler.java
(original)
+++ incubator/sling/trunk/sling/scheduler/src/main/java/org/apache/sling/scheduler/impl/QuartzScheduler.java
Wed Dec  5 05:08:53 2007
@@ -226,7 +226,7 @@
     }
 
     /**
-     * @see org.apache.sling.core.scheduler.Scheduler#addJob(java.lang.String, java.lang.Object,
java.util.Map, java.lang.String, boolean)
+     * @see org.apache.sling.scheduler.Scheduler#addJob(java.lang.String, java.lang.Object,
java.util.Map, java.lang.String, boolean)
      */
     public void addJob(String name,
                        Object job,
@@ -245,7 +245,7 @@
     }
 
     /**
-     * @see org.apache.sling.core.scheduler.Scheduler#addPeriodicJob(java.lang.String, java.lang.Object,
java.util.Map, long, boolean)
+     * @see org.apache.sling.scheduler.Scheduler#addPeriodicJob(java.lang.String, java.lang.Object,
java.util.Map, long, boolean)
      */
     public void addPeriodicJob(String name, Object job, Map<String, Serializable> config,
long period, boolean canRunConcurrently)
     throws Exception {
@@ -261,7 +261,7 @@
     }
 
     /**
-     * @see org.apache.sling.core.scheduler.Scheduler#fireJob(java.lang.Object, java.util.Map)
+     * @see org.apache.sling.scheduler.Scheduler#fireJob(java.lang.Object, java.util.Map)
      */
     public void fireJob(Object job, Map<String, Serializable> config)
     throws Exception {
@@ -276,7 +276,7 @@
     }
 
     /**
-     * @see org.apache.sling.core.scheduler.Scheduler#fireJobAt(java.lang.String, java.lang.Object,
java.util.Map, java.util.Date)
+     * @see org.apache.sling.scheduler.Scheduler#fireJobAt(java.lang.String, java.lang.Object,
java.util.Map, java.util.Date)
      */
     public void fireJobAt(String name, Object job, Map<String, Serializable> config,
Date date) throws Exception {
         if ( name == null ) {
@@ -287,7 +287,7 @@
     }
 
     /**
-     * @see org.apache.sling.core.scheduler.Scheduler#removeJob(java.lang.String)
+     * @see org.apache.sling.scheduler.Scheduler#removeJob(java.lang.String)
      */
     public void removeJob(String name) throws NoSuchElementException {
         try {



Mime
View raw message