cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From froehl...@apache.org
Subject cvs commit: xml-cocoon2/scratchpad/src/org/apache/cocoon/jispstore MRUMemoryStore.java
Date Fri, 14 Dec 2001 15:02:32 GMT
froehlich    01/12/14 07:02:32

  Modified:    scratchpad/src/org/apache/cocoon/jispstore
                        MRUMemoryStore.java
  Log:
  moved fs storage stuff to the store() method
  
  Revision  Changes    Path
  1.4       +2 -2      xml-cocoon2/scratchpad/src/org/apache/cocoon/jispstore/MRUMemoryStore.java
  
  Index: MRUMemoryStore.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/scratchpad/src/org/apache/cocoon/jispstore/MRUMemoryStore.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MRUMemoryStore.java	2001/12/14 13:09:29	1.3
  +++ MRUMemoryStore.java	2001/12/14 15:02:32	1.4
  @@ -115,7 +115,7 @@
        * @param the object to store
        */
       public void store(Object key, Object value) {
  -        this.hold(key,value);
  +        this.mFilesystemQueue.insert(new FilesystemQueueObject(key,value));
       }
   
       /**
  @@ -142,7 +142,7 @@
                  !this.mFsstore.containsKey(key)) {
                   this.getLogger().debug("Storing object on fs");
                   try {
  -                    this.mFilesystemQueue.insert(new FilesystemQueueObject(key,value));
  +                    this.store(key,value);
                   } catch(Exception e) {
                       this.getLogger().error("Error storing Object on fs",e);
                   }
  
  
  

----------------------------------------------------------------------
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