From 3e8bd245808f68623a06e89025c5cd354b5caf54 Mon Sep 17 00:00:00 2001 From: Robin Rosenberg Date: Sun, 13 Jun 2010 03:30:10 +0200 Subject: [PATCH] Override equals for SwingLane since super class PlotLane defines it Signed-off-by: Robin Rosenberg --- .../src/org/eclipse/jgit/awtui/SwingCommitList.java | 4 ++++ 1 file changed, 4 insertions(+) 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 4a1196447..b58547a9e 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 { static class SwingLane extends PlotLane { Color color; + @Override + public boolean equals(Object o) { + return super.equals(o) && color.equals(((SwingLane)o).color); + } } }