if (this.rangeMarkers != null) {
Iterator iterator = this.rangeMarkers.iterator();
while (iterator.hasNext()) {
Marker marker = (Marker) iterator.next();
drawRangeMarker(g2, this, getRangeAxis(), marker, dataArea);
}
}
for (int index = 0; index < this.rangeAxes.size(); index++) {
ValueAxis yAxis = (ValueAxis) this.rangeAxes.get(index);
if (yAxis != null) {
axisCollection.add(yAxis, getRangeAxisEdge(index));
}
}
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/plot/ContourPlot.java
|
|
File path: /jfreechart-1.0.10/src/org/jfree/chart/plot/XYPlot.java
|
Method name: void draw(Graphics2D, Rectangle2D, Point2D, PlotState, PlotRenderingInfo)
|
|
Method name: Map drawAxes(Graphics2D, Rectangle2D, Rectangle2D, PlotRenderingInfo)
|
Number of AST nodes: 5
|
|
Number of AST nodes: 4
|
|
1 | if (this.rangeMarkers != null) {↵ | | |
|
2 | Iterator iterator = this.rangeMarkers.iterator();↵ | | |
|
3 | while (iterator.hasNext()) {↵ | | |
|
4 | Marker marker = (Marker) iterator.next();↵ | | |
|
5 | drawRangeMarker(g2, this, getRangeAxis(), marker, dataArea↵ | | 1 | for (int index = 0; index < this.rangeAxes.size(); index++) {↵
|
| | | 2 | ValueAxis yAxis = (ValueAxis) this.rangeAxes.get(index);↵
|
| | | 3 | if (yAxis != null) {↵
|
6 | );↵ | | 4 | axisCollection.add(yAxis, getRangeAxisEdge(index));↵
|
7 | }↵ | | 5 | }↵
|
8 | } | | 6 | }
|
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 having the same super class |
Number of node comparisons | 1 |