CloneSet1736


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
19240.953class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11693
src/NHibernate/Engine/IdentifierValue.cs
21957
src/NHibernate/Engine/VersionValue.cs
Clone Instance
1
Line Count
16
Source Line
93
Source File
src/NHibernate/Engine/IdentifierValue.cs

                private class SaveNullClass : IdentifierValue
                {
                        public override bool ? IsUnsaved(object id)
                        {
                                log.Debug("unsaved-value strategy NULL");
                                return id == null;
                        }

                        public override object GetDefaultValue(object currentValue)
                        {
                                return null;
                        }

                }



Clone Instance
2
Line Count
19
Source Line
57
Source File
src/NHibernate/Engine/VersionValue.cs

                private class VersionSaveNullClass : VersionValue
                {
                        public override bool ? IsUnsaved(object version)
                        {
                                log.Debug("version unsaved-value strategy NULL");
                                return version == null;
                        }

                        public override object GetDefaultValue(object currentValue)
                        {
                                return null;
                        }

                }



Clone AbstractionParameter Count: 4Parameter Bindings

private class [[#variable259a0300]]: [[#variable259a02a0]]
{
   public override bool ? IsUnsaved(object [[#variable259a01e0]])
   {
      log.Debug( [[#variable259a0140]]);
      return [[#variable259a01e0]]== null;
   }

   public override object GetDefaultValue(object currentValue)
   {
      return null;
   }

}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#259a0300]]
VersionSaveNullClass 
12[[#259a0300]]
SaveNullClass 
21[[#259a02a0]]
VersionValue 
22[[#259a02a0]]
IdentifierValue 
31[[#259a01e0]]
version 
32[[#259a01e0]]
id 
41[[#259a0140]]
"version unsaved-value strategy NULL" 
42[[#259a0140]]
"unsaved-value strategy NULL"