1284-1-3

int columnCount = data.getColumnCount(); for (int c = 0; c < columnCount; c++) { double xx = axis.getCategoryJava2DCoordinate( anchor, c, columnCount, dataArea, domainAxisEdge); CategoryItemRenderer renderer1 = getRenderer(); if (renderer1 != null) { renderer1.drawDomainGridline(g2, this, dataArea, xx);
for (int i = 0; i < rendererCount; i++) { XYItemRenderer r = getRenderer(i); if (r != null) { ValueAxis domainAxis = getDomainAxisForDataset(i); ValueAxis rangeAxis = getRangeAxisForDataset(i); r.drawAnnotations(g2, dataArea, domainAxis, rangeAxis, Layer.FOREGROUND, info);

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

1

    int columnCount = data.getColumnCount();↵

2

                            for (int c = 0; c < columnCount; c++) {↵

1

    for (int i = 0; i < rendererCount; i++) {↵

3

                                double xx = axis.getCategoryJava2DCoordinate(↵

2

                    ↵

4

                                        anchor, c, columnCount, dataArea,↵

5

                                        domainAxisEdge);↵

6

                                CategoryItemRenderer renderer1 = getRenderer();↵

7

                                if (renderer1 != null) {↵

8

                                    renderer1.drawDomainGridline(g2, this,↵

9

                                            dataArea, xx);↵

10

                ↵

3

    XYItemRenderer r = getRenderer(i);↵

4

                    if (r != null) {↵

5

                        ValueAxis domainAxis = getDomainAxisForDataset(i);↵

6

                        ValueAxis rangeAxis = getRangeAxisForDataset(i);↵

7

                        r.drawAnnotations(g2, dataArea, domainAxis, rangeAxis,↵

8

                                Layer.FOREGROUND, info);↵

11

9

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