You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by je...@apache.org on 2003/05/17 08:01:25 UTC
cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/modules/input SimpleMappingMetaModule.java
jefft 2003/05/16 23:01:25
Modified: src/java/org/apache/cocoon/components/modules/input
SimpleMappingMetaModule.java
Log:
document a design problem
Revision Changes Path
1.2 +3 -1 cocoon-2.1/src/java/org/apache/cocoon/components/modules/input/SimpleMappingMetaModule.java
Index: SimpleMappingMetaModule.java
===================================================================
RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/modules/input/SimpleMappingMetaModule.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SimpleMappingMetaModule.java 9 Mar 2003 00:09:03 -0000 1.1
+++ SimpleMappingMetaModule.java 17 May 2003 06:01:25 -0000 1.2
@@ -143,6 +143,8 @@
public void configure(Configuration config) throws ConfigurationException {
+ // It seems that even if there is no config, we'll get an empty
+ // input-module element here, so it will never be null (JT)
this.inputConf = config.getChild("input-module");
this.defaultInput = this.inputConf.getAttribute("name", this.defaultInput);
this.prefix = config.getChild("prefix").getValue(null);