stefano 2004/02/09 21:55:18
Modified: src/samples/org/apache/cocoon/acting/modular TestAction.java
Log:
fixed compilation issue (don't know how useful this action is in the context
of 2.2 and don't know if the fix follows the fortress approach, but for fixing
compilation is higher priority)
Revision Changes Path
1.4 +3 -3
cocoon-2.2/src/samples/org/apache/cocoon/acting/modular/TestAction.java
Index: TestAction.java
===================================================================
RCS file:
/home/cvs/cocoon-2.2/src/samples/org/apache/cocoon/acting/modular/TestAction.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- TestAction.java 17 Oct 2003 17:49:24 -0000 1.3
+++ TestAction.java 10 Feb 2004 05:55:18 -0000 1.4
@@ -190,12 +190,12 @@
if (getLogger().isDebugEnabled()) getLogger().debug("releasing
components");
if (outputSelector != null) {
if (output != null)
- outputSelector.release(output);
+ outputSelector.release((ComponentSelector) output);
this.manager.release(outputSelector);
}
if (inputSelector != null) {
if (input != null)
- inputSelector.release(input);
+ inputSelector.release((ComponentSelector) input);
this.manager.release(inputSelector);
}
if (getLogger().isDebugEnabled()) getLogger().debug("... end");