cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r384707 - /cocoon/trunk/cocoon-core/src/main/java/org/apache/cocoon/generation/TraversableGenerator.java
Date Fri, 10 Mar 2006 05:50:51 GMT
Author: antonio
Date: Thu Mar  9 21:50:48 2006
New Revision: 384707

URL: http://svn.apache.org/viewcvs?rev=384707&view=rev
Log:
<action dev="AG" type="fix" fixes-bug="COCOON-1796" due-to="Freek Segers" due-to-email="freek.segers@nerocmediaware.nl">
       TraversableGenerator calls resolveURI() twice but release() only once.
    </action>

Modified:
    cocoon/trunk/cocoon-core/src/main/java/org/apache/cocoon/generation/TraversableGenerator.java

Modified: cocoon/trunk/cocoon-core/src/main/java/org/apache/cocoon/generation/TraversableGenerator.java
URL: http://svn.apache.org/viewcvs/cocoon/trunk/cocoon-core/src/main/java/org/apache/cocoon/generation/TraversableGenerator.java?rev=384707&r1=384706&r2=384707&view=diff
==============================================================================
--- cocoon/trunk/cocoon-core/src/main/java/org/apache/cocoon/generation/TraversableGenerator.java
(original)
+++ cocoon/trunk/cocoon-core/src/main/java/org/apache/cocoon/generation/TraversableGenerator.java
Thu Mar  9 21:50:48 2006
@@ -307,8 +307,7 @@
             if (!(src instanceof TraversableSource)) {
                 throw new SourceException(this.source + " is not a traversable source");
             }
-            final TraversableSource inputSource =
-                (TraversableSource) this.resolver.resolveURI(this.source);
+            final TraversableSource inputSource = (TraversableSource) src;
 
             if (!inputSource.exists()) {
                 throw new ResourceNotFoundException(this.source + " does not exist.");



Mime
View raw message