| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 9 | 2 | 2 | 0.984 | block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 7 | 196 | src/NHibernate/Hql/Ast/ANTLR/SessionFactoryHelperExtensions.cs |
| 2 | 9 | 179 | src/NHibernate/Hql/Util/SessionFactoryHelper.cs |
| ||||
{
IQueryableCollection queryableCollection = (IQueryableCollection)_sfi.GetCollectionPersister(role);
if (queryableCollection != null)
{
_collectionPropertyMappingByRole.Add(role, new CollectionPropertyMapping(queryableCollection));
}
return queryableCollection;
}
|
| ||||
{
IQueryableCollection queryableCollection = (IQueryableCollection)sfi.
GetCollectionPersister (role);
if (queryableCollection != null)
{
collectionPropertyMappingByRole.Add(role,
new CollectionPropertyMapping(queryableCollection));
}
return queryableCollection;
}
|
| |||
{
IQueryableCollection queryableCollection = (IQueryableCollection) [[#variable296d4080]].GetCollectionPersister(role);
if (queryableCollection != null)
{
[[#variable296d5160]].Add(role, new CollectionPropertyMapping(queryableCollection));
}
return queryableCollection;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#296d4080]] | sfi |
| 1 | 2 | [[#296d4080]] | _sfi |
| 2 | 1 | [[#296d5160]] | collectionPropertyMappingByRole |
| 2 | 2 | [[#296d5160]] | _collectionPropertyMappingByRole |