CloneSet2190


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13210.988block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15306
src/NHibernate/Event/Default/AbstractSaveEventListener.cs
213160
src/NHibernate/Event/Default/DefaultFlushEntityEventListener.cs
Clone Instance
1
Line Count
5
Source Line
306
Source File
src/NHibernate/Event/Default/AbstractSaveEventListener.cs

                {
                        WrapVisitor visitor = new WrapVisitor(source);
                        // substitutes into values by side-effect
                        visitor.ProcessEntityPropertyValues(values, types);
                        return visitor.SubstitutionRequired;
                }


Clone Instance
2
Line Count
13
Source Line
160
Source File
src/NHibernate/Event/Default/DefaultFlushEntityEventListener.cs

                        {
                                // wrap up any new collections directly referenced by the object
                                // or its components

                                // NOTE: we need to do the wrap here even if its not "dirty",
                                // because collections need wrapping but changes to _them_
                                // don't dirty the container. Also, for versioned data, we
                                // need to wrap before calling searchForDirtyCollections

                                WrapVisitor visitor = new WrapVisitor(session);
                                // substitutes into values by side-effect
                                visitor.ProcessEntityPropertyValues(values, types);
                                return visitor.SubstitutionRequired;
                        }


Clone AbstractionParameter Count: 1Parameter Bindings

{
   // wrap up any new collections directly referenced by the object
   // or its components
   // NOTE: we need to do the wrap here even if its not "dirty",
   // because collections need wrapping but changes to _them_
   // don't dirty the container. Also, for versioned data, we
   // need to wrap before calling searchForDirtyCollections
   WrapVisitor visitor = new WrapVisitor( [[#variable6c790120]]);
   // substitutes into values by side-effect
   visitor.ProcessEntityPropertyValues(values, types);
   return visitor.SubstitutionRequired;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6c790120]]
session 
12[[#6c790120]]
source