CloneSet1055


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

{
  // get the origin of the zoom selection in the Java2D space used for
  // drawing the chart (that is, before any scaling to fit the panel)
  Point2D selectOrigin = translateScreenToJava2D(new Point(x, y));
  int subplotIndex = plotInfo.getSubplotIndex(selectOrigin);
  if (subplotIndex == -1) {
    return null;
  }
  result = scale(plotInfo.getSubplotInfo(subplotIndex).getDataArea());
}


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

{
  // get the origin of the zoom selection in the Java2D space used for
  // drawing the chart (that is, before any scaling to fit the panel)
  Point2D selectOrigin = translateScreenToJava2D(new Point(x, y));
  int subplotIndex = plotInfo.getSubplotIndex(selectOrigin);
  if (subplotIndex == -1) {
    return null;
  }
  result = scale(plotInfo.getSubplotInfo(subplotIndex).getDataArea());
}


Clone AbstractionParameter Count: 0Parameter Bindings

{
  // get the origin of the zoom selection in the Java2D space used for
  // drawing the chart (that is, before any scaling to fit the panel)
  Point2D selectOrigin = translateScreenToJava2D(new Point(x, y));
  int subplotIndex = plotInfo.getSubplotIndex(selectOrigin);
  if (subplotIndex == -1) {
    return null;
  }
  result = scale(plotInfo.getSubplotInfo(subplotIndex).getDataArea());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None