CloneSet796


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.960method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17147
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/dial/junit/ArcDialFrameTests.java
27129
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/dial/junit/StandardDialFrameTests.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
147
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/dial/junit/ArcDialFrameTests.java

/**
 * Two objects that are equal are required to return the same hashCode. 
 */
public void testHashCode() {
  ArcDialFrame f1 = new ArcDialFrame();
  ArcDialFrame f2 = new ArcDialFrame();
  assertTrue(f1.equals(f2));
  int h1 = f1.hashCode();
  int h2 = f2.hashCode();
  assertEquals(h1, h2);
}


First
Previous
Clone Instance
2
Line Count
7
Source Line
129
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/dial/junit/StandardDialFrameTests.java

/**
 * Two objects that are equal are required to return the same hashCode. 
 */
public void testHashCode() {
  StandardDialFrame f1 = new StandardDialFrame();
  StandardDialFrame f2 = new StandardDialFrame();
  assertTrue(f1.equals(f2));
  int h1 = f1.hashCode();
  int h2 = f2.hashCode();
  assertEquals(h1, h2);
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
     * Two objects that are equal are required to return the same hashCode. 
     */
public void testHashCode() {
   [[#variable18d72560]] f1 = new [[#variable18d72560]]();
   [[#variable18d72560]] f2 = new [[#variable18d72560]]();
  assertTrue(f1.equals(f2));
  int h1 = f1.hashCode();
  int h2 = f2.hashCode();
  assertEquals(h1, h2);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18d72560]]
ArcDialFrame 
12[[#18d72560]]
StandardDialFrame