db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/util BrokerHelper.java
Date Sat, 12 Jun 2004 12:45:42 GMT
arminw      2004/06/12 05:45:42

  Modified:    src/java/org/apache/ojb/broker/util BrokerHelper.java
  Log:
  fix bug in link method
  
  Revision  Changes    Path
  1.52      +3 -2      db-ojb/src/java/org/apache/ojb/broker/util/BrokerHelper.java
  
  Index: BrokerHelper.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/BrokerHelper.java,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- BrokerHelper.java	4 May 2004 17:38:30 -0000	1.51
  +++ BrokerHelper.java	12 Jun 2004 12:45:41 -0000	1.52
  @@ -688,9 +688,10 @@
           if(cld.getObjectReferenceDescriptors().size() > 0)
           {
               descriptors = cld.getObjectReferenceDescriptors().iterator();
  -            ObjectReferenceDescriptor ord = (ObjectReferenceDescriptor) descriptors.next();
  +            ObjectReferenceDescriptor ord;
               while(descriptors.hasNext())
               {
  +                ord = (ObjectReferenceDescriptor) descriptors.next();
                   if(doLink)
                   {
                       m_broker.linkOneToOne(obj, cld, ord, insert);
  
  
  

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