cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sylv...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/cron/java/org/apache/cocoon/components/cron QuartzJobScheduler.java
Date Thu, 11 Mar 2004 22:05:12 GMT
sylvain     2004/03/11 14:05:12

  Modified:    src/blocks/cron/java/org/apache/cocoon/components/cron
                        QuartzJobScheduler.java
  Log:
  Some code cleanup, as suggested by Joerg's Eclipse ;-)
  
  Revision  Changes    Path
  1.12      +2 -8      cocoon-2.1/src/blocks/cron/java/org/apache/cocoon/components/cron/QuartzJobScheduler.java
  
  Index: QuartzJobScheduler.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/cron/java/org/apache/cocoon/components/cron/QuartzJobScheduler.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- QuartzJobScheduler.java	11 Mar 2004 15:38:31 -0000	1.11
  +++ QuartzJobScheduler.java	11 Mar 2004 22:05:12 -0000	1.12
  @@ -39,7 +39,6 @@
   import org.apache.avalon.framework.service.Serviceable;
   import org.apache.avalon.framework.thread.ThreadSafe;
   import org.apache.cocoon.Constants;
  -import org.apache.cocoon.environment.background.BackgroundEnvironment;
   import org.quartz.CronTrigger;
   import org.quartz.Job;
   import org.quartz.JobDataMap;
  @@ -136,9 +135,6 @@
       /** Should we wait for running jobs to terminate on shutdown ? */
       private boolean m_shutdownGraceful;
   
  -	/** The Cocoon enviroment in which jobs will operate */
  -	private BackgroundEnvironment jobEnvironment;
  -
       /* (non-Javadoc)
        * @see org.apache.cocoon.components.cron.JobScheduler#getJobNames()
        */
  @@ -315,8 +311,6 @@
   		} catch (final SchedulerException se) {
   			throw new ConfigurationException("cannot create a quartz scheduler", se);
   		}
  -
  -		this.jobEnvironment = new BackgroundEnvironment(getLogger(), this.environmentContext,
this.manager);
   
   		final Configuration[] triggers = this.config.getChild("triggers").getChildren("trigger");
   		createTriggers(triggers);
  
  
  

Mime
View raw message