1597-4-9

public Number getQ1Value(int series, int item) { Number result = null; BoxAndWhiskerItem stats = (BoxAndWhiskerItem) this.items.get(item); if (stats != null) { result = stats.getQ1(); } return result;
public Number getMaxOutlier(int series, int item) { Number result = null; BoxAndWhiskerItem stats = (BoxAndWhiskerItem) this.items.get(item); if (stats != null) { result = stats.getMaxOutlier(); } return result;

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

1

    public Number getQ1Value(int series, int item) {↵

1

    public Number getMaxOutlier(int series, int item) {↵

2

            Number result = null;↵

2

            Number result = null;↵

3

            BoxAndWhiskerItem stats = (BoxAndWhiskerItem) this.items.get(item);↵

3

            BoxAndWhiskerItem stats = (BoxAndWhiskerItem) this.items.get(item);↵

4

            if (stats != null) {↵

4

            if (stats != null) {↵

5

                result = stats.getQ1();↵

5

                result = stats.getMaxOutlier();↵

6

            }↵

6

            }↵

7

            return result;↵

7

            return result;↵

8

8

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