1822-1-5

for (int i = 0; i < this.domainAxes.size(); i++) { CategoryAxis axis = (CategoryAxis) this.domainAxes.get(i); if (axis != null) { axis.removeChangeListener(this);
for (int i = 0; i < this.rangeAxes.size(); i++) { ValueAxis axis = (ValueAxis) this.rangeAxes.get(i); if (axis != null) { axis.removeChangeListener(this);

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

1

    for (int i = 0; i < this.domainAxes.size(); i++) {↵

1

    for (int i = 0; i < this.rangeAxes.size(); i++) {↵

2

                CategoryAxis axis = (CategoryAxis) this.domainAxes.get(i);↵

2

                ValueAxis axis = (ValueAxis) this.rangeAxes.get(i);↵

3

                if (axis != null) {↵

3

                if (axis != null) {↵

4

                    axis.removeChangeListener(this);↵

4

                    axis.removeChangeListener(this);↵

5

5

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