Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.963 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 203 | src/NHibernate/Criterion/DetachedCriteria.cs |
2 | 10 | 789 | src/NHibernate/Impl/CriteriaImpl.cs |
| ||||
public DetachedCriteria SetFirstResult(int firstResult) { criteria.SetFirstResult(firstResult); return this ; } public DetachedCriteria SetMaxResults(int maxResults) { criteria.SetMaxResults(maxResults); return this ; } |
| ||||
public ICriteria SetFirstResult(int firstResult) { root.SetFirstResult(firstResult); return this ; } public ICriteria SetMaxResults(int maxResults) { root.SetMaxResults(maxResults); return this ; } |
| |||
public [[#variable258b1dc0]]SetFirstResult(int firstResult) { [[#variable258b1da0]].SetFirstResult(firstResult); return this ; } public [[#variable258b1dc0]]SetMaxResults(int maxResults) { [[#variable258b1da0]].SetMaxResults(maxResults); return this ; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#258b1dc0]] | DetachedCriteria |
1 | 2 | [[#258b1dc0]] | ICriteria |
2 | 1 | [[#258b1da0]] | criteria |
2 | 2 | [[#258b1da0]] | root |