Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 1 | 0.988 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 306 | src/NHibernate/Event/Default/AbstractSaveEventListener.cs |
2 | 13 | 160 | src/NHibernate/Event/Default/DefaultFlushEntityEventListener.cs |
| ||||
{ WrapVisitor visitor = new WrapVisitor(source); // substitutes into values by side-effect visitor.ProcessEntityPropertyValues(values, types); return visitor.SubstitutionRequired; } |
| ||||
{ // 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; } |
| |||
{ // 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6c790120]] | session |
1 | 2 | [[#6c790120]] | source |