CloneSet258


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
26201.000statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
126628
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/ChartPanel.java
226598
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/swt/org/jfree/experimental/chart/swt/ChartComposite.java
Next
Last
Clone Instance
1
Line Count
26
Source Line
628
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/ChartPanel.java

// stop listening for changes to the existing chart
if (this.chart != null) {
  this.chart.removeChangeListener(this );
  this.chart.removeProgressListener(this );
}
// add the new chart
this.chart = chart;
if (chart != null) {
  this.chart.addChangeListener(this );
  this.chart.addProgressListener(this );
  Plot plot = chart.getPlot();
  this.domainZoomable = false;
  this.rangeZoomable = false;
  if (plot instanceof Zoomable) {
    Zoomable z = (Zoomable) plot;
    this.domainZoomable = z.isDomainZoomable();
    this.rangeZoomable = z.isRangeZoomable();
    this.orientation = z.getOrientation();
  }
}
else {
  this.domainZoomable = false;
  this.rangeZoomable = false;
}
if (this.useBuffer) {
  this.refreshBuffer = true;
}


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

// stop listening for changes to the existing chart
if (this.chart != null) {
  this.chart.removeChangeListener(this );
  this.chart.removeProgressListener(this );
}
// add the new chart
this.chart = chart;
if (chart != null) {
  this.chart.addChangeListener(this );
  this.chart.addProgressListener(this );
  Plot plot = chart.getPlot();
  this.domainZoomable = false;
  this.rangeZoomable = false;
  if (plot instanceof Zoomable) {
    Zoomable z = (Zoomable) plot;
    this.domainZoomable = z.isDomainZoomable();
    this.rangeZoomable = z.isRangeZoomable();
    this.orientation = z.getOrientation();
  }
}
else {
  this.domainZoomable = false;
  this.rangeZoomable = false;
}
if (this.useBuffer) {
  this.refreshBuffer = true;
}


Clone AbstractionParameter Count: 0Parameter Bindings

// stop listening for changes to the existing chart
if (this.chart != null) {
  this.chart.removeChangeListener(this );
  this.chart.removeProgressListener(this );
}
// add the new chart
this.chart = chart;
if (chart != null) {
  this.chart.addChangeListener(this );
  this.chart.addProgressListener(this );
  Plot plot = chart.getPlot();
  this.domainZoomable = false;
  this.rangeZoomable = false;
  if (plot instanceof Zoomable) {
    Zoomable z = (Zoomable) plot;
    this.domainZoomable = z.isDomainZoomable();
    this.rangeZoomable = z.isRangeZoomable();
    this.orientation = z.getOrientation();
  }
}
else {
  this.domainZoomable = false;
  this.rangeZoomable = false;
}
if (this.useBuffer) {
  this.refreshBuffer = true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None