1694-1-2

if (info != null) { EntityCollection entities = info.getOwner().getEntityCollection(); if (entities != null) { addEntity(entities, bar, dataset, series, item, bar.getCenterX(), bar.getCenterY());
if (info != null) { EntityCollection entities = info.getOwner() .getEntityCollection(); if (entities != null) { addEntity(entities, bar, dataset, series, item, bar.getCenterX(), bar.getCenterY());

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

1

    if (info != null) {↵

1

    if (info != null) {↵

2

                EntityCollection entities = info.getOwner()↵

2

                    EntityCollection entities = info.getOwner()↵

3

    .getEntityCollection();↵

3

                            .getEntityCollection();↵

4

                if (entities != null) {↵

4

                    if (entities != null) {↵

5

                    addEntity(entities, bar, dataset, series, item, ↵

5

                        addEntity(entities, bar, dataset, series, item, ↵

6

                            bar.getCenterX(), bar.getCenterY());↵

6

                                bar.getCenterX(), bar.getCenterY());↵

7

7

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