1788-1-2

if (position != null) { TextUtilities.drawRotatedString(label, g2, (float) anchorPoint.getX(), (float) anchorPoint.getY(), position.getTextAnchor(), position.getAngle(), position.getRotationAnchor()); }
if (position != null) { TextUtilities.drawRotatedString(label, g2, (float) anchorPoint.getX(), (float) anchorPoint.getY(), position.getTextAnchor(), position.getAngle(), position.getRotationAnchor()); }

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

1

    if (position != null) {↵

1

    if (position != null) {↵

2

                TextUtilities.drawRotatedString(label, g2,↵

2

                TextUtilities.drawRotatedString(label, g2, ↵

3

                        (float) anchorPoint.getX(), (float) anchorPoint.getY(),↵

3

                        (float) anchorPoint.getX(), (float) anchorPoint.getY(),↵

4

                        position.getTextAnchor(), position.getAngle(),↵

4

                        position.getTextAnchor(), position.getAngle(), ↵

5

                        position.getRotationAnchor());↵

5

                        position.getRotationAnchor());↵

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