100-1-2

if (obj == this) { return true; } if (!(obj instanceof PolarPlot)) { return false; } PolarPlot that = (PolarPlot) obj; if (!ObjectUtilities.equal(this.axis, that.axis)) { return false; } if (!ObjectUtilities.equal(this.renderer, that.renderer)) { return false; } if (!this.angleTickUnit.equals(that.angleTickUnit)) { return false; } if (this.angleGridlinesVisible != that.angleGridlinesVisible) { return false; } if (this.angleLabelsVisible != that.angleLabelsVisible) { return false; } if (!this.angleLabelFont.equals(that.angleLabelFont)) { return false; } if (!PaintUtilities.equal(this.angleLabelPaint, that.angleLabelPaint)) { return false; } if (!ObjectUtilities.equal(this.angleGridlineStroke, that.angleGridlineStroke)) { return false; } if (!PaintUtilities.equal( this.angleGridlinePaint, that.angleGridlinePaint )) { return false; } if (this.radiusGridlinesVisible != that.radiusGridlinesVisible) { return false; } if (!ObjectUtilities.equal(this.radiusGridlineStroke, that.radiusGridlineStroke)) { return false; } if (!PaintUtilities.equal(this.radiusGridlinePaint, that.radiusGridlinePaint)) { return false; } if (!this.cornerTextItems.equals(that.cornerTextItems)) { return false; } return super.equals(obj);
if (obj == this) { return true; } if (!(obj instanceof AbstractXYItemRenderer)) { return false; } AbstractXYItemRenderer that = (AbstractXYItemRenderer) obj; if (!ObjectUtilities.equal(this.itemLabelGenerator, that.itemLabelGenerator)) { return false; } if (!this.itemLabelGeneratorList.equals(that.itemLabelGeneratorList)) { return false; } if (!ObjectUtilities.equal(this.baseItemLabelGenerator, that.baseItemLabelGenerator)) { return false; } if (!ObjectUtilities.equal(this.toolTipGenerator, that.toolTipGenerator)) { return false; } if (!this.toolTipGeneratorList.equals(that.toolTipGeneratorList)) { return false; } if (!ObjectUtilities.equal(this.baseToolTipGenerator, that.baseToolTipGenerator)) { return false; } if (!ObjectUtilities.equal(this.urlGenerator, that.urlGenerator)) { return false; } if (!this.foregroundAnnotations.equals(that.foregroundAnnotations)) { return false; } if (!this.backgroundAnnotations.equals(that.backgroundAnnotations)) { return false; } if (this.defaultEntityRadius != that.defaultEntityRadius) { return false; } if (!ObjectUtilities.equal(this.legendItemLabelGenerator, that.legendItemLabelGenerator)) { return false; } if (!ObjectUtilities.equal(this.legendItemToolTipGenerator, that.legendItemToolTipGenerator)) { return false; } if (!ObjectUtilities.equal(this.legendItemURLGenerator, that.legendItemURLGenerator)) { return false; } return super.equals(obj);

Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/plot/PolarPlot.java |  | File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/AbstractXYItemRenderer.java
Method name: `boolean equals(Object)` |  | Method name: `boolean equals(Object)`
Number of AST nodes: 32 |  | Number of AST nodes: 32

1

    if (obj == this) {↵

1

    if (obj == this) {↵

2

                return true;↵

2

                return true;↵

3

            }↵

3

            }↵

4

            if (!(obj instanceof PolarPlot)) {↵

4

            if (!(obj instanceof AbstractXYItemRenderer)) {↵

5

                return false;↵

5

                return false;↵

6

            }↵

6

            }↵

7

            PolarPlot that = (PolarPlot) obj;↵

7

            AbstractXYItemRenderer that = (AbstractXYItemRenderer) obj;↵

8

            if (!ObjectUtilities.equal(this.axis, that.axis)) {↵

8

            if (!ObjectUtilities.equal(this.↵

9

                return false;↵

9

    itemLabelGenerator,↵

10

            }↵

10

            ↵

11

            if (!ObjectUtilities.equal(this.renderer, that.renderer)) {↵

11

            that.itemLabelGenerator)) {↵

12

                return false;↵

12

                return false;↵

13

            }↵

13

            }↵

14

            if (!this.angleTickUnit.equals(that.angleTickUnit)) {↵

14

            if (!this.itemLabelGeneratorList.equals(that.itemLabelGeneratorList)) {↵

15

                return false;↵

15

                return false;↵

16

            }↵

16

            }↵

17

            if (this.angleGridlinesVisible != that.angleGridlinesVisible) {↵

17

            if (↵

18

                return false;↵

19

            }↵

20

            if (this.angleLabelsVisible != that.angleLabelsVisible↵

18

    !ObjectUtilities.equal(this.baseItemLabelGenerator,↵

19

                    that.baseItemLabelGenerator)) {↵

20

                return false;↵

21

            }↵

22

            if (!ObjectUtilities.equal(this.toolTipGenerator,↵

21

    ) {↵

23

                    that.toolTipGenerator)) {↵

22

                return false;↵

24

                return false;↵

23

            }↵

25

            }↵

24

            if (!this.angleLabelFont.equals(that.angleLabelFont)) {↵

26

            if (!this.toolTipGeneratorList.equals(that.toolTipGeneratorList)) {↵

25

                return false;↵

27

                return false;↵

26

            }↵

28

            }↵

27

            if (!PaintUtilities.equal(this.angleLabelPaint, that.angleLabelPaint↵

29

            if (!ObjectUtilities.equal(this.baseToolTipGenerator,↵

28

    )) {↵

30

                    that.baseToolTipGenerator)) {↵

29

                return false;↵

31

                return false;↵

30

            }↵

32

            }↵

31

            if (!ObjectUtilities.equal(this.angleGridlineStroke,↵

33

            if (!ObjectUtilities.equal(this.↵

32

                    that.angleGridlineStroke)) {↵

34

    urlGenerator, that.urlGenerator)) {↵

33

                return false;↵

35

                return false;↵

34

            }↵

36

            }↵

35

            if (!PaintUtilities.equal(↵

37

            if (!↵

36

                this.angleGridlinePaint, that.angleGridlinePaint↵

37

            ↵

38

    this.foregroundAnnotations.equals(that.foregroundAnnotations)) {↵

39

                return false;↵

40

            }↵

38

    )) {↵

41

            if (!this.backgroundAnnotations.equals(that.backgroundAnnotations)) {↵

39

                return false;↵

42

                return false;↵

40

            }↵

43

            }↵

41

            if (this.radiusGridlinesVisible != that.radiusGridlinesVisible) {↵

44

            if (this.defaultEntityRadius != that.defaultEntityRadius) {↵

42

                return false;↵

45

                return false;↵

43

            }↵

46

            }↵

44

            if (!ObjectUtilities.equal(this.radiusGridlineStroke,↵

47

            if (!ObjectUtilities.equal(this.↵

45

                    that.radiusGridlineStroke↵

48

    legendItemLabelGenerator,↵

46

    )) {↵

49

                    that.legendItemLabelGenerator)) {↵

47

                return false;↵

50

                return false;↵

48

            }↵

51

            }↵

49

            if (!PaintUtilities.equal(this.radiusGridlinePaint,↵

52

            if (!ObjectUtilities.equal(this.legendItemToolTipGenerator,↵

50

                    that.radiusGridlinePaint)) {↵

53

                    that.legendItemToolTipGenerator)) {↵

51

                return false;↵

54

                return false;↵

52

            }↵

55

            }↵

53

            if (!this.cornerTextItems.equals(that.cornerTextItems↵

56

            if (!ObjectUtilities.equal(this.legendItemURLGenerator,↵

54

    )) {↵

57

                    that.legendItemURLGenerator)) {↵

55

                return false;↵

58

                return false;↵

56

            }↵

59

            }↵

57

            return super.equals(obj);

60

            return super.equals(obj);

See real code fragment |  | See real code fragment

Summary
Number of common nesting structure subtrees | 1
Number of refactorable cases | 0
Number of non-refactorable cases | 1
Time elapsed for finding largest common nesting structure subtrees (ms) | 18.5
Clones location | Clones are in different classes
Number of node comparisons | 460

1. {Non-refactorable}

   Mapping Summary
   Number of mapped statements | 24
   Number of unmapped statements in the first code fragment | 7
   Number of unmapped statements in the second code fragment | 5
   Time elapsed for statement mapping (ms) | 7.1
   Clone type | Type 3

   Mapped Statements
   ID | Statement |  | ID | Statement
   --- | --- | --- | --- | ---

   1

       if (obj == this)

   1

       if (obj == this)

   2

       return true;

   2 | return true;
   2 | return true;

   Preondition Violations
   Conditional return true;
   Conditional return true;

   2

       return true;

   3

       if (!(obj instanceof PolarPlot))

   3 | if (!(obj instanceof PolarPlot))
   3 | if (!(obj instanceof AbstractXYItemRenderer))

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.jfree.chart.plot.PolarPlot | org.jfree.chart.renderer.xy.AbstractXYItemRenderer | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type boolean of variable obj instanceof PolarPlot does not match with type boolean of variable obj instanceof AbstractXYItemRenderer
   - Make classes org.jfree.chart.plot.PolarPlot and org.jfree.chart.renderer.xy.AbstractXYItemRenderer extend a common superclass

   3

       if (!(obj instanceof AbstractXYItemRenderer))

   4

       return false;

   4 | return false;
   4 | return false;

   Preondition Violations
   Conditional return false;
   Conditional return false;

   4

       return false;

   5

       AbstractXYItemRenderer that = (AbstractXYItemRenderer)obj;

   5

       PolarPlot that = (PolarPlot)obj;

   6

       if (!ObjectUtilities.equal(this.axis, that.axis))

   6 | if (! ObjectUtilities.equal(this.axis, that.axis))
   6 | if (! ObjectUtilities.equal(this.itemLabelGenerator, that.itemLabelGenerator))

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   axis | itemLabelGenerator | VARIABLE_NAME_MISMATCH
   org.jfree.chart.axis.ValueAxis | org.jfree.chart.labels.XYItemLabelGenerator | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.jfree.chart.axis.ValueAxis of variable this.axis does not match with type org.jfree.chart.labels.XYItemLabelGenerator of variable this.itemLabelGenerator
   - Make classes org.jfree.chart.axis.ValueAxis and org.jfree.chart.labels.XYItemLabelGenerator extend a common superclass

   6

       if (!ObjectUtilities.equal(this.itemLabelGenerator, that.itemLabelGenerator))

   7

       return false;

   7 | return false;
   7 | return false;

   Preondition Violations
   Conditional return false;
   Conditional return false;

   7

       return false;

   8

       if (!ObjectUtilities.equal(this.renderer, that.renderer))

   8 | if (! ObjectUtilities.equal(this.renderer, that.renderer))
   10 | if (! ObjectUtilities.equal(this.baseItemLabelGenerator, that.baseItemLabelGenerator))

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   renderer | baseItemLabelGenerator | VARIABLE_NAME_MISMATCH
   org.jfree.chart.renderer.PolarItemRenderer | org.jfree.chart.labels.XYItemLabelGenerator | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.jfree.chart.renderer.PolarItemRenderer of variable this.renderer does not match with type org.jfree.chart.labels.XYItemLabelGenerator of variable this.baseItemLabelGenerator
   - Make classes org.jfree.chart.renderer.PolarItemRenderer and org.jfree.chart.labels.XYItemLabelGenerator extend a common superclass

   10

       if (!ObjectUtilities.equal(this.baseItemLabelGenerator, that.baseItemLabelGenerator))

   9

       return false;

   9 | return false;
   11 | return false;

   Preondition Violations
   Conditional return false;
   Conditional return false;

   11

       return false;

   10

       if (!this.angleTickUnit.equals(that.angleTickUnit))

   10 | if (! this.angleTickUnit.equals(that.angleTickUnit))
   8 | if (! this.itemLabelGeneratorList.equals(that.itemLabelGeneratorList))

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.jfree.chart.plot.PolarPlot | org.jfree.chart.renderer.xy.AbstractXYItemRenderer | VARIABLE_TYPE_MISMATCH
   angleTickUnit | itemLabelGeneratorList | VARIABLE_NAME_MISMATCH
   org.jfree.chart.axis.TickUnit | org.jfree.util.ObjectList | VARIABLE_TYPE_MISMATCH
   angleTickUnit | itemLabelGeneratorList | VARIABLE_NAME_MISMATCH
   org.jfree.chart.axis.TickUnit | org.jfree.util.ObjectList | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.jfree.chart.plot.PolarPlot of variable that does not match with type org.jfree.chart.renderer.xy.AbstractXYItemRenderer of variable that
   - Make classes org.jfree.chart.plot.PolarPlot and org.jfree.chart.renderer.xy.AbstractXYItemRenderer extend a common superclass

   Type org.jfree.chart.axis.TickUnit of variable that.angleTickUnit does not match with type org.jfree.util.ObjectList of variable that.itemLabelGeneratorList
   - Make classes org.jfree.chart.axis.TickUnit and org.jfree.util.ObjectList extend a common superclass

   Type org.jfree.chart.axis.TickUnit of variable this.angleTickUnit does not match with type org.jfree.util.ObjectList of variable this.itemLabelGeneratorList
   - Make classes org.jfree.chart.axis.TickUnit and org.jfree.util.ObjectList extend a common superclass

   8

       if (!this.itemLabelGeneratorList.equals(that.itemLabelGeneratorList))

   11

       return false;

   11 | return false;
   9 | return false;

   Preondition Violations
   Conditional return false;
   Conditional return false;

   9

       return false;

   12

       if (this.angleGridlinesVisible != that.angleGridlinesVisible)

   13

       return false;

   13 | return false;

   Preondition Violations
   Unmatched return false;

   14

       if (this.angleLabelsVisible != that.angleLabelsVisible)

   15

       return false;

   15 | return false;

   Preondition Violations
   Unmatched return false;

   16

       if (!this.angleLabelFont.equals(that.angleLabelFont))

   16 | if (! this.angleLabelFont.equals(that.angleLabelFont))
   14 | if (! this.toolTipGeneratorList.equals(that.toolTipGeneratorList))

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.jfree.chart.plot.PolarPlot | org.jfree.chart.renderer.xy.AbstractXYItemRenderer | VARIABLE_TYPE_MISMATCH
   angleLabelFont | toolTipGeneratorList | VARIABLE_NAME_MISMATCH
   java.awt.Font | org.jfree.util.ObjectList | VARIABLE_TYPE_MISMATCH
   angleLabelFont | toolTipGeneratorList | VARIABLE_NAME_MISMATCH
   java.awt.Font | org.jfree.util.ObjectList | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type org.jfree.chart.plot.PolarPlot of variable that does not match with type org.jfree.chart.renderer.xy.AbstractXYItemRenderer of variable that
   - Make classes org.jfree.chart.plot.PolarPlot and org.jfree.chart.renderer.xy.AbstractXYItemRenderer extend a common superclass

   Type java.awt.Font of variable that.angleLabelFont does not match with type org.jfree.util.ObjectList of variable that.toolTipGeneratorList
   - Make classes java.awt.Font and org.jfree.util.ObjectList extend a common superclass

   Type java.awt.Font of variable this.angleLabelFont does not match with type org.jfree.util.ObjectList of variable this.toolTipGeneratorList
   - Make classes java.awt.Font and org.jfree.util.ObjectList extend a common superclass

   14

       if (!this.toolTipGeneratorList.equals(that.toolTipGeneratorList))

   17

       return false;

   17 | return false;
   15 | return false;

   Preondition Violations
   Conditional return false;
   Conditional return false;

   15

       return false;

   18

       if (!PaintUtilities.equal(this.angleLabelPaint, that.angleLabelPaint))

   18 | if (! PaintUtilities.equal(this.angleLabelPaint, that.angleLabelPaint))
   18 | if (! ObjectUtilities.equal(this.urlGenerator, that.urlGenerator))

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   angleLabelPaint | urlGenerator | VARIABLE_NAME_MISMATCH
   java.awt.Paint | org.jfree.chart.urls.XYURLGenerator | VARIABLE_TYPE_MISMATCH
   org.jfree.util.PaintUtilities | org.jfree.util.ObjectUtilities | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type java.awt.Paint of variable this.angleLabelPaint does not match with type org.jfree.chart.urls.XYURLGenerator of variable this.urlGenerator
   - Make classes java.awt.Paint and org.jfree.chart.urls.XYURLGenerator extend a common superclass

   Type org.jfree.util.PaintUtilities of variable PaintUtilities does not match with type org.jfree.util.ObjectUtilities of variable ObjectUtilities
   - Make classes org.jfree.util.PaintUtilities and org.jfree.util.ObjectUtilities extend a common superclass

   18

       if (!ObjectUtilities.equal(this.urlGenerator, that.urlGenerator))

   19

       return false;

   19 | return false;
   19 | return false;

   Preondition Violations
   Conditional return false;
   Conditional return false;

   19

       return false;

   20

       if (!ObjectUtilities.equal(this.angleGridlineStroke, that.angleGridlineStroke))

   20 | if (! ObjectUtilities.equal(this.angleGridlineStroke, that.angleGridlineStroke))
   16 | if (! ObjectUtilities.equal(this.baseToolTipGenerator, that.baseToolTipGenerator))

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   angleGridlineStroke | baseToolTipGenerator | VARIABLE_NAME_MISMATCH
   java.awt.Stroke | org.jfree.chart.labels.XYToolTipGenerator | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type java.awt.Stroke of variable this.angleGridlineStroke does not match with type org.jfree.chart.labels.XYToolTipGenerator of variable this.baseToolTipGenerator
   - Make classes java.awt.Stroke and org.jfree.chart.labels.XYToolTipGenerator extend a common superclass

   16

       if (!ObjectUtilities.equal(this.baseToolTipGenerator, that.baseToolTipGenerator))

   21

       return false;

   21 | return false;
   17 | return false;

   Preondition Violations
   Conditional return false;
   Conditional return false;

   17

       return false;

   22

       if (!this.backgroundAnnotations.equals(that.backgroundAnnotations))

   23 | return false;

   Preondition Violations
   Unmatched return false;

   23

       return false;

   24

       if (this.defaultEntityRadius != that.defaultEntityRadius)

   25 | return false;

   Preondition Violations
   Unmatched return false;

   25

       return false;

   22

       if (!PaintUtilities.equal(this.angleGridlinePaint, that.angleGridlinePaint))

   22 | if (! PaintUtilities.equal(this.angleGridlinePaint, that.angleGridlinePaint))
   26 | if (! ObjectUtilities.equal(this.legendItemLabelGenerator, that.legendItemLabelGenerator))

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   angleGridlinePaint | legendItemLabelGenerator | VARIABLE_NAME_MISMATCH
   java.awt.Paint | org.jfree.chart.labels.XYSeriesLabelGenerator | VARIABLE_TYPE_MISMATCH
   org.jfree.util.PaintUtilities | org.jfree.util.ObjectUtilities | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type java.awt.Paint of variable this.angleGridlinePaint does not match with type org.jfree.chart.labels.XYSeriesLabelGenerator of variable this.legendItemLabelGenerator
   - Make classes java.awt.Paint and org.jfree.chart.labels.XYSeriesLabelGenerator extend a common superclass

   Type org.jfree.util.PaintUtilities of variable PaintUtilities does not match with type org.jfree.util.ObjectUtilities of variable ObjectUtilities
   - Make classes org.jfree.util.PaintUtilities and org.jfree.util.ObjectUtilities extend a common superclass

   26

       if (!ObjectUtilities.equal(this.legendItemLabelGenerator, that.legendItemLabelGenerator))

   23

       return false;

   23 | return false;
   27 | return false;

   Preondition Violations
   Conditional return false;
   Conditional return false;

   27

       return false;

   24

       if (this.radiusGridlinesVisible != that.radiusGridlinesVisible)

   25

       return false;

   25 | return false;

   Preondition Violations
   Unmatched return false;

   26

       if (!ObjectUtilities.equal(this.radiusGridlineStroke, that.radiusGridlineStroke))

   26 | if (! ObjectUtilities.equal(this.radiusGridlineStroke, that.radiusGridlineStroke))
   28 | if (! ObjectUtilities.equal(this.legendItemToolTipGenerator, that.legendItemToolTipGenerator))

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   radiusGridlineStroke | legendItemToolTipGenerator | VARIABLE_NAME_MISMATCH
   java.awt.Stroke | org.jfree.chart.labels.XYSeriesLabelGenerator | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type java.awt.Stroke of variable this.radiusGridlineStroke does not match with type org.jfree.chart.labels.XYSeriesLabelGenerator of variable this.legendItemToolTipGenerator
   - Make classes java.awt.Stroke and org.jfree.chart.labels.XYSeriesLabelGenerator extend a common superclass

   28

       if (!ObjectUtilities.equal(this.legendItemToolTipGenerator, that.legendItemToolTipGenerator))

   27

       return false;

   27 | return false;
   29 | return false;

   Preondition Violations
   Conditional return false;
   Conditional return false;

   29

       return false;

   28

       if (!PaintUtilities.equal(this.radiusGridlinePaint, that.radiusGridlinePaint))

   28 | if (! PaintUtilities.equal(this.radiusGridlinePaint, that.radiusGridlinePaint))
   12 | if (! ObjectUtilities.equal(this.toolTipGenerator, that.toolTipGenerator))

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   radiusGridlinePaint | toolTipGenerator | VARIABLE_NAME_MISMATCH
   java.awt.Paint | org.jfree.chart.labels.XYToolTipGenerator | VARIABLE_TYPE_MISMATCH
   org.jfree.util.PaintUtilities | org.jfree.util.ObjectUtilities | VARIABLE_TYPE_MISMATCH

   Preondition Violations

   Type java.awt.Paint of variable this.radiusGridlinePaint does not match with type org.jfree.chart.labels.XYToolTipGenerator of variable this.toolTipGenerator
   - Make classes java.awt.Paint and org.jfree.chart.labels.XYToolTipGenerator extend a common superclass

   Type org.jfree.util.PaintUtilities of variable PaintUtilities does not match with type org.jfree.util.ObjectUtilities of variable ObjectUtilities
   - Make classes org.jfree.util.PaintUtilities and org.jfree.util.ObjectUtilities extend a common superclass

   12

       if (!ObjectUtilities.equal(this.toolTipGenerator, that.toolTipGenerator))

   29

       return false;

   29 | return false;
   13 | return false;

   Preondition Violations
   Conditional return false;
   Conditional return false;

   13

       return false;

   30

       if (!this.cornerTextItems.equals(that.cornerTextItems))

   30 | if (! this.cornerTextItems.equals(that.cornerTextItems))
   20 | if (! this.foregroundAnnotations.equals(that.foregroundAnnotations))

   Differences
   Expression1 | Expression2 | Difference
   --- | --- | ---
   org.jfree.chart.plot.PolarPlot | org.jfree.chart.renderer.xy.AbstractXYItemRenderer | VARIABLE_TYPE_MISMATCH
   cornerTextItems | foregroundAnnotations | VARIABLE_NAME_MISMATCH
   cornerTextItems | foregroundAnnotations | VARIABLE_NAME_MISMATCH

   Preondition Violations

   Type org.jfree.chart.plot.PolarPlot of variable that does not match with type org.jfree.chart.renderer.xy.AbstractXYItemRenderer of variable that
   - Make classes org.jfree.chart.plot.PolarPlot and org.jfree.chart.renderer.xy.AbstractXYItemRenderer extend a common superclass

   20

       if (!this.foregroundAnnotations.equals(that.foregroundAnnotations))

   31

       return false;

   31 | return false;
   21 | return false;

   Preondition Violations
   Conditional return false;
   Conditional return false;

   21

       return false;

   Precondition Violations (47)
   Row | Violation
   --- | ---
   1 | Type boolean of variable obj instanceof PolarPlot does not match with type boolean of variable obj instanceof AbstractXYItemRenderer
   2 | Type org.jfree.chart.axis.ValueAxis of variable this.axis does not match with type org.jfree.chart.labels.XYItemLabelGenerator of variable this.itemLabelGenerator
   3 | Type org.jfree.chart.renderer.PolarItemRenderer of variable this.renderer does not match with type org.jfree.chart.labels.XYItemLabelGenerator of variable this.baseItemLabelGenerator
   4 | Type org.jfree.chart.plot.PolarPlot of variable that does not match with type org.jfree.chart.renderer.xy.AbstractXYItemRenderer of variable that
   5 | Type org.jfree.chart.axis.TickUnit of variable that.angleTickUnit does not match with type org.jfree.util.ObjectList of variable that.itemLabelGeneratorList
   6 | Type org.jfree.chart.axis.TickUnit of variable this.angleTickUnit does not match with type org.jfree.util.ObjectList of variable this.itemLabelGeneratorList
   7 | Unmatched return false;
   8 | Unmatched return false;
   9 | Type org.jfree.chart.plot.PolarPlot of variable that does not match with type org.jfree.chart.renderer.xy.AbstractXYItemRenderer of variable that
   10 | Type java.awt.Font of variable that.angleLabelFont does not match with type org.jfree.util.ObjectList of variable that.toolTipGeneratorList
   11 | Type java.awt.Font of variable this.angleLabelFont does not match with type org.jfree.util.ObjectList of variable this.toolTipGeneratorList
   12 | Type java.awt.Paint of variable this.angleLabelPaint does not match with type org.jfree.chart.urls.XYURLGenerator of variable this.urlGenerator
   13 | Type org.jfree.util.PaintUtilities of variable PaintUtilities does not match with type org.jfree.util.ObjectUtilities of variable ObjectUtilities
   14 | Type java.awt.Stroke of variable this.angleGridlineStroke does not match with type org.jfree.chart.labels.XYToolTipGenerator of variable this.baseToolTipGenerator
   15 | Unmatched return false;
   16 | Unmatched return false;
   17 | Type java.awt.Paint of variable this.angleGridlinePaint does not match with type org.jfree.chart.labels.XYSeriesLabelGenerator of variable this.legendItemLabelGenerator
   18 | Type org.jfree.util.PaintUtilities of variable PaintUtilities does not match with type org.jfree.util.ObjectUtilities of variable ObjectUtilities
   19 | Unmatched return false;
   20 | Type java.awt.Stroke of variable this.radiusGridlineStroke does not match with type org.jfree.chart.labels.XYSeriesLabelGenerator of variable this.legendItemToolTipGenerator
   21 | Type java.awt.Paint of variable this.radiusGridlinePaint does not match with type org.jfree.chart.labels.XYToolTipGenerator of variable this.toolTipGenerator
   22 | Type org.jfree.util.PaintUtilities of variable PaintUtilities does not match with type org.jfree.util.ObjectUtilities of variable ObjectUtilities
   23 | Type org.jfree.chart.plot.PolarPlot of variable that does not match with type org.jfree.chart.renderer.xy.AbstractXYItemRenderer of variable that
   24 | Conditional return true;
   25 | Conditional return true;
   26 | Conditional return false;
   27 | Conditional return false;
   28 | Conditional return false;
   29 | Conditional return false;
   30 | Conditional return false;
   31 | Conditional return false;
   32 | Conditional return false;
   33 | Conditional return false;
   34 | Conditional return false;
   35 | Conditional return false;
   36 | Conditional return false;
   37 | Conditional return false;
   38 | Conditional return false;
   39 | Conditional return false;
   40 | Conditional return false;
   41 | Conditional return false;
   42 | Conditional return false;
   43 | Conditional return false;
   44 | Conditional return false;
   45 | Conditional return false;
   46 | Conditional return false;
   47 | Conditional return false;