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 (orientation == PlotOrientation.HORIZONTAL) { line = new Line2D.Double(y0, x0, y1, x1); } else if (orientation == PlotOrientation.VERTICAL) { line = new Line2D.Double(x0, y0, x1, y1);
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/category/StatisticalLineAndShapeRenderer.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
if (orientation == PlotOrientation.HORIZONTAL) {
1
if (orientation == PlotOrientation.HORIZONTAL) {
2
                        line = new Line2D.Double(y0, x0, y1, x1);
2
                        line = new Line2D.Double(y0, x0, y1, x1);
3
                    }
3
                    }
4
                    else if (orientation == PlotOrientation.VERTICAL) {
4
                    else if (orientation == PlotOrientation.VERTICAL) {
5
                        line = new Line2D.Double(x0, y0, x1, y1);
5
                        line = new Line2D.Double(x0, y0, x1, y1);
6
                    
6
                    
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