commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From froehl...@apache.org
Subject cvs commit: jakarta-commons-sandbox/simplestore/src/java/org/apache/commons/simplestore SoftRefMemoryStore.java
Date Sat, 26 Jan 2002 16:19:20 GMT
froehlich    02/01/26 08:19:20

  Modified:    simplestore/src/java/org/apache/commons/simplestore
                        SoftRefMemoryStore.java
  Log:
  applied more patches from Juozas Baliuka [baliuka@mwm.lt]
  
  Revision  Changes    Path
  1.7       +2 -2      jakarta-commons-sandbox/simplestore/src/java/org/apache/commons/simplestore/SoftRefMemoryStore.java
  
  Index: SoftRefMemoryStore.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/simplestore/src/java/org/apache/commons/simplestore/SoftRefMemoryStore.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- SoftRefMemoryStore.java	26 Jan 2002 12:00:47 -0000	1.6
  +++ SoftRefMemoryStore.java	26 Jan 2002 16:19:20 -0000	1.7
  @@ -20,7 +20,7 @@
    *      baliuka@mwm.lt</a>
    * @author Gerhard Froehlich <a href="mailto:g-froehlich@gmx.de">
    *      g-froehlich@gmx.de</a>
  - * @version $Id: SoftRefMemoryStore.java,v 1.6 2002/01/26 12:00:47 froehlich Exp $
  + * @version $Id: SoftRefMemoryStore.java,v 1.7 2002/01/26 16:19:20 froehlich Exp $
    */
   public class SoftRefMemoryStore
   implements Store {
  @@ -150,7 +150,6 @@
        */
       public void put(Object key, Object object) {
           removeSoftRef();
  -        //  store.put(key,object);
           internalStoreObject(key,object);
       }
       
  @@ -175,6 +174,7 @@
               }
           }
           
  +        addStrongRef(object);
           
           return object;
       }
  
  
  

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message