cziegeler 02/02/12 04:57:51
Modified: src/java/org/apache/cocoon/components/store
FilesystemStore.java
Log:
Correction
Revision Changes Path
1.8 +4 -4
xml-cocoon2/src/java/org/apache/cocoon/components/store/FilesystemStore.java
Index: FilesystemStore.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/store/FilesystemStore.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- FilesystemStore.java 12 Feb 2002 12:55:24 -0000 1.7
+++ FilesystemStore.java 12 Feb 2002 12:57:51 -0000 1.8
@@ -75,7 +75,7 @@
*
* @author ?
* @author <a href="mailto:[EMAIL PROTECTED]">Vadim Gritsenko</a>
- * @version CVS $Id: FilesystemStore.java,v 1.7 2002/02/12 12:55:24 cziegeler Exp $
+ * @version CVS $Id: FilesystemStore.java,v 1.8 2002/02/12 12:57:51 cziegeler Exp $
*/
public final class FilesystemStore
extends AbstractLoggable
@@ -243,7 +243,7 @@
public void hold(final Object key, final Object value)
throws IOException {
this.store(key, value);
- final File file = (File) this.get(key);
+ final File file = (File) this.fileFromKey(key);
if (file != null) {
file.deleteOnExit();
}
@@ -354,7 +354,7 @@
public String getString(final Object key)
throws IOException {
- final File file = (File) this.get(key);
+ final File file = (File) this.fileFromKey(key);
if (file != null) {
return IOUtils.deserializeString(file);
}
@@ -367,7 +367,7 @@
public Object getObject(final Object key)
throws IOException, ClassNotFoundException
{
- final File file = (File) this.get(key);
+ final File file = (File) this.fileFromKey(key);
if (file != null) {
return IOUtils.deserializeObject(file);
}
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]