CloneSet560


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10250.966block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110778
src/NHibernate/Impl/SessionFactoryImpl.cs
210832
src/NHibernate/Impl/SessionFactoryImpl.cs
Clone Instance
1
Line Count
10
Source Line
778
Source File
src/NHibernate/Impl/SessionFactoryImpl.cs

                {
                        IEntityPersister p = GetEntityPersister(persistentClass.FullName);
                        if (p.HasCache)
                        {
                                if (log.IsDebugEnabled)
                                {
                                        log.Debug("evicting second-level cache: " + MessageHelper.InfoString(p, id));
                                }
                                CacheKey ck = new CacheKey(id, p.IdentifierType, p.RootEntityName, EntityMode.Poco, this );
                                p.Cache.Remove(ck);
                        }
                }


Clone Instance
2
Line Count
10
Source Line
832
Source File
src/NHibernate/Impl/SessionFactoryImpl.cs

                {
                        ICollectionPersister p = GetCollectionPersister(roleName);
                        if (p.HasCache)
                        {
                                if (log.IsDebugEnabled)
                                {
                                        log.Debug("evicting second-level cache: " + MessageHelper.InfoString(p, id));
                                }
                                CacheKey ck = new CacheKey(id, p.KeyType, p.Role, EntityMode.Poco, this );
                                p.Cache.Remove(ck);
                        }
                }


Clone AbstractionParameter Count: 5Parameter Bindings

{
    [[#variable690ae120]]p = [[#variable2cd13b40]]( [[#variable690ae8c0]]);
   if (p.HasCache)
   {
      if (log.IsDebugEnabled)
      {
         log.Debug("evicting second-level cache: " + MessageHelper.InfoString(p, id));
      }
      CacheKey ck = new CacheKey(id, p. [[#variable690ae780]], p. [[#variable690ae5e0]], EntityMode.Poco, this );
      p.Cache.Remove(ck);
   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#690ae120]]
ICollectionPersister 
12[[#690ae120]]
IEntityPersister 
21[[#2cd13b40]]
GetCollectionPersister 
22[[#2cd13b40]]
GetEntityPersister 
31[[#690ae8c0]]
roleName 
32[[#690ae8c0]]
persistentClass.FullName 
41[[#690ae780]]
KeyType 
42[[#690ae780]]
IdentifierType 
51[[#690ae5e0]]
Role 
52[[#690ae5e0]]
RootEntityName