You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2008/07/11 15:21:57 UTC

svn commit: r675942 - /lenya/docu/modules/diff/java/src/org/apache/lenya/modules/diff/lcs/FragmentingHandler.java

Author: andreas
Date: Fri Jul 11 06:21:55 2008
New Revision: 675942

URL: http://svn.apache.org/viewvc?rev=675942&view=rev
Log:
Fixed minor issue in fragementing handler.

Modified:
    lenya/docu/modules/diff/java/src/org/apache/lenya/modules/diff/lcs/FragmentingHandler.java

Modified: lenya/docu/modules/diff/java/src/org/apache/lenya/modules/diff/lcs/FragmentingHandler.java
URL: http://svn.apache.org/viewvc/lenya/docu/modules/diff/java/src/org/apache/lenya/modules/diff/lcs/FragmentingHandler.java?rev=675942&r1=675941&r2=675942&view=diff
==============================================================================
--- lenya/docu/modules/diff/java/src/org/apache/lenya/modules/diff/lcs/FragmentingHandler.java (original)
+++ lenya/docu/modules/diff/java/src/org/apache/lenya/modules/diff/lcs/FragmentingHandler.java Fri Jul 11 06:21:55 2008
@@ -18,8 +18,8 @@
         endRemoving();
         if (state != ADDING) {
             handler.startAdding();
+            state = ADDING;
         }
-        state = ADDING;
         handler.element(newObj);
     }
 
@@ -38,9 +38,9 @@
 
     public void removed(Object oldObj) throws Exception {
         endAdding();
-        state = REMOVING;
         if (state != REMOVING) {
             handler.startRemoving();
+            state = REMOVING;
         }
         handler.element(oldObj);
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org