1602-4-5

if (RectangleEdge.isTopOrBottom(edge)) { min = area.getX(); max = area.getMaxX(); } else if (RectangleEdge.isLeftOrRight(edge)) { max = area.getMinY(); min = area.getMaxY();
if (RectangleEdge.isTopOrBottom(edge)) { min = area.getX(); max = area.getMaxX(); } else if (RectangleEdge.isLeftOrRight(edge)) { min = area.getMaxY(); max = area.getY();

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

1

    if (RectangleEdge.isTopOrBottom(edge)) {↵

1

    if (RectangleEdge.isTopOrBottom(edge)) {↵

2

                min = area.getX();↵

2

                min = area.getX();↵

3

                max = area.getMaxX();↵

3

                max = area.getMaxX();↵

4

            }↵

4

            }↵

5

            else if (RectangleEdge.isLeftOrRight(edge)) {↵

5

            else if (RectangleEdge.isLeftOrRight(edge)) {↵

6

                max = area.getMinY();↵

6

                min = area.getMaxY();↵

7

                min = area.getMaxY();↵

7

                max = area.getY();↵

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