]> source.dussan.org Git - jgit.git/commitdiff
Override equals for SwingLane since super class PlotLane defines it 52/852/1
authorRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 13 Jun 2010 01:30:10 +0000 (03:30 +0200)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 13 Jun 2010 01:30:10 +0000 (03:30 +0200)
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/SwingCommitList.java

index 4a1196447331cf2a8df202462e2517bd79355fd7..b58547a9e139c3c45f3ea62783795f7cd4a3c8e3 100644 (file)
@@ -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);
+               }
        }
 }