block.draw(g2, (float) anchorPoint.getX(),
(float) anchorPoint.getY(), position.getLabelAnchor(),
(float) anchorPoint.getX(), (float) anchorPoint.getY(),
position.getAngle());
p = new GradientPaint((float) area.getMinX(),
(float) area.getCenterY(), gp.getColor1(),
(float) area.getMaxX(), (float) area.getCenterY(),
gp.getColor2());
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/axis/CategoryAxis.java
|
|
File path: /jfreechart-1.0.10/src/org/jfree/chart/plot/Plot.java
|
Method name: AxisState drawCategoryLabels(Graphics2D, Rectangle2D, Rectangle2D, RectangleEdge, AxisState, PlotRenderingInfo)
|
|
Method name: void fillBackground(Graphics2D, Rectangle2D, PlotOrientation)
|
Number of AST nodes: 1
|
|
Number of AST nodes: 1
|
|
1 | block.draw(g2, (float) anchorPoint.getX(),↵ | | 1 | p = new GradientPaint((float) area.getMinX(),↵
|
2 | (float) anchorPoint.getY(), position.getLabelAnchor(),↵ | | 2 | (float) area.getCenterY(), gp.getColor1(),↵
|
3 | (float) anchorPoint.getX(), (float) anchorPoint.getY(),↵ | | 3 | (float) area.getMaxX(), (float) area.getCenterY(),↵
|
4 | position.getAngle()); | | 4 | gp.getColor2());
|
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 | Clones are in different classes |
Number of node comparisons | 0 |