Browse Source

Override equals for SwingLane since super class PlotLane defines it

Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
stable-0.9
Robin Rosenberg 15 years ago
parent
commit
3e8bd24580
  1. 4
      org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/SwingCommitList.java

4
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);
}
}
}

Loading…
Cancel
Save