CloneSet505


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12240.951statement_list[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11224
src/NHibernate/Loader/Collection/BasicCollectionJoinWalker.cs
21032
src/NHibernate/Loader/Collection/OneToManyJoinWalker.cs
Clone Instance
1
Line Count
12
Source Line
24
Source File
src/NHibernate/Loader/Collection/BasicCollectionJoinWalker.cs

                        string alias = GenerateRootAlias(collectionPersister.Role);

                        WalkCollectionTree(collectionPersister, alias);

                        IList<OuterJoinableAssociation> allAssociations = new List<OuterJoinableAssociation> (associations);

                        // NH Different behavior : passing enabledFilters instead empty-filter
                        allAssociations.Add(
                                new OuterJoinableAssociation(collectionPersister.CollectionType, null, null, alias, JoinType.LeftOuterJoin, Factory,
                                                             enabledFilters));

                        InitPersisters(allAssociations, LockMode.None);


Clone Instance
2
Line Count
10
Source Line
32
Source File
src/NHibernate/Loader/Collection/OneToManyJoinWalker.cs

                        string alias = GenerateRootAlias(oneToManyPersister.Role);

                        WalkEntityTree(elementPersister, alias);

                        IList<OuterJoinableAssociation> allAssociations = new List<OuterJoinableAssociation> (associations);
                        allAssociations.Add(
                                new OuterJoinableAssociation(oneToManyPersister.CollectionType, null, null, alias, JoinType.LeftOuterJoin, Factory,
                                                             new CollectionHelper.EmptyMapClass<string, IFilter> ()));

                        InitPersisters(allAssociations, LockMode.None);


Clone AbstractionParameter Count: 4Parameter Bindings

string alias = GenerateRootAlias( [[#variable54a7cd60]].Role);
 [[#variable70a845e0]]( [[#variable70a84480]], alias);
IList<OuterJoinableAssociation> allAssociations = new List<OuterJoinableAssociation> (associations);
// NH Different behavior : passing enabledFilters instead empty-filter
allAssociations.Add(new OuterJoinableAssociation( [[#variable54a7cd60]].CollectionType, null, null, alias, JoinType.LeftOuterJoin, Factory, [[#variable70a84400]]));
InitPersisters(allAssociations, LockMode.None);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#54a7cd60]]
collectionPersister 
12[[#54a7cd60]]
oneToManyPersister 
21[[#70a845e0]]
WalkCollectionTree 
22[[#70a845e0]]
WalkEntityTree 
31[[#70a84480]]
collectionPersister 
32[[#70a84480]]
elementPersister 
41[[#70a84400]]
enabledFilters 
42[[#70a84400]]
new CollectionHelper.EmptyMapClass<string, IFilter> ()