ovidiu 02/01/18 16:51:45
Modified: src/java/org/apache/cocoon/sitemap SitemapManager.java
Log:
Changed the visibility of sitemapFileName from private to protected.
Revision Changes Path
1.2 +4 -4
xml-cocoon2/src/java/org/apache/cocoon/sitemap/SitemapManager.java
Index: SitemapManager.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/sitemap/SitemapManager.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SitemapManager.java 3 Jan 2002 12:31:20 -0000 1.1
+++ SitemapManager.java 19 Jan 2002 00:51:45 -0000 1.2
@@ -38,19 +38,19 @@
* to Java code.
*
* @author <a href="mailto:[EMAIL PROTECTED]">Sylvain Wallez</a>
- * @version CVS $Revision: 1.1 $ $Date: 2002/01/03 12:31:20 $
+ * @version CVS $Revision: 1.2 $ $Date: 2002/01/19 00:51:45 $
*/
public class SitemapManager extends Manager implements Processor, Configurable {
/** The sitemap file */
- private String sitemapFileName;
+ protected String sitemapFileName;
/** Check reloading of sitemap */
private boolean checkSitemapReload = true;
/** reload sitemap asynchron */
private boolean reloadSitemapAsynchron = true;
-
+
public void configure(Configuration sconf) throws ConfigurationException {
super.configure(sconf);
@@ -62,7 +62,7 @@
value = sconf.getAttribute("reload-method", "asynchron");
this.reloadSitemapAsynchron = !(value != null &&
value.equalsIgnoreCase("synchron") == true);
-
+
long checkDelay = sconf.getAttributeAsLong("check-delay", 1L);
Handler.setSitemapCheckDelay(checkDelay * 1000L);
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]