commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jua...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/diff/myers PathNode.java
Date Thu, 08 May 2003 05:35:49 GMT
juanco      2003/05/07 22:35:49

  Modified:    jrcs/src/java/org/apache/commons/jrcs/diff/myers
                        PathNode.java
  Log:
  reverted the last not well-thought-out optimization
  
  Revision  Changes    Path
  1.5       +0 -2      jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/diff/myers/PathNode.java
  
  Index: PathNode.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jrcs/src/java/org/apache/commons/jrcs/diff/myers/PathNode.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- PathNode.java	8 May 2003 05:22:53 -0000	1.4
  +++ PathNode.java	8 May 2003 05:35:49 -0000	1.5
  @@ -88,8 +88,6 @@
               throw new IllegalArgumentException("node points to a diagonal");
           this.i = i;
           this.j = j;
  -        while (prev != null && (prev.i == i || prev.j == j))
  -            prev = prev.prev;
           this.prev = prev;
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message