CloneSet764


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12220.951method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112147
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/block/ColorBlock.java
214348
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/StatisticalLineAndShapeRenderer.java
Next
Last
Clone Instance
1
Line Count
12
Source Line
147
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/block/ColorBlock.java

/**
 * Tests this block for equality with an arbitrary object.
 * 
 * @param obj  the object (<code>null</code> permitted).
 * 
 * @return A boolean.
 */
public boolean equals(Object obj) {
  if (obj == this ) {
    return true;
  }
  if ( !(obj instanceof ColorBlock)) {
    return false;
  }
  ColorBlock that = (ColorBlock) obj;
  if ( !PaintUtilities.equal(this.paint, that.paint)) {
    return false;
  }
  return super.equals(obj);
}


First
Previous
Clone Instance
2
Line Count
14
Source Line
348
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/StatisticalLineAndShapeRenderer.java

/**
 * Tests this renderer for equality with an arbitrary object.
 *
 * @param obj  the object (<code>null</code> permitted).
 *
 * @return A boolean.
 */
public boolean equals(Object obj) {
  if (obj == this ) {
    return true;
  }
  if ( !(obj instanceof StatisticalLineAndShapeRenderer)) {
    return false;
  }
  StatisticalLineAndShapeRenderer that = (StatisticalLineAndShapeRenderer) obj;
  if ( !PaintUtilities.equal(this.errorIndicatorPaint, that.errorIndicatorPaint)) {
    return false;
  }
  return super.equals(obj);
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
     * Tests this block for equality with an arbitrary object.
     * 
     * @param obj  the object (<code>null</code> permitted).
     * 
     * @return A boolean.
     */
/**
     * Tests this renderer for equality with an arbitrary object.
     *
     * @param obj  the object (<code>null</code> permitted).
     *
     * @return A boolean.
     */
public boolean equals(Object obj) {
  if (obj == this ) {
    return true;
  }
  if ( !(obj instanceof [[#variable18d504e0]])) {
    return false;
  }
   [[#variable18d504e0]] that = ( [[#variable18d504e0]]) obj;
  if ( !PaintUtilities.equal(this. [[#variable18d509e0]], that. [[#variable18d509e0]])) {
    return false;
  }
  return super.equals(obj);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18d504e0]]
ColorBlock 
12[[#18d504e0]]
StatisticalLineAndShapeRenderer 
21[[#18d509e0]]
paint 
22[[#18d509e0]]
errorIndicatorPaint