1761-1-2

for (int i = 0; i < seriesCount; i++) { if (isSeriesVisibleInLegend(i)) { LegendItem item = getLegendItem(index, i); if (item != null) { result.add(item);
for (int i = 0; i < seriesCount; i++) { if (isSeriesVisibleInLegend(i)) { LegendItem item = getLegendItem(index, i); if (item != null) { result.add(item);

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

1

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

1

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

2

                    if (isSeriesVisibleInLegend(i)) {↵

2

                    if (isSeriesVisibleInLegend(i)) {↵

3

                        LegendItem item = getLegendItem(index, i);↵

3

                        LegendItem item = getLegendItem(index, i);↵

4

                        if (item != null) {↵

4

                        if (item != null) {↵

5

                            result.add(item);↵

5

                            result.add(item);↵

6

6

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