Skip to content
Snippets Groups Projects
Commit 3e8bd245 authored by Robin Rosenberg's avatar Robin Rosenberg
Browse files

Override equals for SwingLane since super class PlotLane defines it

parent e7c9db83
No related branches found
No related tags found
No related merge requests found
...@@ -83,5 +83,9 @@ protected void recycleLane(final SwingLane lane) { ...@@ -83,5 +83,9 @@ protected void recycleLane(final SwingLane lane) {
static class SwingLane extends PlotLane { static class SwingLane extends PlotLane {
Color color; Color color;
@Override
public boolean equals(Object o) {
return super.equals(o) && color.equals(((SwingLane)o).color);
}
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment