CloneSet771


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000statement_list[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17133
src/NHibernate/Type/ComponentType.cs
27160
src/NHibernate/Type/ComponentType.cs
Clone Instance
1
Line Count
7
Source Line
133
Source File
src/NHibernate/Type/ComponentType.cs

                        /* 
                         * NH Different behavior : we don't use the shortcut because NH-1101 
                         * let the tuplizer choose how cosiderer properties when the component is null.
                         */
                        EntityMode entityMode = session.EntityMode;
                        if (entityMode != EntityMode.Poco && (x == null || y == null))
                        {
                                return true;
                        }
                        object[] xvalues = GetPropertyValues(x, entityMode);
                        object[] yvalues = GetPropertyValues(y, entityMode);


Clone Instance
2
Line Count
7
Source Line
160
Source File
src/NHibernate/Type/ComponentType.cs

                        /* 
                         * NH Different behavior : we don't use the shortcut because NH-1101 
                         * let the tuplizer choose how cosiderer properties when the component is null.
                         */
                        EntityMode entityMode = session.EntityMode;
                        if (entityMode != EntityMode.Poco && (x == null || y == null))
                        {
                                return true;
                        }
                        object[] xvalues = GetPropertyValues(x, entityMode);
                        object[] yvalues = GetPropertyValues(y, entityMode);


Clone AbstractionParameter Count: 0Parameter Bindings

/* 
                         * NH Different behavior : we don't use the shortcut because NH-1101 
                         * let the tuplizer choose how cosiderer properties when the component is null.
                         */
EntityMode entityMode = session.EntityMode;
if (entityMode != EntityMode.Poco && (x == null || y == null))
{
   return true;
}
object[] xvalues = GetPropertyValues(x, entityMode);
object[] yvalues = GetPropertyValues(y, entityMode);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None