CloneSet658


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.996block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
192258
src/NHibernate/Impl/SessionImpl.cs
29735
src/NHibernate/Util/StringHelper.cs
Clone Instance
1
Line Count
9
Source Line
2258
Source File
src/NHibernate/Impl/SessionImpl.cs

                        {
                                int dot = filterParameterName.IndexOf(".");
                                if (dot <= 0)
                                {
                                        throw new ArgumentException("Invalid filter-parameter name format", "filterParameterName");
                                }
                                string filterName = filterParameterName.Substring(0, dot);
                                string parameterName = filterParameterName.Substring(dot + 1);
                                return new [] { filterName, parameterName
                                              } ;
                        }


Clone Instance
2
Line Count
9
Source Line
735
Source File
src/NHibernate/Util/StringHelper.cs

                {
                        int dot = filterParameterName.IndexOf(".");
                        if (dot <= 0)
                        {
                                throw new ArgumentException("Invalid filter-parameter name format; the name should be a property path.", "filterParameterName");
                        }
                        string filterName = filterParameterName.Substring(0, dot);
                        string parameterName = filterParameterName.Substring(dot + 1);
                        return new [] { filterName, parameterName
                                      } ;
                }


Clone AbstractionParameter Count: 1Parameter Bindings

{
   int dot = filterParameterName.IndexOf(".");
   if (dot <= 0)
   {
      throw new ArgumentException( [[#variable2bf4d100]], "filterParameterName");
   }
   string filterName = filterParameterName.Substring(0, dot);
   string parameterName = filterParameterName.Substring(dot + 1);
   return new []
          {
             filterName, parameterName
          } ;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2bf4d100]]
"Invalid filter-parameter name format; the name should be a property path." 
12[[#2bf4d100]]
"Invalid filter-parameter name format"