db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/cache ObjectCacheDefaultImpl.java
Date Thu, 13 Mar 2003 19:50:27 GMT
brj         2003/03/13 11:50:27

  Modified:    src/java/org/apache/ojb/broker/cache
                        ObjectCacheDefaultImpl.java
  Log:
  remove unused local var
  
  Revision  Changes    Path
  1.11      +5 -7      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.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ObjectCacheDefaultImpl.java	5 Mar 2003 23:52:08 -0000	1.10
  +++ ObjectCacheDefaultImpl.java	13 Mar 2003 19:50:27 -0000	1.11
  @@ -54,7 +54,10 @@
    * <http://www.apache.org/>.
    */
   
  -import org.apache.commons.lang.SystemUtils;
  +import java.lang.ref.SoftReference;
  +import java.util.Hashtable;
  +import java.util.Map;
  +
   import org.apache.commons.lang.builder.ToStringBuilder;
   import org.apache.commons.lang.builder.ToStringStyle;
   import org.apache.ojb.broker.Identity;
  @@ -62,10 +65,6 @@
   import org.apache.ojb.broker.util.logging.Logger;
   import org.apache.ojb.broker.util.logging.LoggerFactory;
   
  -import java.lang.ref.SoftReference;
  -import java.util.Hashtable;
  -import java.util.Map;
  -
   /**
    * This global ObjectCache stores all Objects loaded by the PersistenceBroker from a DB.
    * When the PersistenceBroker tries to get an Object by its Primary key values
  @@ -163,7 +162,6 @@
   
       public String toString()
       {
  -        String eol = SystemUtils.LINE_SEPARATOR;
           ToStringBuilder buf = new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE);
           buf.append("CACHE STATISTICS");
           buf.append("Count of cached objects", objectTable.keySet().size());
  
  
  

Mime
View raw message