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/cache/impl SoftRefMemoryCache.java
Date Mon, 11 Feb 2002 20:31:22 GMT
froehlich    02/02/11 12:31:22

  Modified:    simplestore/src/java/org/apache/commons/simplestore/cache/impl
                        SoftRefMemoryCache.java
  Log:
  fixed imports and formating
  
  Revision  Changes    Path
  1.2       +6 -6      jakarta-commons-sandbox/simplestore/src/java/org/apache/commons/simplestore/cache/impl/SoftRefMemoryCache.java
  
  Index: SoftRefMemoryCache.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/simplestore/src/java/org/apache/commons/simplestore/cache/impl/SoftRefMemoryCache.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SoftRefMemoryCache.java	11 Feb 2002 20:23:15 -0000	1.1
  +++ SoftRefMemoryCache.java	11 Feb 2002 20:31:22 -0000	1.2
  @@ -65,12 +65,12 @@
    *      baliuka@mwm.lt</a>
    *@author     Gerhard Froehlich <a href="mailto:g-froehlich@gmx.de">
    *      g-froehlich@gmx.de</a>
  - *@version    $Id: SoftRefMemoryCache.java,v 1.1 2002/02/11 20:23:15 froehlich Exp $
  + *@version    $Id: SoftRefMemoryCache.java,v 1.2 2002/02/11 20:31:22 froehlich Exp $
    */
   public class SoftRefMemoryCache implements Cache {
   
       private static boolean DEBUG = true;
  -    
  +
       private int m_current = 0;
       private int m_maxStrongRefCount;
       private Map m_map;
  @@ -80,7 +80,7 @@
       /**
        * Creates new SoftRefMemoryCache
        *
  -     *@param  map 
  +     *@param  map
        *@param  maxStrongRefCount
        */
       protected SoftRefMemoryCache(Map map, int maxStrongRefCount) {
  @@ -104,7 +104,7 @@
        * Get the object associated to the given unique key.
        *
        *@param  key  the Key Object
  -     *@return requested object or null
  +     *@return      requested object or null
        */
       public Object get(Object key) {
           removeSoftRef();
  @@ -122,8 +122,8 @@
       /**
        * Cache the object associated to the given unique key.
        *
  -     *@param  key  the key object
  -     *@param  value  the value Object
  +     *@param  key     the key object
  +     *@param  object
        */
       public void put(Object key, Object object) {
           removeSoftRef();
  
  
  

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