CloneSet724


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11220.981method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111234
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultNumberAxisEditor.java
29489
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultPlotEditor.java
Next
Last
Clone Instance
1
Line Count
11
Source Line
234
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultNumberAxisEditor.java

/**
 * Handle a grid stroke selection.
 */
private void attemptGridStrokeSelection() {
  StrokeChooserPanel panel = new StrokeChooserPanel(null, this.availableStrokeSamples);
  int result = JOptionPane.showConfirmDialog(this, panel, localizationResources.getString("Stroke_Selection"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
  if (result == JOptionPane.OK_OPTION) {
    this.gridStrokeSample.setStroke(panel.getSelectedStroke());
  }
}


First
Previous
Clone Instance
2
Line Count
9
Source Line
489
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/editor/DefaultPlotEditor.java

/**
 * Allow the user to change the outline stroke.
 */
private void attemptOutlineStrokeSelection() {
  StrokeChooserPanel panel = new StrokeChooserPanel(null, this.availableStrokeSamples);
  int result = JOptionPane.showConfirmDialog(this, panel, localizationResources.getString("Stroke_Selection"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
  if (result == JOptionPane.OK_OPTION) {
    this.outlineStrokeSample.setStroke(panel.getSelectedStroke());
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Handle a grid stroke selection.
     */
/**
     * Allow the user to change the outline stroke.
     */
private void [[#variable18d1e440]]() {
  StrokeChooserPanel panel = new StrokeChooserPanel(null, this.availableStrokeSamples);
  int result = JOptionPane.showConfirmDialog(this, panel, localizationResources.getString("Stroke_Selection"), JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE);
  if (result == JOptionPane.OK_OPTION) {
    this. [[#variable18d1e3e0]].setStroke(panel.getSelectedStroke());
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18d1e440]]
attemptGridStrokeSelection 
12[[#18d1e440]]
attemptOutlineStrokeSelection 
21[[#18d1e3e0]]
gridStrokeSample 
22[[#18d1e3e0]]
outlineStrokeSample