CloneSet612


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
15201.000block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
115466
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/LogAxis.java
228651
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/NumberAxis.java
Next
Last
Clone Instance
1
Line Count
15
Source Line
466
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/LogAxis.java

{
  AxisState state = null;
  // if the axis is not visible, don't draw it...
  if ( !isVisible()) {
    state = new AxisState(cursor);
    // even though the axis is not visible, we need ticks for the 
    // gridlines...
    List ticks = refreshTicks(g2, state, dataArea, edge);
    state.setTicks(ticks);
    return state;
  }
  state = drawTickMarksAndLabels(g2, cursor, plotArea, dataArea, edge);
  state = drawLabel(getLabel(), g2, plotArea, dataArea, edge, state);
  return state;
}


First
Previous
Clone Instance
2
Line Count
28
Source Line
651
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/axis/NumberAxis.java

{
  AxisState state = null;
  // if the axis is not visible, don't draw it...
  if ( !isVisible()) {
    state = new AxisState(cursor);
    // even though the axis is not visible, we need ticks for the
    // gridlines...
    List ticks = refreshTicks(g2, state, dataArea, edge);
    state.setTicks(ticks);
    return state;
  }
  // draw the tick marks and labels...
  state = drawTickMarksAndLabels(g2, cursor, plotArea, dataArea, edge);
  //        // draw the marker band (if there is one)...
  //        if (getMarkerBand() != null) {
  //            if (edge == RectangleEdge.BOTTOM) {
  //                cursor = cursor - getMarkerBand().getHeight(g2);
  //            }
  //            getMarkerBand().draw(g2, plotArea, dataArea, 0, cursor);
  //        }
  // draw the axis label...
  state = drawLabel(getLabel(), g2, plotArea, dataArea, edge, state);
  return state;
}


Clone AbstractionParameter Count: 0Parameter Bindings

{
  AxisState state = null;
  // if the axis is not visible, don't draw it...
  if ( !isVisible()) {
    state = new AxisState(cursor);
    // even though the axis is not visible, we need ticks for the 
    // even though the axis is not visible, we need ticks for the
    // gridlines...
    List ticks = refreshTicks(g2, state, dataArea, edge);
    state.setTicks(ticks);
    return state;
  }
  // draw the tick marks and labels...
  state = drawTickMarksAndLabels(g2, cursor, plotArea, dataArea, edge);
  //        // draw the marker band (if there is one)...
  //        if (getMarkerBand() != null) {
  //            if (edge == RectangleEdge.BOTTOM) {
  //                cursor = cursor - getMarkerBand().getHeight(g2);
  //            }
  //            getMarkerBand().draw(g2, plotArea, dataArea, 0, cursor);
  //        }
  // draw the axis label...
  state = drawLabel(getLabel(), g2, plotArea, dataArea, edge, state);
  return state;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None