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/output AbstractOutputModule.java
Date Wed, 12 Mar 2003 13:27:34 GMT
haul        2003/03/12 05:27:34

  Modified:    src/java/org/apache/cocoon/components/modules/output
                        AbstractOutputModule.java
  Log:
  when reading configuration values, default to "" (empty string) so that empty elements
  don't throw a Configuration exception
  
  Revision  Changes    Path
  1.2       +2 -2      cocoon-2.1/src/java/org/apache/cocoon/components/modules/output/AbstractOutputModule.java
  
  Index: AbstractOutputModule.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/modules/output/AbstractOutputModule.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractOutputModule.java	9 Mar 2003 00:09:05 -0000	1.1
  +++ AbstractOutputModule.java	12 Mar 2003 13:27:34 -0000	1.2
  @@ -95,7 +95,7 @@
           this.settings = new HashMap(parameters.length);
           for (int i = 0; i < parameters.length; i++) {
               String key = parameters[i].getName();
  -            String val = parameters[i].getValue();
  +            String val = parameters[i].getValue("");
               this.settings.put(key, val);
           }
       }
  
  
  

Mime
View raw message