CloneSet 1272

# CloneSet1272

Previous CloneSet | Next CloneSet | Back to Main Report

Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length]
--- | --- | --- | --- | ---
5 | 3 | 2 | 0.955 | method_declaration

Clone Abstraction | Parameter Bindings

Clone Instance (Click to see clone) | Line Count | Source Line | Source File
--- | --- | --- | ---

1

5

150

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/CategoryLineAnnotation.java

2

5

197

    E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/annotations/CategoryLineAnnotation.java

3

5

122

    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 Abstraction | Parameter Count: 2 | Parameter 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
--- | --- | --- | ---

1

1

`[[#18ef7b60]]`

    setCategory1

1

2

`[[#18ef7b60]]`

    setCategory2

1

3

`[[#18ef7b60]]`

    setCategory

2

1

`[[#18ef7ac0]]`

    category1

2

2

`[[#18ef7ac0]]`

    category2

2

3

`[[#18ef7ac0]]`

    category