1338-1-2

public Font getItemLabelFont(int row, int column) { Font result = this.itemLabelFont; if (result == null) { result = getSeriesItemLabelFont(row); if (result == null) { result = this.baseItemLabelFont; } } return result;
public Paint getItemLabelPaint(int row, int column) { Paint result = this.itemLabelPaint; if (result == null) { result = getSeriesItemLabelPaint(row); if (result == null) { result = this.baseItemLabelPaint; } } return result;

Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/AbstractRenderer.java |  | File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/AbstractRenderer.java
Method name: `` |  | Method name: ``
Number of AST nodes: 0 |  | Number of AST nodes: 0

1

    public Font getItemLabelFont(int row, int column) {↵

1

    public Paint getItemLabelPaint(int row, int column) {↵

2

            Font result = this.itemLabelFont;↵

2

            Paint result = this.itemLabelPaint;↵

3

            if (result == null) {↵

3

            if (result == null) {↵

4

                result = getSeriesItemLabelFont(row);↵

4

                result = getSeriesItemLabelPaint(row);↵

5

                if (result == null) {↵

5

                if (result == null) {↵

6

                    result = this.baseItemLabelFont;↵

6

                    result = this.baseItemLabelPaint;↵

7

                }↵

7

                }↵

8

            }↵

8

            }↵

9

            return result;↵

9

            return result;↵

10

10

See real code fragment |  | See real code fragment

Summary
Number of common nesting structure subtrees | 0
Number of refactorable cases | 0
Number of non-refactorable cases | 0
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0
Clones location |
Number of node comparisons | 0