1684-2-3

public void zoomDomainAxes(double lowerPercent, double upperPercent, PlotRenderingInfo info, Point2D source) { for (int i = 0; i < this.domainAxes.size(); i++) { ValueAxis domainAxis = (ValueAxis) this.domainAxes.get(i); if (domainAxis != null) { domainAxis.zoomRange(lowerPercent, upperPercent);
public void zoomRangeAxes(double lowerPercent, double upperPercent, PlotRenderingInfo info, Point2D source) { for (int i = 0; i < this.rangeAxes.size(); i++) { ValueAxis rangeAxis = (ValueAxis) this.rangeAxes.get(i); if (rangeAxis != null) { rangeAxis.zoomRange(lowerPercent, upperPercent);

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

1

    public void zoomDomainAxes(double lowerPercent, double upperPercent,↵

1

    public void zoomRangeAxes(double lowerPercent, double upperPercent,↵

2

                                   PlotRenderingInfo info, Point2D source) {↵

2

                                  PlotRenderingInfo info, Point2D source) {↵

3

            for (int i = 0; i < this.domainAxes.size(); i++) {↵

3

            for (int i = 0; i < this.rangeAxes.size(); i++) {↵

4

                ValueAxis domainAxis = (ValueAxis) this.domainAxes.get(i);↵

4

                ValueAxis rangeAxis = (ValueAxis) this.rangeAxes.get(i);↵

5

                if (domainAxis != null) {↵

5

                if (rangeAxis != null) {↵

6

                    domainAxis.zoomRange(lowerPercent, upperPercent);↵

6

                    rangeAxis.zoomRange(lowerPercent, upperPercent);↵

7

7

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