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/test/org/apache/ojb/odmg RITest.java
Date Thu, 06 Feb 2003 21:30:03 GMT
brj         2003/02/06 13:30:03

  Modified:    src/test/org/apache/ojb/odmg RITest.java
  Log:
  avoid deprecated Identity constructor
  
  Revision  Changes    Path
  1.10      +4 -4      db-ojb/src/test/org/apache/ojb/odmg/RITest.java
  
  Index: RITest.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/test/org/apache/ojb/odmg/RITest.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- RITest.java	2 Feb 2003 15:49:23 -0000	1.9
  +++ RITest.java	6 Feb 2003 21:30:03 -0000	1.10
  @@ -66,7 +66,7 @@
               Master aMaster1 = new Master();
               aMaster1.masterText = "Master 1";
               aMaster1.collDetailFKnoPK = new java.util.Vector();
  -            new Identity(aMaster1);
  +            new Identity(aMaster1,((HasBroker)tx).getBroker());
               for (int i = 0; i < 100; i++)
               {
                   DetailFKnoPK aDetail = new DetailFKnoPK();
  @@ -78,7 +78,7 @@
               Master aMaster2 = new Master();
               aMaster2.masterText = "Master 2";
               aMaster2.collDetailFKnoPK = new java.util.Vector();
  -            new Identity(aMaster2);
  +            new Identity(aMaster2,((HasBroker)tx).getBroker());
               for (int i = 0; i < 5; i++)
               {
                   DetailFKnoPK aDetail = new DetailFKnoPK();
  @@ -114,7 +114,7 @@
               Master aMaster1 = new Master();
               aMaster1.masterText = "Master 1";
               aMaster1.collDetailFKinPK = new java.util.Vector();
  -            new Identity(aMaster1);
  +            new Identity(aMaster1, ((HasBroker)tx).getBroker());
               for (int i = 0; i < 5; i++)
               {
                   DetailFKinPK aDetail = new DetailFKinPK();
  @@ -126,7 +126,7 @@
               Master aMaster2 = new Master();
               aMaster2.masterText = "Master 2";
               aMaster2.collDetailFKinPK = new java.util.Vector();
  -            new Identity(aMaster2);
  +            new Identity(aMaster2,((HasBroker)tx).getBroker());
               for (int i = 0; i < 5; i++)
               {
                   DetailFKinPK aDetail = new DetailFKinPK();
  
  
  

Mime
View raw message