unico 2004/03/23 04:47:23
Modified:
src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl
CachingSourceFactory.java
Log:
use alternative constructor
Revision Changes Path
1.6 +3 -3
cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java
Index: CachingSourceFactory.java
===================================================================
RCS file:
/home/cvs/cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl/CachingSourceFactory.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- CachingSourceFactory.java 22 Mar 2004 17:38:25 -0000 1.5
+++ CachingSourceFactory.java 23 Mar 2004 12:47:22 -0000 1.6
@@ -293,7 +293,7 @@
if (wrappedSource instanceof TraversableSource) {
source = new TraversableCachingSource(scheme,
location,
- uri,
+ (TraversableSource)
wrappedSource,
cacheName,
expires,
parameters,
@@ -302,7 +302,7 @@
else {
source = new CachingSource(scheme,
location,
- uri,
+ wrappedSource,
cacheName,
expires,
parameters,