Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 4 | 0.959 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 700 | src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs |
2 | 4 | 721 | src/NHibernate/Persister/Collection/AbstractCollectionPersister.cs |
| ||||
object index = IndexType.NullSafeGet(rs, aliases, session, null); if (index == null) { throw new HibernateException("null index column for collection: " + role); } |
| ||||
object id = IdentifierType.NullSafeGet(rs, alias, session, null); if (id == null) { throw new HibernateException("null identifier column for collection: " + role); } |
| |||
object [[#variable296e0c40]]= [[#variable296e13a0]].NullSafeGet(rs, [[#variable296e07a0]], session, null); if ( [[#variable296e0c40]]== null) { throw new HibernateException( [[#variable296e1320]]+ role); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#296e0c40]] | id |
1 | 2 | [[#296e0c40]] | index |
2 | 1 | [[#296e13a0]] | IdentifierType |
2 | 2 | [[#296e13a0]] | IndexType |
3 | 1 | [[#296e07a0]] | alias |
3 | 2 | [[#296e07a0]] | aliases |
4 | 1 | [[#296e1320]] | "null identifier column for collection: " |
4 | 2 | [[#296e1320]] | "null index column for collection: " |