jefft 2003/05/18 17:25:51
Modified: src/java/org/apache/cocoon/components/modules/input
XMLFileModule.java
Log:
NPE check
Revision Changes Path
1.8 +2 -2
cocoon-2.1/src/java/org/apache/cocoon/components/modules/input/XMLFileModule.java
Index: XMLFileModule.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/modules/input/XMLFileModule.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- XMLFileModule.java 18 May 2003 14:00:43 -0000 1.7
+++ XMLFileModule.java 19 May 2003 00:25:51 -0000 1.8
@@ -280,7 +280,7 @@
hasDynamicConf = true;
}
- if (hasDynamicConf) {
+ if (hasDynamicConf && fileConf != null) {
src = fileConf.getAttribute("src");
}