diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2010-06-13 03:30:10 +0200 |
---|---|---|
committer | Robin Rosenberg <robin.rosenberg@dewire.com> | 2010-06-13 03:30:10 +0200 |
commit | 3e8bd245808f68623a06e89025c5cd354b5caf54 (patch) | |
tree | 87ae5c96c1cb1c105add7096a1f4b80f1fa53f73 /org.eclipse.jgit.ui/src/org/eclipse | |
parent | e7c9db836bb3b7b33f3e7894c0a3de6f9aeab621 (diff) | |
download | jgit-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/src/org/eclipse')
-rw-r--r-- | org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/SwingCommitList.java | 4 |
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); + } } } |