for (int i = 0; i < this.rangeAxes.size(); i++) { ValueAxis rangeAxis = (ValueAxis) this.rangeAxes.get(i); if (rangeAxis != null) { rangeAxis.zoomRange(lowerPercent, upperPercent); } }
for (int c = 0; c < this.data.getColumnCount(); c++) { Number value = this.data.getValue(r, c); if (value != null) { unique.add(value); } }
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/data/general/WaferMapDataset.java
Method name: void zoomRangeAxes(double, double, PlotRenderingInfo, Point2D) Method name: Set getUniqueValues()
Number of AST nodes: 4 Number of AST nodes: 4
1
for (int i = 0; i < this.rangeAxes.size(); i++) {
1
for (int c = 0; c < this.data.getColumnCount(); c++) {
2
            ValueAxis rangeAxis = (ValueAxis) this.rangeAxes.get(i);
2
                Number value = this.data.getValue(r, c);
3
            if (rangeAxis != null) {
3
                if (value != null) {
4
                rangeAxis.zoomRange(lowerPercent, upperPercent);
4
                    unique.add(value);
5
            }
5
            
6
    }
6
        }
7
            }
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.1
Clones locationClones are in different classes
Number of node comparisons1