if (f == 5) {
g2.setPaint(fillPaint);
}
else {
g2.setPaint(fillPaintDark);
}
g2.fill(faces[f]);
if (drawOutlines) {
g2.setPaint(outlinePaint);
g2.draw(faces[f]);
}
if (f == 5) {
g2.setPaint(fillPaint);
}
else {
g2.setPaint(fillPaintDark);
}
g2.fill(faces[f]);
if (drawOutlines) {
g2.setPaint(outlinePaint);
g2.draw(faces[f]);
}
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/category/StackedBarRenderer3D.java
|
|
File path: /jfreechart-1.0.10/src/org/jfree/chart/renderer/category/StackedBarRenderer3D.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | if (f == 5) {↵ | | 1 | if (f == 5) {↵
|
2 | g2.setPaint(fillPaint);↵ | | 2 | g2.setPaint(fillPaint);↵
|
3 | }↵ | | 3 | }↵
|
4 | else {↵ | | 4 | else {↵
|
5 | g2.setPaint(fillPaintDark);↵ | | 5 | g2.setPaint(fillPaintDark);↵
|
6 | }↵ | | 6 | }↵
|
7 | g2.fill(faces[f]);↵ | | 7 | g2.fill(faces[f]);↵
|
8 | if (drawOutlines) {↵ | | 8 | if (drawOutlines) {↵
|
9 | g2.setPaint(outlinePaint);↵ | | 9 | g2.setPaint(outlinePaint);↵
|
10 | g2.draw(faces[f]);↵ | | 10 | g2.draw(faces[f]);↵
|
11 | } | | 11 | }
|
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 |