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/test/org/apache/ojb/broker/sqlcount CollectionCountTest.java
Date Wed, 07 Jan 2004 19:08:50 GMT
thma        2004/01/07 11:08:50

  Modified:    src/test/org/apache/ojb/broker MtoNMapping.java
               src/test/org/apache/ojb/odmg ODMGRollbackTest.java
               src/test/org/apache/ojb/broker/sqlcount
                        CollectionCountTest.java
  Log:
  remove unused imports and other warnings
  
  Revision  Changes    Path
  1.19      +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.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- MtoNMapping.java	4 Jan 2004 18:14:55 -0000	1.18
  +++ MtoNMapping.java	7 Jan 2004 19:08:50 -0000	1.19
  @@ -12,7 +12,6 @@
   import org.apache.ojb.broker.query.Query;
   import org.apache.ojb.broker.query.QueryByCriteria;
   import org.apache.ojb.broker.query.QueryFactory;
  -import org.apache.ojb.broker.query.QueryByIdentity;
   
   /** This TestClass tests OJB facilities to work with polymorphism.
    */
  
  
  
  1.19      +1 -2      db-ojb/src/test/org/apache/ojb/odmg/ODMGRollbackTest.java
  
  Index: ODMGRollbackTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/odmg/ODMGRollbackTest.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- ODMGRollbackTest.java	3 Jan 2004 02:17:01 -0000	1.18
  +++ ODMGRollbackTest.java	7 Jan 2004 19:08:50 -0000	1.19
  @@ -19,7 +19,6 @@
   import org.odmg.Implementation;
   import org.odmg.OQLQuery;
   import org.odmg.Transaction;
  -import org.odmg.ODMGException;
   
   /**
    * Do some rollback tests and check behavior within transactions.
  @@ -65,7 +64,7 @@
           tx.begin();
           PersistenceBroker broker = tx.getBroker();
           ODMGZoo obj = new ODMGZoo();
  -        tx.lock(obj, tx.WRITE);
  +        tx.lock(obj, Transaction.WRITE);
           obj.setName("testTransactionFlush");
   
           tx.flush();
  
  
  
  1.9       +1 -2      db-ojb/src/test/org/apache/ojb/broker/sqlcount/CollectionCountTest.java
  
  Index: CollectionCountTest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/broker/sqlcount/CollectionCountTest.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- CollectionCountTest.java	25 Dec 2003 21:30:02 -0000	1.8
  +++ CollectionCountTest.java	7 Jan 2004 19:08:50 -0000	1.9
  @@ -11,7 +11,6 @@
   import java.util.Iterator;
   import java.util.List;
   
  -import org.apache.ojb.broker.*;
   import org.apache.ojb.broker.Article;
   import org.apache.ojb.broker.Identity;
   import org.apache.ojb.broker.InterfaceArticle;
  
  
  

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