You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2002/03/07 17:51:48 UTC
cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/source URLSource.java
vgritsenko 02/03/07 08:51:48
Modified: src/java/org/apache/cocoon/components/source URLSource.java
Log:
recycle source! fixes logicsheet reloading bug.
Revision Changes Path
1.13 +5 -1 xml-cocoon2/src/java/org/apache/cocoon/components/source/URLSource.java
Index: URLSource.java
===================================================================
RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/source/URLSource.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- URLSource.java 24 Feb 2002 23:33:12 -0000 1.12
+++ URLSource.java 7 Mar 2002 16:51:48 -0000 1.13
@@ -88,7 +88,7 @@
* Description of a source which is described by an URL.
*
* @author <a href="mailto:cziegeler@apache.org">Carsten Ziegeler</a>
- * @version CVS $Id: URLSource.java,v 1.12 2002/02/24 23:33:12 dims Exp $
+ * @version CVS $Id: URLSource.java,v 1.13 2002/03/07 16:51:48 vgritsenko Exp $
*/
public class URLSource extends AbstractStreamSource {
@@ -339,6 +339,10 @@
// reset connection
this.connection = null;
this.gotInfos = false;
+ }
+
+ public void recycle() {
+ refresh();
}
/**
----------------------------------------------------------------------
In case of troubles, e-mail: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org