if (orientation == PlotOrientation.HORIZONTAL) { line = new Line2D.Double(y0, x0, y1, x1); } else if (orientation == PlotOrientation.VERTICAL) { line = new Line2D.Double(x0, y0, x1, y1);
if (PlotOrientation.HORIZONTAL == l_orientation) { l_line = new Line2D.Double(l_y1, l_x1, l_y2, l_x2); } else if (PlotOrientation.VERTICAL == l_orientation) { l_line = new Line2D.Double(l_x1, l_y1, l_x2, l_y2);
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/category/LineAndShapeRenderer.java File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/xy/XYDifferenceRenderer.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
if (orientation == PlotOrientation.HORIZONTAL) {
1
if (PlotOrientation
2
        
2
.HORIZONTAL == l_orientation) {
3
                line = new Line2D.Double(y0, x0, y1, x1);
3
            l_line = new Line2D.Double(
4
                    }
5
            
4
l_y1, l_x1, l_y2, l_x2);
5
        }
6
        else if (orientation == PlotOrientation.VERTICAL) {
6
        else if (PlotOrientation.VERTICAL == l_orientation) {
7
                        line = new Line2D.Double(x0, y0, x1, y1);
7
            l_line = new Line2D.Double(
8
            
8
l_x1, l_y1, l_x2, l_y2);
9
        
9
        
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0