1610-1-4

while (iterator.hasNext()) { Axis axis = (Axis) iterator.next(); if (axis != null) { AxisState axisState = axis.draw(g2, cursor, plotArea, dataArea, RectangleEdge.TOP, plotState); cursor = axisState.getCursor(); axisStateMap.put(axis, axisState);
while (iterator.hasNext()) { Axis axis = (Axis) iterator.next(); if (axis != null) { AxisState axisState = axis.draw(g2, cursor, plotArea, dataArea, RectangleEdge.RIGHT, plotState); cursor = axisState.getCursor(); axisStateMap.put(axis, axisState);

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/CategoryPlot.java
Method name: `` |  | Method name: ``
Number of AST nodes: 0 |  | Number of AST nodes: 0

1

    while (iterator.hasNext()) {↵

1

    while (iterator.hasNext()) {↵

2

                Axis axis = (Axis) iterator.next();↵

2

                Axis axis = (Axis) iterator.next();↵

3

                if (axis != null) {↵

3

                if (axis != null) {↵

4

                    AxisState axisState = axis.draw(g2, cursor, plotArea, dataArea,↵

4

                    AxisState axisState = axis.draw(g2, cursor, plotArea, dataArea,↵

5

                            RectangleEdge.TOP, plotState);↵

5

                            RectangleEdge.RIGHT, plotState);↵

6

                    cursor = axisState.getCursor();↵

6

                    cursor = axisState.getCursor();↵

7

                    axisStateMap.put(axis, axisState);↵

7

                    axisStateMap.put(axis, axisState);↵

8

8

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