diff --git a/projects/Chart/23/org/jfree/chart/renderer/category/MinMaxCategoryRenderer.java b/projects/Chart/23/org/jfree/chart/renderer/category/MinMaxCategoryRenderer.java index bbd5ddb..d2b24c6 100644 --- a/projects/Chart/23/org/jfree/chart/renderer/category/MinMaxCategoryRenderer.java +++ b/projects/Chart/23/org/jfree/chart/renderer/category/MinMaxCategoryRenderer.java @@ -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.