Skip to content

Commit

Permalink
fixed files form Chart #23
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent c281612 commit 403a4d1
Showing 1 changed file with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,25 @@ public void drawItem(Graphics2D g2, CategoryItemRendererState state,
*
* @since 1.0.7
*/
public boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof MinMaxCategoryRenderer)) {
return false;
}
MinMaxCategoryRenderer that = (MinMaxCategoryRenderer) obj;
if (this.plotLines != that.plotLines) {
return false;
}
if (!PaintUtilities.equal(this.groupPaint, that.groupPaint)) {
return false;
}
if (!this.groupStroke.equals(that.groupStroke)) {
return false;
}
return super.equals(obj);
}

/**
* Returns an icon.
Expand Down

0 comments on commit 403a4d1

Please sign in to comment.