Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Valenta2007-05-16 16:07:37 +0000
committerMichael Valenta2007-05-16 16:07:37 +0000
commit2987d9cf55a2d88a69c644b62f9fd7fd78f3252f (patch)
treec6f0eaa4dae7bb7a095e17ebe2c1ac9db8a34a6f /examples
parent72f8cc33339fa2b8bcbd8763f56410bbde54ca83 (diff)
downloadeclipse.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.java3
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;

Back to the top