CloneSet856


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9210.995block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19249
src/NHibernate/Impl/SessionFactoryImpl.cs
29261
src/NHibernate/Impl/SessionFactoryImpl.cs
Clone Instance
1
Line Count
9
Source Line
249
Source File
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);
                                }


Clone Instance
2
Line Count
9
Source Line
261
Source File
src/NHibernate/Impl/SessionFactoryImpl.cs

                                {
                                        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);
                                }


Clone AbstractionParameter Count: 1Parameter Bindings

{
   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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#2ac70e60]]
indexType 
12[[#2ac70e60]]
elementType