summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.ui/src
diff options
context:
space:
mode:
authorKonrad Kügler <swamblumat-eclipsebugs@yahoo.de>2014-04-27 20:35:14 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2014-05-03 23:08:09 +0200
commite5f7fdcf4f9f0e0d5175e612a466706d58accc0e (patch)
tree35f55eb99231a0f2ad1d512bd5ba323270c1c11f /org.eclipse.jgit.ui/src
parent8b65a4e6c6fbbfb4c62fc69690ebce63ad689981 (diff)
downloadjgit-e5f7fdcf4f9f0e0d5175e612a466706d58accc0e.tar.gz
jgit-e5f7fdcf4f9f0e0d5175e612a466706d58accc0e.zip
PlotLane: Use identity hashCode and equals
Using the lane position and other data for equals/hashCode is not useful. Change-Id: I7af151d8a84544a77a486474c8ac71dd80090c66 Signed-off-by: Konrad Kügler <swamblumat-eclipsebugs@yahoo.de>
Diffstat (limited to 'org.eclipse.jgit.ui/src')
-rw-r--r--org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/SwingCommitList.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/SwingCommitList.java b/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/SwingCommitList.java
index d8660e5ed6..4a11964473 100644
--- a/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/SwingCommitList.java
+++ b/org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/SwingCommitList.java
@@ -83,14 +83,5 @@ class SwingCommitList extends PlotCommitList<SwingCommitList.SwingLane> {
static class SwingLane extends PlotLane {
Color color;
- @Override
- public boolean equals(Object o) {
- return super.equals(o) && color.equals(((SwingLane)o).color);
- }
-
- @Override
- public int hashCode() {
- return super.hashCode() ^ color.hashCode();
- }
}
}