cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/store FilesystemStore.java
Date Tue, 12 Feb 2002 12:57:51 GMT
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:vgritsenko@apache.org">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:     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


Mime
View raw message