Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 4 | 0.951 | statement_list[5] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 24 | src/NHibernate/Loader/Collection/BasicCollectionJoinWalker.cs |
2 | 10 | 32 | src/NHibernate/Loader/Collection/OneToManyJoinWalker.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); |
| ||||
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); |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54a7cd60]] | collectionPersister |
1 | 2 | [[#54a7cd60]] | oneToManyPersister |
2 | 1 | [[#70a845e0]] | WalkCollectionTree |
2 | 2 | [[#70a845e0]] | WalkEntityTree |
3 | 1 | [[#70a84480]] | collectionPersister |
3 | 2 | [[#70a84480]] | elementPersister |
4 | 1 | [[#70a84400]] | enabledFilters |
4 | 2 | [[#70a84400]] | new CollectionHelper.EmptyMapClass<string, IFilter> () |