Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 0 | 1.000 | statement_list[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 133 | src/NHibernate/Type/ComponentType.cs |
2 | 7 | 160 | 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); |
| ||||
/* * 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); |
| |||
/* * 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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |