CloneSet1240


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10201.000class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110111
src/NHibernate/Type/EnumCharType.cs
210157
src/NHibernate/Type/EnumStringType.cs
Clone Instance
1
Line Count
10
Source Line
111
Source File
src/NHibernate/Type/EnumCharType.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);
                        }
                }



Clone Instance
2
Line Count
10
Source Line
157
Source File
src/NHibernate/Type/EnumStringType.cs

                /// <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);
                        }
                }



Clone AbstractionParameter Count: 0Parameter Bindings

/// <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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None