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);
}
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.