Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.962 | statement_list[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 515 | src/NHibernate/Loader/Criteria/CriteriaQueryTranslator.cs |
2 | 6 | 603 | src/NHibernate/Loader/Criteria/CriteriaQueryTranslator.cs |
| ||||
if (cols.Length != 1) { throw new QueryException("property does not map to a single column: " + propertyName); } return cols[0]; |
| ||||
if (projectionTypes.Length != 1) { //should never happen, i think throw new QueryException("not a single-length projection: " + propertyName); } return projectionTypes[0]; |
| |||
if ( [[#variable687bb200]].Length != 1) { //should never happen, i think throw new QueryException( [[#variable69bd4d60]]+ propertyName); } return [[#variable687bb200]][0]; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#687bb200]] | projectionTypes |
1 | 2 | [[#687bb200]] | cols |
2 | 1 | [[#69bd4d60]] | "not a single-length projection: " |
2 | 2 | [[#69bd4d60]] | "property does not map to a single column: " |