1716-1-2

double x = midX + getColumnRadius() + 2; double y = this.rangeAxis.valueToJava2D(value, dataArea, RectangleEdge.LEFT); Line2D line = new Line2D.Double(x, y, x + 10, y); g2.setPaint(this.subrangePaint[NORMAL]); g2.draw(line);
double x = midX + getColumnRadius() + 2; double y = this.rangeAxis.valueToJava2D(value, dataArea, RectangleEdge.LEFT); Line2D line = new Line2D.Double(x, y, x + 10, y); g2.setPaint(this.subrangePaint[WARNING]); g2.draw(line);

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

1

    double x = midX + getColumnRadius() + 2;↵

1

    double x = midX + getColumnRadius() + 2;↵

2

                        double y = this.rangeAxis.valueToJava2D(value, dataArea, ↵

2

                        double y = this.rangeAxis.valueToJava2D(value, dataArea, ↵

3

                                RectangleEdge.LEFT);↵

3

                                RectangleEdge.LEFT);↵

4

                        Line2D line = new Line2D.Double(x, y, x + 10, y);↵

4

                        Line2D line = new Line2D.Double(x, y, x + 10, y);↵

5

                        g2.setPaint(this.subrangePaint[NORMAL]);↵

5

                        g2.setPaint(this.subrangePaint[WARNING]);↵

6

                        g2.draw(line);↵

6

                        g2.draw(line);↵

7

7

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