Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.995 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 249 | src/NHibernate/Impl/SessionFactoryImpl.cs |
2 | 9 | 261 | src/NHibernate/Impl/SessionFactoryImpl.cs |
| ||||
{ string entityName = ((IAssociationType) indexType).GetAssociatedEntityName(this ); ISet<string> roles; if ( !tmpEntityToCollectionRoleMap.TryGetValue(entityName, out roles)) { roles = new HashedSet<string> (); tmpEntityToCollectionRoleMap[entityName] = roles; } roles.Add(persister.Role); } |
| ||||
{ string entityName = ((IAssociationType) elementType).GetAssociatedEntityName(this ); ISet<string> roles; if ( !tmpEntityToCollectionRoleMap.TryGetValue(entityName, out roles)) { roles = new HashedSet<string> (); tmpEntityToCollectionRoleMap[entityName] = roles; } roles.Add(persister.Role); } |
| |||
{ string entityName = ((IAssociationType) [[#variable2ac70e60]]).GetAssociatedEntityName(this ); ISet<string> roles; if ( !tmpEntityToCollectionRoleMap.TryGetValue(entityName, out roles)) { roles = new HashedSet<string> (); tmpEntityToCollectionRoleMap[entityName] = roles; } roles.Add(persister.Role); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2ac70e60]] | indexType |
1 | 2 | [[#2ac70e60]] | elementType |