CloneSet436


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13201.000block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1131092
src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs
2131262
src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs
Clone Instance
1
Line Count
13
Source Line
1092
Source File
src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs

                                                        {
                                                                object entryId;
                                                                if ( !IsIdentifierAssignedByInsert)
                                                                {
                                                                        // NH Different implementation: write once
                                                                        entryId = PerformInsert(id, collection, expectation, entry, i, useBatch, false, session);
                                                                }
                                                                else
                                                                {
                                                                        entryId = PerformInsert(id, collection, entry, i, session);
                                                                }
                                                                collection.AfterRowInsert(this, entry, i, entryId);
                                                                count++;
                                                        }


Clone Instance
2
Line Count
13
Source Line
1262
Source File
src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs

                                                {
                                                        object entryId;
                                                        if ( !IsIdentifierAssignedByInsert)
                                                        {
                                                                // NH Different implementation: write once
                                                                entryId = PerformInsert(id, collection, expectation, entry, i, useBatch, false, session);
                                                        }
                                                        else
                                                        {
                                                                entryId = PerformInsert(id, collection, entry, i, session);
                                                        }
                                                        collection.AfterRowInsert(this, entry, i, entryId);
                                                        count++;
                                                }


Clone AbstractionParameter Count: 0Parameter Bindings

{
   object entryId;
   if ( !IsIdentifierAssignedByInsert)
   {
      // NH Different implementation: write once
      entryId = PerformInsert(id, collection, expectation, entry, i, useBatch, false, session);
   }
   else
   {
      entryId = PerformInsert(id, collection, entry, i, session);
   }
   collection.AfterRowInsert(this, entry, i, entryId);
   count++;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None