Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 0 | 1.000 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 111 | src/NHibernate/Type/EnumCharType.cs |
2 | 10 | 157 | src/NHibernate/Type/EnumStringType.cs |
| ||||
public override object Get(IDataReader rs, int index) { object code = rs[index]; if (code == DBNull.Value || code == null) { return null; } else { return GetInstance(code); } } |
| ||||
/// <summary> /// /// </summary> /// <param name="rs"></param> /// <param name="index"></param> /// <returns></returns> public override object Get(IDataReader rs, int index) { object code = rs[index]; if (code == DBNull.Value || code == null) { return null; } else { return GetInstance(code); } } |
| |||
/// <summary> /// /// </summary> /// <param name="rs"></param> /// <param name="index"></param> /// <returns></returns> public override object Get(IDataReader rs, int index) { object code = rs[index]; if (code == DBNull.Value || code == null) { return null; } else { return GetInstance(code); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |