Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.991 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 2744 | src/NHibernate/Persister/Entity/AbstractEntityPersister.cs |
2 | 7 | 2861 | src/NHibernate/Persister/Entity/AbstractEntityPersister.cs |
| ||||
{ bool[] settable = types[i].ToColumnNullness(oldFields[i], Factory); types[i].NullSafeSet(statement, oldFields[i], index, settable, session); index += ArrayHelper.CountTrue(settable); } |
| ||||
{ // this property belongs to the table and it is not specifically // excluded from optimistic locking by optimistic-lock="false" bool[] settable = types[i].ToColumnNullness(loadedState[i], Factory); types[i].NullSafeSet(statement, loadedState[i], index, settable, session); index += ArrayHelper.CountTrue(settable); } |
| |||
{ // this property belongs to the table and it is not specifically // excluded from optimistic locking by optimistic-lock="false" bool[] settable = types[i].ToColumnNullness( [[#variable67d98a60]][i], Factory); types[i].NullSafeSet(statement, [[#variable67d98a60]][i], index, settable, session); index += ArrayHelper.CountTrue(settable); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#67d98a60]] | loadedState |
1 | 2 | [[#67d98a60]] | oldFields |