cziegeler 2002/08/15 07:17:59
Modified: lib jars.xml
src/java/org/apache/cocoon/components/store
JispFilesystemStore.java
Log:
Updating to latest excalibur
Revision Changes Path
1.30 +2 -2 xml-cocoon2/lib/jars.xml
Index: jars.xml
===================================================================
RCS file: /home/cvs/xml-cocoon2/lib/jars.xml,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- jars.xml 15 Aug 2002 13:43:18 -0000 1.29
+++ jars.xml 15 Aug 2002 14:17:59 -0000 1.30
@@ -13,7 +13,7 @@
<description>Part of jakarta-avalon, it is a set of classes and patterns that
support high level server development. (This JAR has been compiled on Java
1.3 to be run on JVM 1.3 or earlier.)</description>
<used-by>Cocoon</used-by>
- <lib>core/jvm1.2/avalon-excalibur-vm12-20020705.jar</lib>
+ <lib>core/jvm1.2/avalon-excalibur-vm12-20020815.jar</lib>
<homepage>http://jakarta.apache.org/avalon/excalibur/</homepage>
</file>
<file>
@@ -21,7 +21,7 @@
<description>Part of jakarta-avalon, it is a set of classes and patterns that
support high level server development. (This JAR has been compiled on Java
1.4 to be run on JVM 1.4.)</description>
<used-by>Cocoon</used-by>
- <lib>core/jvm1.4/avalon-excalibur-vm14-20020705.jar</lib>
+ <lib>core/jvm1.4/avalon-excalibur-vm14-20020815.jar</lib>
<homepage>http://jakarta.apache.org/avalon/excalibur/</homepage>
</file>
<file>
1.5 +14 -1
xml-cocoon2/src/java/org/apache/cocoon/components/store/JispFilesystemStore.java
Index: JispFilesystemStore.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/store/JispFilesystemStore.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- JispFilesystemStore.java 31 Jul 2002 13:13:26 -0000 1.4
+++ JispFilesystemStore.java 15 Aug 2002 14:17:59 -0000 1.5
@@ -336,6 +336,19 @@
}
/**
+ * Clear the Store of all elements
+ */
+ public synchronized void clear() {
+ Enumeration enum = this.keys();
+ while (enum.hasMoreElements()) {
+ Object key = enum.nextElement();
+ if (null != key) {
+ this.remove(key);
+ }
+ }
+ }
+
+ /**
* Removes a value from the data file with the given key.
*
* @param key the key object
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]