CloneSet1482


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6220.964method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16361
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/title/LegendTitle.java
26306
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/title/PaintScaleLegend.java
Next
Last
Clone Instance
1
Line Count
6
Source Line
361
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/title/LegendTitle.java

/**
 * Sets the item paint.
 *
 * @param paint  the paint (<code>null</code> not permitted).
 */
public void setItemPaint(Paint paint) {
  if (paint == null) {
    throw new IllegalArgumentException("Null \'paint\' argument.");
  }
  this.itemPaint = paint;
  notifyListeners(new TitleChangeEvent(this ));
}


First
Previous
Clone Instance
2
Line Count
6
Source Line
306
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/title/PaintScaleLegend.java

/**
 * Sets the paint used to draw the outline of the paint strip, and sends
 * a {@link TitleChangeEvent} to all registered listeners.
 * 
 * @param paint  the paint (<code>null</code> not permitted).
 * 
 * @see #getStripOutlinePaint()
 */
public void setStripOutlinePaint(Paint paint) {
  if (paint == null) {
    throw new IllegalArgumentException("Null \'paint\' argument.");
  }
  this.stripOutlinePaint = paint;
  notifyListeners(new TitleChangeEvent(this ));
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Sets the item paint.
     *
     * @param paint  the paint (<code>null</code> not permitted).
     */
/**
     * Sets the paint used to draw the outline of the paint strip, and sends
     * a {@link TitleChangeEvent} to all registered listeners.
     * 
     * @param paint  the paint (<code>null</code> not permitted).
     * 
     * @see #getStripOutlinePaint()
     */
public void [[#variable18fa1280]](Paint paint) {
  if (paint == null) {
    throw new IllegalArgumentException("Null \'paint\' argument.");
  }
  this. [[#variable18fa11a0]]= paint;
  notifyListeners(new TitleChangeEvent(this ));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18fa1280]]
setItemPaint 
12[[#18fa1280]]
setStripOutlinePaint 
21[[#18fa11a0]]
itemPaint 
22[[#18fa11a0]]
stripOutlinePaint