CloneSet965


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.970class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19263
src/NHibernate.DomainModel/CustomPersister.cs
29275
src/NHibernate.DomainModel/CustomPersister.cs
Clone Instance
1
Line Count
9
Source Line
263
Source File
src/NHibernate.DomainModel/CustomPersister.cs

                public int[] FindDirty(object[] currentState, object[] previousState, object entity, ISessionImplementor session)
                {
                        if ( !EqualsHelper.Equals(currentState[0], previousState[0]))
                        {
                                return new int[] { 0
                                                 } ;
                        }
                        else
                        {
                                return null;
                        }
                }



Clone Instance
2
Line Count
9
Source Line
275
Source File
src/NHibernate.DomainModel/CustomPersister.cs

                public int[] FindModified(object[] old, object[] current, object entity, ISessionImplementor session)
                {
                        if ( !EqualsHelper.Equals(old[0], current[0]))
                        {
                                return new int[] { 0
                                                 } ;
                        }
                        else
                        {
                                return null;
                        }
                }



Clone AbstractionParameter Count: 3Parameter Bindings

public int[] [[#variable49dd5e60]](object[] [[#variable49dd4660]], object[] [[#variable2d06c700]], object entity, ISessionImplementor session)
{
   if ( !EqualsHelper.Equals( [[#variable49dd4660]][0], [[#variable2d06c700]][0]))
   {
      return new int[]
             {
                0
             } ;
   }
   else
   {
      return null;
   }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#49dd5e60]]
FindModified 
12[[#49dd5e60]]
FindDirty 
21[[#49dd4660]]
old 
22[[#49dd4660]]
currentState 
31[[#2d06c700]]
current 
32[[#2d06c700]]
previousState