CloneSet795


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
17105
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/axis/junit/AxisSpaceTests.java
27195
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/plot/dial/junit/StandardDialScaleTests.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
105
Source File
E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/axis/junit/AxisSpaceTests.java

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


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

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


Clone AbstractionParameter Count: 1Parameter Bindings

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

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18d6d2c0]]
AxisSpace 
12[[#18d6d2c0]]
StandardDialScale