You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by th...@apache.org on 2003/06/02 14:52:29 UTC
cvs commit: db-ojb/src/java/org/apache/ojb/broker Identity.java
thma 2003/06/02 05:52:29
Modified: src/test/org/apache/ojb/broker/metadata MetadataTest.java
src/test/org/apache/ojb/broker MultipleDBTest.java
MtoNMapping.java FarAwayReference.java
src/java/org/apache/ojb/otm/lock IsolationFactory.java
src/java/org/apache/ojb/otm/core BaseConnection.java
src/test/org/apache/ojb/otm LockTestBase.java
src/java/org/apache/ojb/broker Identity.java
Log:
removed unused import statements
Revision Changes Path
1.10 +0 -1 db-ojb/src/test/org/apache/ojb/broker/metadata/MetadataTest.java
Index: MetadataTest.java
===================================================================
RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/metadata/MetadataTest.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- MetadataTest.java 24 May 2003 01:41:59 -0000 1.9
+++ MetadataTest.java 2 Jun 2003 12:52:28 -0000 1.10
@@ -5,7 +5,6 @@
import org.apache.ojb.broker.PersistenceBroker;
import org.apache.ojb.broker.PersistenceBrokerFactory;
import org.apache.ojb.broker.TestHelper;
-import org.apache.ojb.broker.Identity;
import org.apache.ojb.broker.PersistenceBrokerException;
import org.apache.ojb.broker.query.Criteria;
import org.apache.ojb.broker.query.Query;
1.11 +0 -1 db-ojb/src/test/org/apache/ojb/broker/MultipleDBTest.java
Index: MultipleDBTest.java
===================================================================
RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/MultipleDBTest.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- MultipleDBTest.java 22 May 2003 19:39:42 -0000 1.10
+++ MultipleDBTest.java 2 Jun 2003 12:52:28 -0000 1.11
@@ -7,7 +7,6 @@
import org.apache.ojb.broker.query.Criteria;
import java.sql.Connection;
-import java.io.Serializable;
/**
* Test to check support for multiple DB.
1.13 +0 -1 db-ojb/src/test/org/apache/ojb/broker/MtoNMapping.java
Index: MtoNMapping.java
===================================================================
RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/MtoNMapping.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- MtoNMapping.java 23 May 2003 16:45:40 -0000 1.12
+++ MtoNMapping.java 2 Jun 2003 12:52:28 -0000 1.13
@@ -9,7 +9,6 @@
import org.apache.ojb.broker.query.Criteria;
import org.apache.ojb.broker.query.Query;
-import org.apache.ojb.broker.query.QueryByCriteria;
import org.apache.ojb.broker.query.QueryFactory;
/** This TestClass tests OJB facilities to work with polymorphism.
1.4 +1 -2 db-ojb/src/test/org/apache/ojb/broker/FarAwayReference.java
Index: FarAwayReference.java
===================================================================
RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/FarAwayReference.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- FarAwayReference.java 22 May 2003 19:39:42 -0000 1.3
+++ FarAwayReference.java 2 Jun 2003 12:52:28 -0000 1.4
@@ -1,6 +1,5 @@
package org.apache.ojb.broker;
-import java.io.Serializable;
/**
*
1.5 +0 -10 db-ojb/src/java/org/apache/ojb/otm/lock/IsolationFactory.java
Index: IsolationFactory.java
===================================================================
RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/otm/lock/IsolationFactory.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- IsolationFactory.java 25 May 2003 20:58:33 -0000 1.4
+++ IsolationFactory.java 2 Jun 2003 12:52:28 -0000 1.5
@@ -54,16 +54,6 @@
* <http://www.apache.org/>.
*/
-//#ifdef JDK13
-import java.lang.reflect.Proxy;
-//#else
-/*
-import com.develop.java.lang.reflect.Proxy;
-*/
-//#endif
-
-import org.apache.ojb.broker.VirtualProxy;
-import org.apache.ojb.broker.accesslayer.IndirectionHandler;
import org.apache.ojb.broker.metadata.ClassDescriptor;
import org.apache.ojb.broker.metadata.IsolationLevels;
import org.apache.ojb.otm.OTMConnection;
1.7 +0 -1 db-ojb/src/java/org/apache/ojb/otm/core/BaseConnection.java
Index: BaseConnection.java
===================================================================
RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/otm/core/BaseConnection.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- BaseConnection.java 25 May 2003 20:58:33 -0000 1.6
+++ BaseConnection.java 2 Jun 2003 12:52:29 -0000 1.7
@@ -63,7 +63,6 @@
import org.apache.ojb.broker.core.PersistenceBrokerFactoryFactory;
import org.apache.ojb.otm.EditingContext;
import org.apache.ojb.otm.OTMConnection;
-import org.apache.ojb.otm.OTMKit;
import org.apache.ojb.otm.lock.LockType;
import org.apache.ojb.otm.lock.LockingException;
1.2 +0 -1 db-ojb/src/test/org/apache/ojb/otm/LockTestBase.java
Index: LockTestBase.java
===================================================================
RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/otm/LockTestBase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- LockTestBase.java 25 May 2003 20:59:53 -0000 1.1
+++ LockTestBase.java 2 Jun 2003 12:52:29 -0000 1.2
@@ -7,7 +7,6 @@
import junit.framework.TestCase;
import org.apache.ojb.broker.Article;
-import org.apache.ojb.broker.Identity;
import org.apache.ojb.broker.PersistenceBrokerFactory;
import org.apache.ojb.otm.core.Transaction;
import org.apache.ojb.otm.lock.ObjectLock;
1.19 +2 -4 db-ojb/src/java/org/apache/ojb/broker/Identity.java
Index: Identity.java
===================================================================
RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/Identity.java,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- Identity.java 24 May 2003 23:58:21 -0000 1.18
+++ Identity.java 2 Jun 2003 12:52:29 -0000 1.19
@@ -67,12 +67,10 @@
import java.util.zip.GZIPOutputStream;
//#ifdef JDK13
-import java.lang.reflect.InvocationHandler;
import java.lang.reflect.Proxy;
//#else
/*
import com.develop.java.lang.reflect.Proxy;
-import com.develop.java.lang.reflect.InvocationHandler;
*/
//#endif
@@ -120,7 +118,7 @@
* that aClass is not a member of an extent, or that it is the base class of
* an extent!
*
- * @deprecated
+ * @deprecated please use the public Identity(Class realClass, Class topLevel, Object[] pkValues) Constructor
*
* @param aClass java.lang.Class
* @param pkValues List