1791-1-3

if (p instanceof Zoomable) { Zoomable plot = (Zoomable) p; plot.zoomDomainAxes(this.zoomInFactor, this.info.getPlotInfo(), translateScreenToJava2D(new Point((int) x, (int) y))); }
if (p instanceof Zoomable) { Zoomable z = (Zoomable) p; z.zoomDomainAxes(this.zoomOutFactor, this.info.getPlotInfo(), translateScreenToJava2D(new Point((int) x, (int) y))); }

Clone fragments detected by clone detection tool
File path: /jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/ChartComposite.java |  | File path: /jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/ChartComposite.java
Method name: `` |  | Method name: ``
Number of AST nodes: 0 |  | Number of AST nodes: 0

1

    if (p instanceof Zoomable) ↵

1

    if (p instanceof Zoomable) ↵

2

            {↵

2

    {↵

3

                Zoomable plot = (Zoomable) p;↵

3

                Zoomable z = (Zoomable) p;↵

4

                plot.zoomDomainAxes(this.zoomInFactor, this.info.getPlotInfo(), ↵

4

                z.zoomDomainAxes(this.zoomOutFactor, this.info.getPlotInfo(), ↵

5

                        translateScreenToJava2D(new Point((int) x, (int) y)));↵

5

                        translateScreenToJava2D(new Point((int) x, (int) y)));↵

6

            }

6

            }

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