cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/modules/input SelectMetaInputModule.java
Date Wed, 28 Apr 2004 18:15:58 GMT
haul        2004/04/28 11:15:58

  Modified:    src/java/org/apache/cocoon/components/modules/input
                        SelectMetaInputModule.java
  Log:
  call super's initialize method
  don't obtain defaultInputModule since it is not used anyway
  
  Revision  Changes    Path
  1.3       +9 -2      cocoon-2.1/src/java/org/apache/cocoon/components/modules/input/SelectMetaInputModule.java
  
  Index: SelectMetaInputModule.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/modules/input/SelectMetaInputModule.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SelectMetaInputModule.java	5 Mar 2004 13:02:48 -0000	1.2
  +++ SelectMetaInputModule.java	28 Apr 2004 18:15:58 -0000	1.3
  @@ -56,6 +56,12 @@
       private ModuleHolder otherwise = null;
       private String parameter = null;
   
  +    public SelectMetaInputModule() {
  +    	super();
  +        this.defaultInput = null; // not needed
  +    }
  +    
  +    
       /* (non-Javadoc)
        * @see org.apache.avalon.framework.configuration.Configurable#configure(org.apache.avalon.framework.configuration.Configuration)
        */
  @@ -237,6 +243,8 @@
   
           if (this.initialized) return;
   
  +        super.lazy_initialize();
  +        
           if (this.expression != null) {
               this.expression.input = this.obtainModule(this.expression.name);
           }
  @@ -249,7 +257,6 @@
                   moduleHolder.input = this.obtainModule(moduleHolder.name);
               }
           }
  -        this.initialized = true;
       }
   
   }
  
  
  

Mime
View raw message