Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 2 | 0.955 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 255 | src/NHibernate/Type/CompositeCustomType.cs |
2 | 13 | 154 | src/NHibernate/Type/CustomType.cs |
| ||||
public override bool Equals(object obj) { if ( ! base.Equals(obj)) { return false; } return ((CompositeCustomType) obj).userType.GetType() == userType.GetType(); } public override int GetHashCode() { return userType.GetHashCode(); } |
| ||||
public override bool Equals(object obj) { if ( ! base.Equals(obj)) { return false; } return ((CustomType) obj).userType.GetType() == userType.GetType(); } public override int GetHashCode() { return userType.GetType().GetHashCode(); } |
| |||
public override bool Equals(object obj) { if ( ! base.Equals(obj)) { return false; } return (( [[#variable538a7020]])obj).userType.GetType() == userType.GetType(); } public override int GetHashCode() { return [[#variable538a6ea0]].GetHashCode(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#538a7020]] | CustomType |
1 | 2 | [[#538a7020]] | CompositeCustomType |
2 | 1 | [[#538a6ea0]] | userType.GetType() |
2 | 2 | [[#538a6ea0]] | userType |