diff options
Diffstat (limited to 'bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/PatchDiffNode.java')
-rw-r--r-- | bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/PatchDiffNode.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/PatchDiffNode.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/PatchDiffNode.java index c6ce4ee9b..76722c7b8 100644 --- a/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/PatchDiffNode.java +++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/internal/patch/PatchDiffNode.java @@ -49,7 +49,7 @@ public abstract class PatchDiffNode extends DiffNode implements IResourceProvide } protected abstract PatchConfiguration getConfiguration(); - + public boolean equals(Object other) { if (other instanceof PatchDiffNode) { PatchDiffNode node = (PatchDiffNode) other; @@ -57,7 +57,7 @@ public abstract class PatchDiffNode extends DiffNode implements IResourceProvide } return super.equals(other); } - + public int hashCode() { return getPatchElement().hashCode(); } |