1555-1-2

public void testBug1766646A() { XYBlockRenderer r = new XYBlockRenderer(); Range range = r.findDomainBounds(null); assertTrue(range == null); DefaultXYZDataset emptyDataset = new DefaultXYZDataset(); range = r.findDomainBounds(emptyDataset); assertTrue(range == null);
public void testBug1766646B() { XYBlockRenderer r = new XYBlockRenderer(); Range range = r.findRangeBounds(null); assertTrue(range == null); DefaultXYZDataset emptyDataset = new DefaultXYZDataset(); range = r.findRangeBounds(emptyDataset); assertTrue(range == null);

Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/tests/org/jfree/chart/renderer/xy/junit/XYBlockRendererTests.java |  | File path: /jfreechart-1.0.10/tests/org/jfree/chart/renderer/xy/junit/XYBlockRendererTests.java
Method name: `` |  | Method name: ``
Number of AST nodes: 0 |  | Number of AST nodes: 0

1

    public void testBug1766646A() {↵

1

    public void testBug1766646B() {↵

2

            XYBlockRenderer r = new XYBlockRenderer();↵

2

            XYBlockRenderer r = new XYBlockRenderer();↵

3

            Range range = r.findDomainBounds(null);↵

3

            Range range = r.findRangeBounds(null);↵

4

            assertTrue(range == null);↵

4

            assertTrue(range == null);↵

5

            DefaultXYZDataset emptyDataset = new DefaultXYZDataset();↵

5

            DefaultXYZDataset emptyDataset = new DefaultXYZDataset();↵

6

            range = r.findDomainBounds(emptyDataset);↵

6

            range = r.findRangeBounds(emptyDataset);↵

7

            assertTrue(range == null);↵

7

            assertTrue(range == null);↵

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