You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by st...@locus.apache.org on 2000/05/08 00:34:19 UTC
cvs commit: xml-cocoon/src/org/apache/cocoon EngineWrapper.java
stefano 00/05/07 15:34:18
Modified: src/org/apache/cocoon EngineWrapper.java
Log:
fixed to avoid NPE
Revision Changes Path
1.10 +3 -3 xml-cocoon/src/org/apache/cocoon/EngineWrapper.java
Index: EngineWrapper.java
===================================================================
RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/EngineWrapper.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- EngineWrapper.java 2000/02/13 18:29:16 1.9
+++ EngineWrapper.java 2000/05/07 22:34:18 1.10
@@ -1,4 +1,4 @@
-/*-- $Id: EngineWrapper.java,v 1.9 2000/02/13 18:29:16 stefano Exp $ --
+/*-- $Id: EngineWrapper.java,v 1.10 2000/05/07 22:34:18 stefano Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -70,7 +70,7 @@
* But I have more important stuff to do right now.
*
* @author <a href="mailto:stefano@apache.org">Stefano Mazzocchi</a>
- * @version $Revision: 1.9 $ $Date: 2000/02/13 18:29:16 $
+ * @version $Revision: 1.10 $ $Date: 2000/05/07 22:34:18 $
*/
public class EngineWrapper {
@@ -78,7 +78,7 @@
private Engine engine;
protected EngineWrapper(Configurations confs) throws Exception {
- this.engine = Engine.getInstance(confs, null);
+ this.engine = Engine.getInstance(confs, new Object());
}
public void handle(PrintWriter out, File pathToDocument) throws Exception {