db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattba...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/cache ObjectCacheDefaultImpl.java
Date Wed, 12 Feb 2003 15:57:41 GMT
mattbaird    2003/02/12 07:57:41

  Modified:    src/java/org/apache/ojb/broker/cache
                        ObjectCacheDefaultImpl.java
  Log:
  fix typo that cause cache to grow unbounded
  
  Revision  Changes    Path
  1.5       +2 -2      db-ojb/src/java/org/apache/ojb/broker/cache/ObjectCacheDefaultImpl.java
  
  Index: ObjectCacheDefaultImpl.java
  ===================================================================
  RCS file: /home/cvs//db-ojb/src/java/org/apache/ojb/broker/cache/ObjectCacheDefaultImpl.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ObjectCacheDefaultImpl.java	21 Sep 2002 15:39:53 -0000	1.4
  +++ ObjectCacheDefaultImpl.java	12 Feb 2003 15:57:41 -0000	1.5
  @@ -161,7 +161,7 @@
               if (obj == null)
               {
                   gcCount++;
  -                objectTable.remove(oid);    // Soft-referenced Object reclaimed by GC
  +                objectTable.remove(oid.toString());    // Soft-referenced Object reclaimed
by GC
               }
           }
           else
  
  
  

Mime
View raw message