You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by cz...@apache.org on 2004/04/02 10:08:03 UTC

cvs commit: cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl ModuleSource.java XModuleSource.java DelayRefresher.java

cziegeler    2004/04/02 00:08:03

  Modified:    src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl
                        ModuleSource.java XModuleSource.java
                        DelayRefresher.java
  Log:
  Clean up code
  
  Revision  Changes    Path
  1.4       +1 -1      cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl/ModuleSource.java
  
  Index: ModuleSource.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl/ModuleSource.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ModuleSource.java	5 Mar 2004 10:07:25 -0000	1.3
  +++ ModuleSource.java	2 Apr 2004 08:08:03 -0000	1.4
  @@ -70,7 +70,7 @@
        */
       public ModuleSource( Map objectModel, String uri,
                            ServiceManager manager, Logger logger )
  -        throws MalformedURLException, SourceException {
  +        throws MalformedURLException {
   
           this.objectModel = objectModel;
           this.manager = manager;
  
  
  
  1.3       +1 -1      cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl/XModuleSource.java
  
  Index: XModuleSource.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl/XModuleSource.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XModuleSource.java	5 Mar 2004 10:07:25 -0000	1.2
  +++ XModuleSource.java	2 Apr 2004 08:08:03 -0000	1.3
  @@ -88,7 +88,7 @@
        */
       public XModuleSource( Map objectModel, String uri,
                             ServiceManager manager, Logger logger )
  -        throws MalformedURLException, SourceException {
  +        throws MalformedURLException {
   
           this.objectModel = objectModel;
           this.manager = manager;
  
  
  
  1.4       +3 -4      cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl/DelayRefresher.java
  
  Index: DelayRefresher.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl/DelayRefresher.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DelayRefresher.java	23 Mar 2004 20:06:41 -0000	1.3
  +++ DelayRefresher.java	2 Apr 2004 08:08:03 -0000	1.4
  @@ -130,7 +130,7 @@
               this.setupRefreshJobSource(parameters);
               final Configuration conf = this.readRefreshJobConfiguration();
               this.setupRefreshJobs(conf);
  -            this.registerSelfWithScheduler(parameters, writeInterval);
  +            this.registerSelfWithScheduler(writeInterval);
           }
           else {
           	if (getLogger().isInfoEnabled()) {
  @@ -224,10 +224,9 @@
       }
       
       /**
  -	 * @param parameters
   	 * @param writeInterval
   	 */
  -	private void registerSelfWithScheduler(Parameters parameters, int writeInterval) {
  +	private void registerSelfWithScheduler(int writeInterval) {
   		try {
   		    this.scheduler.addPeriodicJob(this.getClass().getName(), 
   		                                  this,