Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.960 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 105 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/tests/org/jfree/chart/axis/junit/AxisSpaceTests.java |
2 | 7 | 195 | 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() { AxisSpace s1 = new AxisSpace(); AxisSpace s2 = new AxisSpace(); assertTrue(s1.equals(s2)); int h1 = s1.hashCode(); int h2 = s2.hashCode(); assertEquals(h1, h2); } |
| |||||
/** * 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); } |
| |||
/** * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18d6d2c0]] | AxisSpace |
1 | 2 | [[#18d6d2c0]] | StandardDialScale |