CloneSet994


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.988block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17220
E:/TSE/Projects-CloneDR/sql12/plugins/hibernate/src/net/sourceforge/squirrel_sql/plugins/hibernate/completion/HQLCompletionInfoCollection.java
27248
E:/TSE/Projects-CloneDR/sql12/plugins/hibernate/src/net/sourceforge/squirrel_sql/plugins/hibernate/completion/HQLCompletionInfoCollection.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
220
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/hibernate/src/net/sourceforge/squirrel_sql/plugins/hibernate/completion/HQLCompletionInfoCollection.java

{
  ArrayList<PropertyInfo> matchingAttributes = currentAliasInfo.getQualifiedMatchingAttributes(cp);
  for (PropertyInfo matchingAttribute: matchingAttributes) {
    if (matchingAttribute.getHibernatePropertyInfo().getPropertyName().equals(cp.getLastToken())) {
      return matchingAttribute.getMappedClassInfo();
    }
  }
}


First
Previous
Clone Instance
2
Line Count
7
Source Line
248
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/hibernate/src/net/sourceforge/squirrel_sql/plugins/hibernate/completion/HQLCompletionInfoCollection.java

{
  ArrayList<PropertyInfo> matchingAttributes = mappedClassInfo.getQualifiedMatchingAttributes(cp);
  for (PropertyInfo matchingAttribute: matchingAttributes) {
    if (matchingAttribute.getHibernatePropertyInfo().getPropertyName().equals(cp.getLastToken())) {
      return matchingAttribute.getMappedClassInfo();
    }
  }
}


Clone AbstractionParameter Count: 1Parameter Bindings

{
  ArrayList<PropertyInfo> matchingAttributes = [[#variable1cd594c0]].getQualifiedMatchingAttributes(cp);
  for (PropertyInfo matchingAttribute: matchingAttributes) {
    if (matchingAttribute.getHibernatePropertyInfo().getPropertyName().equals(cp.getLastToken())) {
      return matchingAttribute.getMappedClassInfo();
    }
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1cd594c0]]
currentAliasInfo 
12[[#1cd594c0]]
mappedClassInfo