if (this.subplots != null) { Iterator iterator = this.subplots.iterator(); while (iterator.hasNext()) { XYPlot subplot = (XYPlot) iterator.next(); result = Range.combine(result, subplot.getDataRange(axis));
if (this.subplots != null) { Iterator iterator = this.subplots.iterator(); while (iterator.hasNext()) { CategoryPlot subplot = (CategoryPlot) iterator.next(); result = Range.combine(result, subplot.getDataRange(axis));
Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/src/org/jfree/chart/plot/CombinedDomainXYPlot.java File path: /jfreechart-1.0.10/src/org/jfree/chart/plot/CombinedRangeCategoryPlot.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
if (this.subplots != null) {
1
if (this.subplots != null) {
2
            Iterator iterator = this.subplots.iterator();
2
             Iterator iterator = this.subplots.iterator();
3
            while (iterator.hasNext()) {
3
             while (iterator.hasNext()) {
4
                XYPlot subplot = (XYPlot) iterator.next();
4
                 CategoryPlot subplot = (CategoryPlot) iterator.next();
5
                result = Range.combine(result, subplot.getDataRange(axis));
5
                 result = Range.combine(result, subplot.getDataRange(axis));
6
            
6
             
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.0
Clones location
Number of node comparisons0