db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acl...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/accesslayer/conversions Object2ByteArrFieldConversion.java
Date Tue, 16 Aug 2005 15:04:40 GMT
aclute      2005/08/16 08:04:40

  Modified:    src/java/org/apache/ojb/odmg/locking Tag: OJB_1_0_RELEASE
                        LockManagerDefaultImpl.java
                        LockStrategyFactory.java LockMapFactory.java
               src/java/org/apache/ojb/odmg Tag: OJB_1_0_RELEASE
                        DatabaseImpl.java
               src/test/org/apache/ojb/odmg Tag: OJB_1_0_RELEASE
                        NamedRootsTest.java OneToManyTest.java
                        ContractVersionEffectivenessOQLTest.java
               src/java/org/apache/ojb/broker/metadata/fieldaccess Tag:
                        OJB_1_0_RELEASE
                        PersistentFieldAutoProxyImplNew.java
                        PersistentFieldPrivilegedImplNew.java
                        PersistentFieldDirectAccessImplNew.java
                        PersistentFieldIntrospectorImplNew.java
                        PersistentFieldDynaBeanImplNew.java
               src/test/org/apache/ojb/broker/sqlcount Tag: OJB_1_0_RELEASE
                        EmptyCacheCountTest.java TwoLevelSimpleTest.java
               src/test/org/apache/ojb/jdo Tag: OJB_1_0_RELEASE
                        TestQueries.java TestPersistenceManager.java
               src/java/org/apache/ojb/broker/platforms Tag:
                        OJB_1_0_RELEASE PlatformHsqldbImpl.java
               src/java/org/apache/ojb/broker/util Tag: OJB_1_0_RELEASE
                        JdbcTypesHelper.java
               src/java/org/apache/ojb/broker/cache Tag: OJB_1_0_RELEASE
                        ObjectCacheFactory.java
               src/test/org/apache/ojb/broker Tag: OJB_1_0_RELEASE
                        MultipleTableExtentAwareQueryTest.java Zoo.java
               src/java/org/apache/ojb/jdo Tag: OJB_1_0_RELEASE
                        PersistenceManagerImpl.java
               src/java/org/apache/ojb/odmg/collections Tag:
                        OJB_1_0_RELEASE DSetEntry.java
               src/test/org/apache/ojb/performance Tag: OJB_1_0_RELEASE
                        PerfMain.java
               src/java/org/apache/ojb/broker/accesslayer/conversions Tag:
                        OJB_1_0_RELEASE Object2ByteArrFieldConversion.java
  Log:
  Cleaning up Imports -- removing unused imports
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.7.2.3   +0 -1      db-ojb/src/java/org/apache/ojb/odmg/locking/Attic/LockManagerDefaultImpl.java
  
  Index: LockManagerDefaultImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/odmg/locking/Attic/LockManagerDefaultImpl.java,v
  retrieving revision 1.7.2.2
  retrieving revision 1.7.2.3
  diff -u -r1.7.2.2 -r1.7.2.3
  --- LockManagerDefaultImpl.java	19 Feb 2005 21:49:54 -0000	1.7.2.2
  +++ LockManagerDefaultImpl.java	16 Aug 2005 15:04:38 -0000	1.7.2.3
  @@ -16,7 +16,6 @@
    */
   
   import org.apache.ojb.broker.Identity;
  -import org.apache.ojb.broker.locking.IsolationLevels;
   import org.apache.ojb.broker.util.logging.Logger;
   import org.apache.ojb.broker.util.logging.LoggerFactory;
   import org.apache.ojb.odmg.TransactionImpl;
  
  
  
  1.13.2.3  +4 -5      db-ojb/src/java/org/apache/ojb/odmg/locking/Attic/LockStrategyFactory.java
  
  Index: LockStrategyFactory.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/odmg/locking/Attic/LockStrategyFactory.java,v
  retrieving revision 1.13.2.2
  retrieving revision 1.13.2.3
  diff -u -r1.13.2.2 -r1.13.2.3
  --- LockStrategyFactory.java	19 Feb 2005 21:49:54 -0000	1.13.2.2
  +++ LockStrategyFactory.java	16 Aug 2005 15:04:38 -0000	1.13.2.3
  @@ -16,13 +16,12 @@
    */
   
   import org.apache.ojb.broker.PersistenceBrokerException;
  -import org.apache.ojb.broker.util.logging.LoggerFactory;
  -import org.apache.ojb.broker.locking.IsolationLevels;
   import org.apache.ojb.broker.core.proxy.ProxyHelper;
  -import org.apache.ojb.broker.metadata.ClassDescriptor;
   import org.apache.ojb.broker.locking.IsolationLevels;
  -import org.apache.ojb.odmg.TxManagerFactory;
  +import org.apache.ojb.broker.metadata.ClassDescriptor;
  +import org.apache.ojb.broker.util.logging.LoggerFactory;
   import org.apache.ojb.odmg.TransactionImpl;
  +import org.apache.ojb.odmg.TxManagerFactory;
   
   /**
    * Factory class used to obtain the proper LockingStrategy for an Object.
  
  
  
  1.7.2.3   +0 -2      db-ojb/src/java/org/apache/ojb/odmg/locking/Attic/LockMapFactory.java
  
  Index: LockMapFactory.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/odmg/locking/Attic/LockMapFactory.java,v
  retrieving revision 1.7.2.2
  retrieving revision 1.7.2.3
  diff -u -r1.7.2.2 -r1.7.2.3
  --- LockMapFactory.java	19 Feb 2005 21:49:54 -0000	1.7.2.2
  +++ LockMapFactory.java	16 Aug 2005 15:04:38 -0000	1.7.2.3
  @@ -15,8 +15,6 @@
    * limitations under the License.
    */
   
  -import org.apache.ojb.broker.PersistenceBrokerFactory;
  -import org.apache.ojb.broker.util.configuration.Configurator;
   import org.apache.ojb.broker.util.factory.ConfigurableFactory;
   
   /**
  
  
  
  No                   revision
  No                   revision
  1.26.2.7  +1 -2      db-ojb/src/java/org/apache/ojb/odmg/DatabaseImpl.java
  
  Index: DatabaseImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/odmg/DatabaseImpl.java,v
  retrieving revision 1.26.2.6
  retrieving revision 1.26.2.7
  diff -u -r1.26.2.6 -r1.26.2.7
  --- DatabaseImpl.java	4 Jun 2005 14:38:13 -0000	1.26.2.6
  +++ DatabaseImpl.java	16 Aug 2005 15:04:38 -0000	1.26.2.7
  @@ -28,7 +28,6 @@
   import org.odmg.ODMGException;
   import org.odmg.ObjectNameNotFoundException;
   import org.odmg.ObjectNameNotUniqueException;
  -import org.odmg.Transaction;
   import org.odmg.TransactionInProgressException;
   import org.odmg.TransactionNotInProgressException;
   
  
  
  
  No                   revision
  No                   revision
  1.1.2.4   +1 -2      db-ojb/src/test/org/apache/ojb/odmg/NamedRootsTest.java
  
  Index: NamedRootsTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/odmg/NamedRootsTest.java,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- NamedRootsTest.java	9 Apr 2005 22:35:58 -0000	1.1.2.3
  +++ NamedRootsTest.java	16 Aug 2005 15:04:38 -0000	1.1.2.4
  @@ -7,7 +7,6 @@
   import org.apache.ojb.junit.ODMGTestCase;
   import org.apache.ojb.odmg.shared.Article;
   import org.apache.ojb.odmg.shared.ProductGroup;
  -import org.apache.ojb.odmg.collections.DListImpl;
   import org.odmg.DList;
   import org.odmg.ObjectNameNotFoundException;
   import org.odmg.ObjectNameNotUniqueException;
  
  
  
  1.10.2.5  +0 -1      db-ojb/src/test/org/apache/ojb/odmg/OneToManyTest.java
  
  Index: OneToManyTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/odmg/OneToManyTest.java,v
  retrieving revision 1.10.2.4
  retrieving revision 1.10.2.5
  diff -u -r1.10.2.4 -r1.10.2.5
  --- OneToManyTest.java	18 Mar 2005 19:22:30 -0000	1.10.2.4
  +++ OneToManyTest.java	16 Aug 2005 15:04:38 -0000	1.10.2.5
  @@ -18,7 +18,6 @@
   import org.apache.ojb.broker.Mammal;
   import org.apache.ojb.broker.ProductGroup;
   import org.apache.ojb.broker.Reptile;
  -import org.apache.ojb.broker.ProductGroupProxy;
   import org.apache.ojb.broker.metadata.ClassDescriptor;
   import org.apache.ojb.broker.metadata.CollectionDescriptor;
   import org.apache.ojb.broker.metadata.MetadataManager;
  
  
  
  1.16.2.1  +0 -2      db-ojb/src/test/org/apache/ojb/odmg/ContractVersionEffectivenessOQLTest.java
  
  Index: ContractVersionEffectivenessOQLTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/odmg/ContractVersionEffectivenessOQLTest.java,v
  retrieving revision 1.16
  retrieving revision 1.16.2.1
  diff -u -r1.16 -r1.16.2.1
  --- ContractVersionEffectivenessOQLTest.java	31 May 2004 22:57:22 -0000	1.16
  +++ ContractVersionEffectivenessOQLTest.java	16 Aug 2005 15:04:38 -0000	1.16.2.1
  @@ -10,12 +10,10 @@
   
   import java.sql.Timestamp;
   
  -import junit.framework.TestCase;
   import org.apache.ojb.broker.Contract;
   import org.apache.ojb.broker.Effectiveness;
   import org.apache.ojb.broker.ManageableCollection;
   import org.apache.ojb.broker.RelatedToContract;
  -import org.apache.ojb.broker.TestHelper;
   import org.apache.ojb.broker.Version;
   import org.apache.ojb.junit.ODMGTestCase;
   import org.odmg.Database;
  
  
  
  No                   revision
  No                   revision
  1.6.2.3   +0 -4      db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/Attic/PersistentFieldAutoProxyImplNew.java
  
  Index: PersistentFieldAutoProxyImplNew.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/Attic/PersistentFieldAutoProxyImplNew.java,v
  retrieving revision 1.6.2.2
  retrieving revision 1.6.2.3
  diff -u -r1.6.2.2 -r1.6.2.3
  --- PersistentFieldAutoProxyImplNew.java	8 Aug 2005 13:11:51 -0000	1.6.2.2
  +++ PersistentFieldAutoProxyImplNew.java	16 Aug 2005 15:04:38 -0000	1.6.2.3
  @@ -1,9 +1,5 @@
   package org.apache.ojb.broker.metadata.fieldaccess;
   
  -import java.io.Serializable;
  -
  -import org.apache.ojb.broker.metadata.MetadataException;
  -import org.apache.ojb.broker.util.ClassHelper;
   
   /* Copyright 2002-2004 The Apache Software Foundation
    *
  
  
  
  1.2.2.3   +1 -5      db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/Attic/PersistentFieldPrivilegedImplNew.java
  
  Index: PersistentFieldPrivilegedImplNew.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/Attic/PersistentFieldPrivilegedImplNew.java,v
  retrieving revision 1.2.2.2
  retrieving revision 1.2.2.3
  diff -u -r1.2.2.2 -r1.2.2.3
  --- PersistentFieldPrivilegedImplNew.java	8 Aug 2005 13:11:51 -0000	1.2.2.2
  +++ PersistentFieldPrivilegedImplNew.java	16 Aug 2005 15:04:38 -0000	1.2.2.3
  @@ -15,10 +15,6 @@
    * limitations under the License.
    */
   
  -import java.io.Serializable;
  -import java.lang.reflect.Field;
  -import java.security.AccessController;
  -import java.security.PrivilegedAction;
   
   /**
    * A {@link PersistentField} implementation using
  
  
  
  1.3.2.2   +1 -7      db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/Attic/PersistentFieldDirectAccessImplNew.java
  
  Index: PersistentFieldDirectAccessImplNew.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/Attic/PersistentFieldDirectAccessImplNew.java,v
  retrieving revision 1.3.2.1
  retrieving revision 1.3.2.2
  diff -u -r1.3.2.1 -r1.3.2.2
  --- PersistentFieldDirectAccessImplNew.java	8 Aug 2005 13:11:51 -0000	1.3.2.1
  +++ PersistentFieldDirectAccessImplNew.java	16 Aug 2005 15:04:38 -0000	1.3.2.2
  @@ -15,12 +15,6 @@
    * limitations under the License.
    */
   
  -import java.lang.reflect.Field;
  -import java.util.List;
  -
  -import org.apache.ojb.broker.core.proxy.ProxyHelper;
  -import org.apache.ojb.broker.metadata.MetadataException;
  -import org.apache.ojb.broker.util.ClassHelper;
   
   /**
    * This {@link PersistentField} implementation
  
  
  
  1.3.2.2   +1 -14     db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/Attic/PersistentFieldIntrospectorImplNew.java
  
  Index: PersistentFieldIntrospectorImplNew.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/Attic/PersistentFieldIntrospectorImplNew.java,v
  retrieving revision 1.3.2.1
  retrieving revision 1.3.2.2
  diff -u -r1.3.2.1 -r1.3.2.2
  --- PersistentFieldIntrospectorImplNew.java	8 Aug 2005 13:11:51 -0000	1.3.2.1
  +++ PersistentFieldIntrospectorImplNew.java	16 Aug 2005 15:04:38 -0000	1.3.2.2
  @@ -15,19 +15,6 @@
    * limitations under the License.
    */
   
  -import java.beans.BeanInfo;
  -import java.beans.IntrospectionException;
  -import java.beans.Introspector;
  -import java.beans.PropertyDescriptor;
  -import java.lang.reflect.Method;
  -import java.util.ArrayList;
  -import java.util.List;
  -
  -import org.apache.commons.lang.StringUtils;
  -import org.apache.ojb.broker.core.proxy.ProxyHelper;
  -import org.apache.ojb.broker.metadata.MetadataException;
  -import org.apache.ojb.broker.util.ClassHelper;
  -import org.apache.ojb.broker.util.logging.Logger;
   
   /**
    * A {@link PersistentField} implementation using
  
  
  
  1.1.2.2   +1 -6      db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/Attic/PersistentFieldDynaBeanImplNew.java
  
  Index: PersistentFieldDynaBeanImplNew.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/metadata/fieldaccess/Attic/PersistentFieldDynaBeanImplNew.java,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- PersistentFieldDynaBeanImplNew.java	8 Aug 2005 13:11:51 -0000	1.1.2.1
  +++ PersistentFieldDynaBeanImplNew.java	16 Aug 2005 15:04:38 -0000	1.1.2.2
  @@ -15,11 +15,6 @@
    * limitations under the License.
    */
   
  -import org.apache.commons.beanutils.DynaBean;
  -import org.apache.ojb.broker.PersistenceBrokerException;
  -import org.apache.ojb.broker.metadata.MetadataException;
  -import org.apache.ojb.broker.util.logging.Logger;
  -import org.apache.ojb.broker.util.logging.LoggerFactory;
   
   /**
    * A {@link PersistentField} implementation accesses a property
  
  
  
  No                   revision
  No                   revision
  1.2.4.2   +6 -7      db-ojb/src/test/org/apache/ojb/broker/sqlcount/EmptyCacheCountTest.java
  
  Index: EmptyCacheCountTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/sqlcount/EmptyCacheCountTest.java,v
  retrieving revision 1.2.4.1
  retrieving revision 1.2.4.2
  diff -u -r1.2.4.1 -r1.2.4.2
  --- EmptyCacheCountTest.java	23 Jan 2005 03:03:19 -0000	1.2.4.1
  +++ EmptyCacheCountTest.java	16 Aug 2005 15:04:39 -0000	1.2.4.2
  @@ -5,15 +5,14 @@
   
   package org.apache.ojb.broker.sqlcount;
   
  -import org.apache.ojb.broker.cache.ObjectCacheFactory;
  +import org.apache.ojb.broker.CdArticle;
  +import org.apache.ojb.broker.Identity;
  +import org.apache.ojb.broker.InterfaceArticle;
  +import org.apache.ojb.broker.PersistenceBroker;
  +import org.apache.ojb.broker.PersistenceBrokerFactory;
   import org.apache.ojb.broker.cache.ObjectCacheEmptyImpl;
   import org.apache.ojb.broker.util.configuration.impl.OjbConfiguration;
   import org.apache.ojb.broker.util.configuration.impl.OjbConfigurator;
  -import org.apache.ojb.broker.PersistenceBroker;
  -import org.apache.ojb.broker.PersistenceBrokerFactory;
  -import org.apache.ojb.broker.Identity;
  -import org.apache.ojb.broker.CdArticle;
  -import org.apache.ojb.broker.InterfaceArticle;
   
   /**
    * @author <a href="mailto:om@ppi.de">Oliver Matz</a>
  
  
  
  1.1.4.2   +4 -6      db-ojb/src/test/org/apache/ojb/broker/sqlcount/TwoLevelSimpleTest.java
  
  Index: TwoLevelSimpleTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/sqlcount/TwoLevelSimpleTest.java,v
  retrieving revision 1.1.4.1
  retrieving revision 1.1.4.2
  diff -u -r1.1.4.1 -r1.1.4.2
  --- TwoLevelSimpleTest.java	23 Jan 2005 03:03:19 -0000	1.1.4.1
  +++ TwoLevelSimpleTest.java	16 Aug 2005 15:04:39 -0000	1.1.4.2
  @@ -5,14 +5,12 @@
   
   package org.apache.ojb.broker.sqlcount;
   
  -import org.apache.ojb.broker.util.configuration.impl.OjbConfiguration;
  -import org.apache.ojb.broker.util.configuration.impl.OjbConfigurator;
  -import org.apache.ojb.broker.cache.ObjectCacheFactory;
  -import org.apache.ojb.broker.cache.ObjectCacheTwoLevelImpl;
  -import org.apache.ojb.broker.PersistenceBrokerFactory;
   import org.apache.ojb.broker.Identity;
   import org.apache.ojb.broker.PersistenceBroker;
  +import org.apache.ojb.broker.PersistenceBrokerFactory;
   import org.apache.ojb.broker.cloneable.CloneableGroup;
  +import org.apache.ojb.broker.util.configuration.impl.OjbConfiguration;
  +import org.apache.ojb.broker.util.configuration.impl.OjbConfigurator;
   
   /**
    * @author <a href="mailto:om@ppi.de">Oliver Matz</a>
  
  
  
  No                   revision
  No                   revision
  1.2.2.1   +3 -4      db-ojb/src/test/org/apache/ojb/jdo/TestQueries.java
  
  Index: TestQueries.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/jdo/TestQueries.java,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- TestQueries.java	9 Apr 2004 01:34:50 -0000	1.2
  +++ TestQueries.java	16 Aug 2005 15:04:39 -0000	1.2.2.1
  @@ -1,14 +1,13 @@
   package org.apache.ojb.jdo;
   
  -import junit.framework.TestCase;
  +import java.util.Collection;
   
   import javax.jdo.PersistenceManager;
   import javax.jdo.Query;
   
  -import org.apache.ojb.otm.Person;
  +import junit.framework.TestCase;
   
  -import java.util.Collection;
  -import java.util.List;
  +import org.apache.ojb.otm.Person;
   
   /* Copyright 2004 The Apache Software Foundation
    *
  
  
  
  1.4.2.1   +8 -5      db-ojb/src/test/org/apache/ojb/jdo/TestPersistenceManager.java
  
  Index: TestPersistenceManager.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/jdo/TestPersistenceManager.java,v
  retrieving revision 1.4
  retrieving revision 1.4.2.1
  diff -u -r1.4 -r1.4.2.1
  --- TestPersistenceManager.java	9 Apr 2004 01:06:00 -0000	1.4
  +++ TestPersistenceManager.java	16 Aug 2005 15:04:39 -0000	1.4.2.1
  @@ -15,14 +15,17 @@
    * limitations under the License.
    */
   
  -import junit.framework.TestCase;
  -import org.apache.ojb.otm.Person;
  -
  -import javax.jdo.*;
  -import java.util.Collection;
   import java.util.Iterator;
   import java.util.NoSuchElementException;
   
  +import javax.jdo.Extent;
  +import javax.jdo.PersistenceManager;
  +import javax.jdo.Transaction;
  +
  +import junit.framework.TestCase;
  +
  +import org.apache.ojb.otm.Person;
  +
   public class TestPersistenceManager extends TestCase
   {
       /** Cheat and use our impl directly */
  
  
  
  No                   revision
  No                   revision
  1.7.2.3   +1 -2      db-ojb/src/java/org/apache/ojb/broker/platforms/PlatformHsqldbImpl.java
  
  Index: PlatformHsqldbImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/platforms/PlatformHsqldbImpl.java,v
  retrieving revision 1.7.2.2
  retrieving revision 1.7.2.3
  diff -u -r1.7.2.2 -r1.7.2.3
  --- PlatformHsqldbImpl.java	4 Jun 2005 14:13:43 -0000	1.7.2.2
  +++ PlatformHsqldbImpl.java	16 Aug 2005 15:04:39 -0000	1.7.2.3
  @@ -15,7 +15,6 @@
    * limitations under the License.
    */
   
  -import java.sql.PreparedStatement;
   
   /**
    * This class extends <code>PlatformDefaultImpl</code> and defines specific
  
  
  
  No                   revision
  No                   revision
  1.11.2.2  +1 -25     db-ojb/src/java/org/apache/ojb/broker/util/JdbcTypesHelper.java
  
  Index: JdbcTypesHelper.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/JdbcTypesHelper.java,v
  retrieving revision 1.11.2.1
  retrieving revision 1.11.2.2
  diff -u -r1.11.2.1 -r1.11.2.2
  --- JdbcTypesHelper.java	10 Mar 2005 17:55:31 -0000	1.11.2.1
  +++ JdbcTypesHelper.java	16 Aug 2005 15:04:39 -0000	1.11.2.2
  @@ -1,30 +1,6 @@
   package org.apache.ojb.broker.util;
   
  -import java.io.ByteArrayOutputStream;
  -import java.io.IOException;
  -import java.io.InputStream;
  -import java.lang.reflect.Field;
  -import java.math.BigDecimal;
  -import java.net.URL;
  -import java.sql.Blob;
  -import java.sql.CallableStatement;
  -import java.sql.Clob;
  -import java.sql.Date;
  -import java.sql.Ref;
  -import java.sql.ResultSet;
  -import java.sql.SQLException;
  -import java.sql.Struct;
  -import java.sql.Time;
  -import java.sql.Timestamp;
  -import java.sql.Types;
  -import java.util.HashMap;
  -import java.util.Map;
  -
  -import org.apache.commons.lang.BooleanUtils;
  -import org.apache.commons.lang.builder.ToStringBuilder;
  -import org.apache.ojb.broker.OJBRuntimeException;
   import org.apache.ojb.broker.metadata.JdbcType;
  -import org.apache.ojb.broker.util.sequence.SequenceManagerException;
   
   /* Copyright 2003-2004 The Apache Software Foundation
    *
  
  
  
  No                   revision
  No                   revision
  1.17.2.2  +1 -7      db-ojb/src/java/org/apache/ojb/broker/cache/Attic/ObjectCacheFactory.java
  
  Index: ObjectCacheFactory.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/cache/Attic/ObjectCacheFactory.java,v
  retrieving revision 1.17.2.1
  retrieving revision 1.17.2.2
  diff -u -r1.17.2.1 -r1.17.2.2
  --- ObjectCacheFactory.java	23 Jan 2005 03:07:31 -0000	1.17.2.1
  +++ ObjectCacheFactory.java	16 Aug 2005 15:04:39 -0000	1.17.2.2
  @@ -15,13 +15,7 @@
    * limitations under the License.
    */
   
  -import java.util.Properties;
  -import java.util.HashMap;
  -import java.util.Collections;
  -import java.util.Map;
  -
   import org.apache.ojb.broker.PersistenceBroker;
  -import org.apache.ojb.broker.util.factory.ConfigurableFactory;
   import org.apache.ojb.broker.util.logging.Logger;
   import org.apache.ojb.broker.util.logging.LoggerFactory;
   
  
  
  
  No                   revision
  No                   revision
  1.2.2.1   +5 -5      db-ojb/src/test/org/apache/ojb/broker/MultipleTableExtentAwareQueryTest.java
  
  Index: MultipleTableExtentAwareQueryTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/MultipleTableExtentAwareQueryTest.java,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- MultipleTableExtentAwareQueryTest.java	5 Apr 2004 17:11:48 -0000	1.2
  +++ MultipleTableExtentAwareQueryTest.java	16 Aug 2005 15:04:39 -0000	1.2.2.1
  @@ -1,13 +1,13 @@
   package org.apache.ojb.broker;
   
  +import java.util.Collection;
  +import java.util.Iterator;
  +
   import junit.framework.TestCase;
  +
   import org.apache.ojb.broker.query.Criteria;
   import org.apache.ojb.broker.query.QueryByCriteria;
   import org.apache.ojb.broker.query.QueryFactory;
  -import org.apache.ojb.junit.OJBTestCase;
  -
  -import java.util.Collection;
  -import java.util.Iterator;
   
   /**
    * Test query against extent classes and abstract base class.
  
  
  
  1.4.2.1   +0 -1      db-ojb/src/test/org/apache/ojb/broker/Zoo.java
  
  Index: Zoo.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/Zoo.java,v
  retrieving revision 1.4
  retrieving revision 1.4.2.1
  diff -u -r1.4 -r1.4.2.1
  --- Zoo.java	22 Jun 2004 18:16:22 -0000	1.4
  +++ Zoo.java	16 Aug 2005 15:04:39 -0000	1.4.2.1
  @@ -1,7 +1,6 @@
   package org.apache.ojb.broker;
   
   import java.io.Serializable;
  -import java.util.Iterator;
   import java.util.List;
   import java.util.Vector;
   
  
  
  
  No                   revision
  No                   revision
  1.13.2.1  +12 -8     db-ojb/src/java/org/apache/ojb/jdo/PersistenceManagerImpl.java
  
  Index: PersistenceManagerImpl.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/jdo/PersistenceManagerImpl.java,v
  retrieving revision 1.13
  retrieving revision 1.13.2.1
  diff -u -r1.13 -r1.13.2.1
  --- PersistenceManagerImpl.java	23 May 2004 12:04:01 -0000	1.13
  +++ PersistenceManagerImpl.java	16 Aug 2005 15:04:39 -0000	1.13.2.1
  @@ -14,26 +14,30 @@
    */
   package org.apache.ojb.jdo;
   
  +import java.util.Collection;
  +import java.util.Iterator;
  +
  +import javax.jdo.Extent;
  +import javax.jdo.InstanceCallbacks;
  +import javax.jdo.JDOFatalUserException;
  +import javax.jdo.PersistenceManager;
  +import javax.jdo.PersistenceManagerFactory;
  +import javax.jdo.Query;
  +import javax.jdo.Transaction;
  +
   import org.apache.ojb.broker.Identity;
   import org.apache.ojb.broker.PBKey;
   import org.apache.ojb.broker.PersistenceBrokerFactory;
  -import org.apache.ojb.broker.core.proxy.ProxyHelper;
   import org.apache.ojb.broker.core.proxy.CollectionProxyDefaultImpl;
  -import org.apache.ojb.jdo.spi.StateManagerImpl;
  +import org.apache.ojb.broker.core.proxy.ProxyHelper;
   import org.apache.ojb.otm.EditingContext;
   import org.apache.ojb.otm.OTMConnection;
   import org.apache.ojb.otm.OTMKit;
  -import org.apache.ojb.otm.copy.ObjectCopyStrategy;
   import org.apache.ojb.otm.kit.SimpleKit;
   import org.apache.ojb.otm.lock.LockType;
   import org.apache.ojb.otm.lock.LockingException;
   import org.apache.ojb.otm.states.State;
   
  -import javax.jdo.*;
  -import javax.jdo.spi.StateManager;
  -import java.util.Collection;
  -import java.util.Iterator;
  -
   /**
    * @author <a href="mailto:mattbaird@yahoo.com">Matthew Baird</a>
    * @author <a href="mailto:brianm@apache.org">Brian McCallister</a>
  
  
  
  No                   revision
  No                   revision
  1.10.2.2  +1 -6      db-ojb/src/java/org/apache/ojb/odmg/collections/DSetEntry.java
  
  Index: DSetEntry.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/odmg/collections/DSetEntry.java,v
  retrieving revision 1.10.2.1
  retrieving revision 1.10.2.2
  diff -u -r1.10.2.1 -r1.10.2.2
  --- DSetEntry.java	3 Apr 2005 02:38:45 -0000	1.10.2.1
  +++ DSetEntry.java	16 Aug 2005 15:04:39 -0000	1.10.2.2
  @@ -17,11 +17,6 @@
   
   import java.io.Serializable;
   
  -import org.apache.ojb.broker.Identity;
  -import org.apache.ojb.broker.PBKey;
  -import org.apache.ojb.broker.PersistenceBroker;
  -import org.apache.ojb.broker.PersistenceBrokerFactory;
  -
   /**
    * Encapsulates an DSet entry object.
    *
  
  
  
  No                   revision
  No                   revision
  1.9.2.2   +3 -5      db-ojb/src/test/org/apache/ojb/performance/PerfMain.java
  
  Index: PerfMain.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/performance/PerfMain.java,v
  retrieving revision 1.9.2.1
  retrieving revision 1.9.2.2
  diff -u -r1.9.2.1 -r1.9.2.2
  --- PerfMain.java	22 Apr 2005 16:42:22 -0000	1.9.2.1
  +++ PerfMain.java	16 Aug 2005 15:04:39 -0000	1.9.2.2
  @@ -19,16 +19,14 @@
   import java.io.PrintStream;
   import java.util.ArrayList;
   import java.util.Collection;
  +import java.util.Collections;
  +import java.util.Comparator;
   import java.util.HashMap;
   import java.util.Hashtable;
   import java.util.Iterator;
   import java.util.List;
   import java.util.Map;
   import java.util.StringTokenizer;
  -import java.util.Collections;
  -import java.util.Comparator;
  -
  -import org.apache.commons.lang.ArrayUtils;
   
   /**
    * The OJB stress/performance test - a simple performance test framework for
  
  
  
  No                   revision
  No                   revision
  1.6.2.2   +1 -3      db-ojb/src/java/org/apache/ojb/broker/accesslayer/conversions/Object2ByteArrFieldConversion.java
  
  Index: Object2ByteArrFieldConversion.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/accesslayer/conversions/Object2ByteArrFieldConversion.java,v
  retrieving revision 1.6.2.1
  retrieving revision 1.6.2.2
  diff -u -r1.6.2.1 -r1.6.2.2
  --- Object2ByteArrFieldConversion.java	2 Apr 2005 16:55:57 -0000	1.6.2.1
  +++ Object2ByteArrFieldConversion.java	16 Aug 2005 15:04:40 -0000	1.6.2.2
  @@ -22,8 +22,6 @@
   import java.util.zip.GZIPInputStream;
   import java.util.zip.GZIPOutputStream;
   
  -import org.apache.ojb.broker.OJBRuntimeException;
  -
   /**
    * This implementation of the FieldConversion interface converts
    * between java.lang.Objects values and byte[] values in the rdbms.
  
  
  

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