CloneSet404


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16201.000statement_sequence
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1163737
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CategoryPlot.java
2164568
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/XYPlot.java
Next
Last
Clone Instance
1
Line Count
16
Source Line
3737
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/CategoryPlot.java

// perform the zoom on each range axis
for (int i = 0; i < this.rangeAxes.size(); i++) {
  ValueAxis rangeAxis = (ValueAxis) this.rangeAxes.get(i);
  if (rangeAxis != null) {
    if (useAnchor) {
      // get the relevant source coordinate given the plot
      // orientation
      double sourceY = source.getY();
      if (this.orientation == PlotOrientation.HORIZONTAL) {
        sourceY = source.getX();
      }
      double anchorY = rangeAxis.java2DToValue(sourceY, info.getDataArea(), getRangeAxisEdge());
      rangeAxis.resizeRange(factor, anchorY);
    }
    else {
      rangeAxis.resizeRange(factor);
    }
  }
}


First
Previous
Clone Instance
2
Line Count
16
Source Line
4568
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/plot/XYPlot.java

// perform the zoom on each range axis
for (int i = 0; i < this.rangeAxes.size(); i++) {
  ValueAxis rangeAxis = (ValueAxis) this.rangeAxes.get(i);
  if (rangeAxis != null) {
    if (useAnchor) {
      // get the relevant source coordinate given the plot
      // orientation
      double sourceY = source.getY();
      if (this.orientation == PlotOrientation.HORIZONTAL) {
        sourceY = source.getX();
      }
      double anchorY = rangeAxis.java2DToValue(sourceY, info.getDataArea(), getRangeAxisEdge());
      rangeAxis.resizeRange(factor, anchorY);
    }
    else {
      rangeAxis.resizeRange(factor);
    }
  }
}


Clone AbstractionParameter Count: 0Parameter Bindings

// perform the zoom on each range axis
for (int i = 0; i < this.rangeAxes.size(); i++) {
  ValueAxis rangeAxis = (ValueAxis) this.rangeAxes.get(i);
  if (rangeAxis != null) {
    if (useAnchor) {
      // get the relevant source coordinate given the plot
      // orientation
      double sourceY = source.getY();
      if (this.orientation == PlotOrientation.HORIZONTAL) {
        sourceY = source.getX();
      }
      double anchorY = rangeAxis.java2DToValue(sourceY, info.getDataArea(), getRangeAxisEdge());
      rangeAxis.resizeRange(factor, anchorY);
    }
    else {
      rangeAxis.resizeRange(factor);
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None