cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/modules/input DefaultsModule.java
Date Sun, 22 Feb 2004 18:13:45 GMT
cziegeler    2004/02/22 10:13:45

  Modified:    src/java/org/apache/cocoon/components/modules/input
                        DefaultsModule.java
  Log:
  Apply patch by Alfred.Nathaniel for allow empty values in defaults input module (bug 25093)
  
  Revision  Changes    Path
  1.4       +2 -2      cocoon-2.1/src/java/org/apache/cocoon/components/modules/input/DefaultsModule.java
  
  Index: DefaultsModule.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/modules/input/DefaultsModule.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- DefaultsModule.java	15 Feb 2004 21:30:00 -0000	1.3
  +++ DefaultsModule.java	22 Feb 2004 18:13:45 -0000	1.4
  @@ -87,7 +87,7 @@
           this.constants = new HashMap();
           Configuration[] consts = config.getChild("values").getChildren();
           for (int i=0; i<consts.length; i++) {
  -            this.constants.put(consts[i].getName(), consts[i].getValue());
  +            this.constants.put(consts[i].getName(), consts[i].getValue(""));
           }
       }
   
  
  
  

Mime
View raw message