cziegeler 01/04/12 07:15:27
Modified: src/org/apache/cocoon/components/pipeline Tag: xml-cocoon2
CachingEventPipeline.java
Log:
Added missing condition
Revision Changes Path
No revision
No revision
1.1.2.3 +3 -3
xml-cocoon/src/org/apache/cocoon/components/pipeline/Attic/CachingEventPipeline.java
Index: CachingEventPipeline.java
===================================================================
RCS file:
/home/cvs/xml-cocoon/src/org/apache/cocoon/components/pipeline/Attic/CachingEventPipeline.java,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -r1.1.2.2 -r1.1.2.3
--- CachingEventPipeline.java 2001/04/12 10:06:39 1.1.2.2
+++ CachingEventPipeline.java 2001/04/12 14:15:26 1.1.2.3
@@ -51,7 +51,7 @@
* The CachingEventPipeline
*
* @author <a href="mailto:[EMAIL PROTECTED]">Carsten Ziegeler</a>
- * @version CVS $Revision: 1.1.2.2 $ $Date: 2001/04/12 10:06:39 $
+ * @version CVS $Revision: 1.1.2.3 $ $Date: 2001/04/12 14:15:26 $
*/
public class CachingEventPipeline extends AbstractEventPipeline {
@@ -139,7 +139,7 @@
} else {
testTrans = false;
}
- transformerIndex++;
+ if (testTrans == true) transformerIndex++;
}
// now we have the key to get the cached object
@@ -196,7 +196,7 @@
}
if (this.producer == null) {
- // the content was not cached/or invalid
+ // the content was not cached/or is invalid
this.producer = this.generator;
this.connectPipeline(environment,
this.transformers,
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]