CloneSet1272


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5320.955method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15150
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/CategoryLineAnnotation.java
25197
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/CategoryLineAnnotation.java
35122
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/CategoryTextAnnotation.java
Next
Last
Clone Instance
1
Line Count
5
Source Line
150
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/CategoryLineAnnotation.java

/**
 * Sets the category for the start of the line.
 *
 * @param category  the category (<code>null</code> not permitted).
 *
 * @see #getCategory1()
 */
public void setCategory1(Comparable category) {
  if (category == null) {
    throw new IllegalArgumentException("Null \'category\' argument.");
  }
  this.category1 = category;
}


Next
Previous
Clone Instance
2
Line Count
5
Source Line
197
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/CategoryLineAnnotation.java

/**
 * Sets the category for the end of the line.
 *
 * @param category  the category (<code>null</code> not permitted).
 *
 * @see #getCategory2()
 */
public void setCategory2(Comparable category) {
  if (category == null) {
    throw new IllegalArgumentException("Null \'category\' argument.");
  }
  this.category2 = category;
}


First
Previous
Clone Instance
3
Line Count
5
Source Line
122
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/CategoryTextAnnotation.java

/**
 * Sets the category that the annotation attaches to.
 *
 * @param category  the category (<code>null</code> not permitted).
 *
 * @see #getCategory()
 */
public void setCategory(Comparable category) {
  if (category == null) {
    throw new IllegalArgumentException("Null \'category\' argument.");
  }
  this.category = category;
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Sets the category for the end of the line.
     *
     * @param category  the category (<code>null</code> not permitted).
     *
     * @see #getCategory2()
     */
/**
     * Sets the category for the start of the line.
     *
     * @param category  the category (<code>null</code> not permitted).
     *
     * @see #getCategory1()
     */
/**
     * Sets the category that the annotation attaches to.
     *
     * @param category  the category (<code>null</code> not permitted).
     *
     * @see #getCategory()
     */
public void [[#variable18ef7b60]](Comparable category) {
  if (category == null) {
    throw new IllegalArgumentException("Null \'category\' argument.");
  }
  this. [[#variable18ef7ac0]]= category;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18ef7b60]]
setCategory1 
12[[#18ef7b60]]
setCategory2 
13[[#18ef7b60]]
setCategory 
21[[#18ef7ac0]]
category1 
22[[#18ef7ac0]]
category2 
23[[#18ef7ac0]]
category