Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 2 | 0.983 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 1923 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/ChartPanel.java |
2 | 8 | 1937 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/ChartPanel.java |
| |||||
/** * Restores the auto-range calculation on the domain axis. */ public void restoreAutoDomainBounds() { Plot p = this.chart.getPlot(); if (p instanceof Zoomable) { Zoomable z = (Zoomable) p; // we need to guard against this.zoomPoint being null Point2D zp = (this.zoomPoint != null ? this.zoomPoint: new Point()); z.zoomDomainAxes(0.0, this.info.getPlotInfo(), zp); } } |
| |||||
/** * Restores the auto-range calculation on the range axis. */ public void restoreAutoRangeBounds() { Plot p = this.chart.getPlot(); if (p instanceof Zoomable) { Zoomable z = (Zoomable) p; // we need to guard against this.zoomPoint being null Point2D zp = (this.zoomPoint != null ? this.zoomPoint: new Point()); z.zoomRangeAxes(0.0, this.info.getPlotInfo(), zp); } } |
| |||
/** * Restores the auto-range calculation on the range axis. */ /** * Restores the auto-range calculation on the domain axis. */ public void [[#variable18ce0840]]() { Plot p = this.chart.getPlot(); if (p instanceof Zoomable) { Zoomable z = (Zoomable) p; // we need to guard against this.zoomPoint being null Point2D zp = (this.zoomPoint != null ? this.zoomPoint: new Point()); z. [[#variable18ce0800]](0.0, this.info.getPlotInfo(), zp); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18ce0840]] | restoreAutoDomainBounds |
1 | 2 | [[#18ce0840]] | restoreAutoRangeBounds |
2 | 1 | [[#18ce0800]] | zoomDomainAxes |
2 | 2 | [[#18ce0800]] | zoomRangeAxes |