db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/accesslayer PkEnumeration.java
Date Tue, 08 Jul 2003 06:05:36 GMT
thma        2003/07/07 23:05:36

  Modified:    src/java/org/apache/ojb/otm OTMConnection.java
               src/java/org/apache/ojb/broker/metadata/fieldaccess
                        PersistentFieldPrivilegedImpl.java
                        PersistentFieldDirectAccessImpl.java
               src/java/org/apache/ojb/broker/cache
                        ObjectCachePerClassImpl.java
               src/java/org/apache/ojb/broker/accesslayer
                        PkEnumeration.java
  Log:
  remove calls to deprecated API and unused imports
  
  Revision  Changes    Path
  1.8       +0 -1      db-ojb/src/java/org/apache/ojb/otm/OTMConnection.java
  
  Index: OTMConnection.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/otm/OTMConnection.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- OTMConnection.java	1 Jul 2003 21:04:56 -0000	1.7
  +++ OTMConnection.java	8 Jul 2003 06:05:36 -0000	1.8
  @@ -56,7 +56,6 @@
   
   import java.util.Iterator;
   import org.apache.ojb.broker.Identity;
  -import org.apache.ojb.broker.PersistenceBrokerException;
   import org.apache.ojb.broker.metadata.ClassDescriptor;
   import org.apache.ojb.broker.query.Query;
   import org.apache.ojb.otm.lock.LockingException;
  
  
  
  1.2       +1 -5      db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentFieldPrivilegedImpl.java
  
  Index: PersistentFieldPrivilegedImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentFieldPrivilegedImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PersistentFieldPrivilegedImpl.java	8 Jul 2003 01:04:39 -0000	1.1
  +++ PersistentFieldPrivilegedImpl.java	8 Jul 2003 06:05:36 -0000	1.2
  @@ -55,10 +55,6 @@
    */
   
   import org.apache.ojb.broker.metadata.MetadataException;
  -import org.apache.ojb.broker.util.BrokerHelper;
  -import org.apache.ojb.broker.util.ProxyHelper;
  -import org.apache.ojb.broker.util.logging.Logger;
  -import org.apache.ojb.broker.util.logging.LoggerFactory;
   
   import java.io.Serializable;
   import java.lang.reflect.Field;
  
  
  
  1.2       +1 -3      db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentFieldDirectAccessImpl.java
  
  Index: PersistentFieldDirectAccessImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/PersistentFieldDirectAccessImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PersistentFieldDirectAccessImpl.java	8 Jul 2003 01:04:39 -0000	1.1
  +++ PersistentFieldDirectAccessImpl.java	8 Jul 2003 06:05:36 -0000	1.2
  @@ -57,8 +57,6 @@
   import org.apache.ojb.broker.metadata.MetadataException;
   import org.apache.ojb.broker.util.BrokerHelper;
   import org.apache.ojb.broker.util.ProxyHelper;
  -import org.apache.ojb.broker.util.logging.Logger;
  -import org.apache.ojb.broker.util.logging.LoggerFactory;
   
   import java.lang.reflect.Field;
   
  
  
  
  1.2       +1 -1      db-ojb/src/java/org/apache/ojb/broker/cache/ObjectCachePerClassImpl.java
  
  Index: ObjectCachePerClassImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/cache/ObjectCachePerClassImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ObjectCachePerClassImpl.java	1 Jul 2003 21:08:26 -0000	1.1
  +++ ObjectCachePerClassImpl.java	8 Jul 2003 06:05:36 -0000	1.2
  @@ -28,7 +28,7 @@
   
       public ObjectCache getCache(Identity oid, Object obj, int methodCall)
       {
  -        return getCachePerClass(oid.getObjectsClass());
  +        return getCachePerClass(oid.getObjectsRealClass());
       }
   
       /**
  
  
  
  1.12      +1 -2      db-ojb/src/java/org/apache/ojb/broker/accesslayer/PkEnumeration.java
  
  Index: PkEnumeration.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/PkEnumeration.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- PkEnumeration.java	8 Jul 2003 00:33:03 -0000	1.11
  +++ PkEnumeration.java	8 Jul 2003 06:05:36 -0000	1.12
  @@ -57,7 +57,6 @@
   import org.apache.ojb.broker.Identity;
   import org.apache.ojb.broker.PersistenceBroker;
   import org.apache.ojb.broker.PersistenceBrokerException;
  -import org.apache.ojb.broker.PersistenceBrokerFactory;
   import org.apache.ojb.broker.PersistenceBrokerSQLException;
   import org.apache.ojb.broker.metadata.ClassDescriptor;
   import org.apache.ojb.broker.metadata.FieldDescriptor;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message