diff options
author | Michael Valenta | 2007-05-16 16:07:37 +0000 |
---|---|---|
committer | Michael Valenta | 2007-05-16 16:07:37 +0000 |
commit | 2987d9cf55a2d88a69c644b62f9fd7fd78f3252f (patch) | |
tree | c6f0eaa4dae7bb7a095e17ebe2c1ac9db8a34a6f /examples | |
parent | 72f8cc33339fa2b8bcbd8763f56410bbde54ca83 (diff) | |
download | eclipse.platform.team-2987d9cf55a2d88a69c644b62f9fd7fd78f3252f.tar.gz eclipse.platform.team-2987d9cf55a2d88a69c644b62f9fd7fd78f3252f.tar.xz eclipse.platform.team-2987d9cf55a2d88a69c644b62f9fd7fd78f3252f.zip |
Bug 185990 [Examples] Internal error comparing after applying patch
Diffstat (limited to 'examples')
-rw-r--r-- | examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/AbstractMatching.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/AbstractMatching.java b/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/AbstractMatching.java index dda01dd6f..158b62412 100644 --- a/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/AbstractMatching.java +++ b/examples/org.eclipse.compare.examples.xml/src/org/eclipse/compare/examples/xml/AbstractMatching.java @@ -136,7 +136,8 @@ public abstract class AbstractMatching { } //unordered compare of subtrees - int distance= dist((XMLNode)other.getXML_elements()[otherIndex] , (XMLNode)fXML_elements[thisIndex]); + // TODO The dist method is order dependent but should not be + int distance= dist(thisNode, otherNode); return sameId || distance == 0; } return false; |