haul 2003/03/12 05:27:04
Modified: src/java/org/apache/cocoon/components/modules/input
AbstractInputModule.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/input/AbstractInputModule.java
Index: AbstractInputModule.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/modules/input/AbstractInputModule.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- AbstractInputModule.java 9 Mar 2003 00:09:02 -0000 1.1
+++ AbstractInputModule.java 12 Mar 2003 13:27:04 -0000 1.2
@@ -91,7 +91,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);
}
}