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/odmg ObjectEnvelopeOrdering.java
Date Thu, 27 Oct 2005 18:21:19 GMT
arminw      2005/10/27 11:21:19

  Modified:    src/java/org/apache/ojb/odmg Tag: OJB_1_0_RELEASE
                        ObjectEnvelopeOrdering.java
  Log:
  minor code cleanup
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.7   +4 -4      db-ojb/src/java/org/apache/ojb/odmg/ObjectEnvelopeOrdering.java
  
  Index: ObjectEnvelopeOrdering.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/odmg/ObjectEnvelopeOrdering.java,v
  retrieving revision 1.1.2.6
  retrieving revision 1.1.2.7
  diff -u -r1.1.2.6 -r1.1.2.7
  --- ObjectEnvelopeOrdering.java	4 Jun 2005 15:03:35 -0000	1.1.2.6
  +++ ObjectEnvelopeOrdering.java	27 Oct 2005 18:21:18 -0000	1.1.2.7
  @@ -91,7 +91,6 @@
       private Vertex[] vertices;
       private List edgeList;
   
  -    private int newOrderIndex;
       private Identity[] newOrder;
   
       /**
  @@ -114,13 +113,14 @@
        */
       public void reorder()
       {
  -        long t1 = 0, t2 = 0, t3 = 0;
  +        int newOrderIndex = 0;
  +        long t1 = 0, t2 = 0, t3;
  +
           if (log.isDebugEnabled())
           {
               t1 = System.currentTimeMillis();
           }
           newOrder = new Identity[originalOrder.size()];
  -        newOrderIndex = 0;
   
           if(log.isDebugEnabled()) log.debug("Orginal order: " + originalOrder);
           // set up the vertex array in the order the envelopes were added
  
  
  

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