XYItemRenderer r = getRenderer(i); if (i >= getDatasetCount()) { // we need the dataset to make continue; // a link to the axes } if (r != null) { ValueAxis domainAxis = getDomainAxisForDataset(i); ValueAxis rangeAxis = getRangeAxisForDataset(i); r.drawAnnotations(g2, dataArea, domainAxis, rangeAxis, Layer.BACKGROUND, info); }
XYItemRenderer r = getRenderer(i); if (i >= getDatasetCount()) { // we need the dataset to make continue; // a link to the axes } 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/XYPlot.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
XYItemRenderer r = getRenderer(i);
1
XYItemRenderer r = getRenderer(i);
2
                if (i >= getDatasetCount()) { // we need the dataset to make
2
                if (i >= getDatasetCount()) { // we need the dataset to make
3
                    continue;                 // a link to the axes
3
                    continue;                 // a link to the axes
4
                }
4
                }
5
                if (r != null) {
5
                if (r != null) {
6
                    ValueAxis domainAxis = getDomainAxisForDataset(i);
6
                    ValueAxis domainAxis = getDomainAxisForDataset(i);
7
                    ValueAxis rangeAxis = getRangeAxisForDataset(i);
7
                    ValueAxis rangeAxis = getRangeAxisForDataset(i);
8
                    r.drawAnnotations(g2, dataArea, domainAxis, rangeAxis,
8
                    r.drawAnnotations(g2, dataArea, domainAxis, rangeAxis,
9
                            Layer.BACKGROUND, info);
9
                            Layer.FOREGROUND, info);
10
                }
10
                }
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0