Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 3 | 4 | 0.966 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 527 | src/NHibernate/Loader/Criteria/CriteriaQueryTranslator.cs |
2 | 17 | 581 | src/NHibernate/Loader/Criteria/CriteriaQueryTranslator.cs |
3 | 17 | 757 | src/NHibernate/Loader/Criteria/CriteriaQueryTranslator.cs |
| ||||
{ // NH Different behavior: we don't use the projection alias for NH-1023 try { return GetColumns(propertyName, subcriteria); } catch (HibernateException) { //not found in inner query , try the outer query if (outerQueryTranslator != null) { return outerQueryTranslator.GetColumnsUsingProjection(subcriteria, propertyName); } else { throw; } } } |
| ||||
{ try { //it does not refer to an alias of a projection, //look for a property return GetType(subcriteria, propertyName); } catch (HibernateException) { //not found in inner query , try the outer query if (outerQueryTranslator != null) { return outerQueryTranslator.GetType(subcriteria, propertyName); } else { throw; } } } |
| ||||
{ //it does not refer to an alias of a projection, //look for a property try { return GetColumns(propertyName, subcriteria); } catch (HibernateException) { //not found in inner query , try the outer query if (outerQueryTranslator != null) { return outerQueryTranslator.GetColumnAliasesUsingProjection(subcriteria, propertyName); } else { throw; } } } |
| |||
{ // NH Different behavior: we don't use the projection alias for NH-1023 //it does not refer to an alias of a projection, //look for a property try { //it does not refer to an alias of a projection, //look for a property return [[#variable56a82440]]( [[#variable56a824c0]], [[#variable56a8c4c0]]); } catch (HibernateException) { //not found in inner query , try the outer query if (outerQueryTranslator != null) { return outerQueryTranslator. [[#variable56a823c0]](subcriteria, propertyName); } else { throw; } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56a82440]] | GetColumns |
1 | 2 | [[#56a82440]] | GetType |
1 | 3 | [[#56a82440]] | GetColumns |
2 | 1 | [[#56a824c0]] | propertyName |
2 | 2 | [[#56a824c0]] | subcriteria |
2 | 3 | [[#56a824c0]] | propertyName |
3 | 1 | [[#56a8c4c0]] | subcriteria |
3 | 2 | [[#56a8c4c0]] | propertyName |
3 | 3 | [[#56a8c4c0]] | subcriteria |
4 | 1 | [[#56a823c0]] | GetColumnsUsingProjection |
4 | 2 | [[#56a823c0]] | GetType |
4 | 3 | [[#56a823c0]] | GetColumnAliasesUsingProjection |