Integer m = (Integer) this.datasetToDomainAxisMap.get( datasetIndex); if (m == null) { // a dataset with no mapping is assigned to // axis 0 if (axisIndex == 0) { result.add(dataset); } } else { if (m.intValue() == axisIndex) { result.add(dataset);
Integer m = (Integer) this.datasetToRangeAxisMap.get(i); if (m == null) { // a dataset with no mapping is assigned to // axis 0 if (index == 0) { result.add(dataset); } } else { if (m.intValue() == index) { result.add(dataset);
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/CategoryPlot.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
Integer m = (Integer) this.datasetToDomainAxisMap.get(
1
Integer m = (Integer) this.datasetToRangeAxisMap.get(
2
                        datasetIndex);
2
i);
3
                if (m == null) {  // a dataset with no mapping is assigned to
3
                if (m == null) {  // a dataset with no mapping is assigned to
4
                                  // axis 0
4
                                  // axis 0
5
                    if (axisIndex == 0) {
5
                    if (index == 0) {
6
                        result.add(dataset);
6
                        result.add(dataset);
7
                    }
7
                    }
8
                }
8
                }
9
                else {
9
                else {
10
                    if (m.intValue() == axisIndex) {
10
                    if (m.intValue() == index) {
11
                        result.add(dataset);
11
                        result.add(dataset);
12
                    
12
                    
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