CloneSet460


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10230.981method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1101012
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/ChartComposite.java
2101028
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/ChartComposite.java
Next
Last
Clone Instance
1
Line Count
10
Source Line
1012
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/ChartComposite.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
    org.eclipse.swt.graphics.Point zp = (this.zoomPoint != null ? this.zoomPoint: new org.eclipse.swt.graphics.Point(0, 0));
    z.zoomDomainAxes(0.0, this.info.getPlotInfo(), SWTUtils.toAwtPoint(zp));
  }
}


First
Previous
Clone Instance
2
Line Count
10
Source Line
1028
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/ChartComposite.java

/**
 * Restores the auto-range calculation on the range axis.
 */
public void restoreAutoRangeBounds() {
  Plot p = this.chart.getPlot();
  if (p instanceof ValueAxisPlot) {
    Zoomable z = (Zoomable) p;
    // we need to guard against this.zoomPoint being null
    org.eclipse.swt.graphics.Point zp = (this.zoomPoint != null ? this.zoomPoint: new org.eclipse.swt.graphics.Point(0, 0));
    z.zoomRangeAxes(0.0, this.info.getPlotInfo(), SWTUtils.toAwtPoint(zp));
  }
}


Clone AbstractionParameter Count: 3Parameter Bindings

/**
     * Restores the auto-range calculation on the range axis.
     */
/**
     * Restores the auto-range calculation on the domain axis.
     */
public void [[#variable1a9e06c0]]() {
  Plot p = this.chart.getPlot();
  if (p instanceof [[#variable1a9e0660]]) {
    Zoomable z = (Zoomable) p;
    // we need to guard against this.zoomPoint being null
    org.eclipse.swt.graphics.Point zp = (this.zoomPoint != null ? this.zoomPoint: new org.eclipse.swt.graphics.Point(0, 0));
    z. [[#variable1a9e0600]](0.0, this.info.getPlotInfo(), SWTUtils.toAwtPoint(zp));
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1a9e06c0]]
restoreAutoDomainBounds 
12[[#1a9e06c0]]
restoreAutoRangeBounds 
21[[#1a9e0660]]
Zoomable 
22[[#1a9e0660]]
ValueAxisPlot 
31[[#1a9e0600]]
zoomDomainAxes 
32[[#1a9e0600]]
zoomRangeAxes