Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 2 | 0.973 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 107 | src/NHibernate/SqlCommand/SqlDeleteBuilder.cs |
2 | 7 | 137 | src/NHibernate/SqlCommand/SqlUpdateBuilder.cs |
| ||||
public virtual SqlDeleteBuilder SetWhere(string whereSql) { if (StringHelper.IsNotEmpty(whereSql)) { whereStrings = new List<SqlString> (new [] { new SqlString(whereSql) } ); } return this ; } |
| ||||
public SqlUpdateBuilder SetWhere(string whereSql) { if (StringHelper.IsNotEmpty(whereSql)) { whereStrings = new List<SqlString> (new [] { new SqlString(whereSql) } ); } return this ; } |
| |||
[[#variable27d40020]] [[#variable27d13ee0]]SetWhere(string whereSql) { if (StringHelper.IsNotEmpty(whereSql)) { whereStrings = new List<SqlString> (new [] { new SqlString(whereSql) } ); } return this ; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#27d40020]] | public virtual |
1 | 2 | [[#27d40020]] | public |
2 | 1 | [[#27d13ee0]] | SqlDeleteBuilder |
2 | 2 | [[#27d13ee0]] | SqlUpdateBuilder |