summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.ui
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2010-06-13 03:30:10 +0200
committerRobin Rosenberg <robin.rosenberg@dewire.com>2010-06-13 03:30:10 +0200
commit3e8bd245808f68623a06e89025c5cd354b5caf54 (patch)
tree87ae5c96c1cb1c105add7096a1f4b80f1fa53f73 /org.eclipse.jgit.ui
parente7c9db836bb3b7b33f3e7894c0a3de6f9aeab621 (diff)
downloadjgit-3e8bd245808f68623a06e89025c5cd354b5caf54.tar.gz
jgit-3e8bd245808f68623a06e89025c5cd354b5caf54.zip
Override equals for SwingLane since super class PlotLane defines it
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
Diffstat (limited to 'org.eclipse.jgit.ui')
-rw-r--r--org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/SwingCommitList.java4
1 files changed, 4 insertions, 0 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 4a11964473..b58547a9e1 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,5 +83,9 @@ 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);
+ }
}
}