CloneSet1091


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12220.967block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1123521
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java
2123663
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java
Next
Last
Clone Instance
1
Line Count
12
Source Line
3521
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java

{
  // Consider the instance type names they wrap 
  // to see if they are non-null and equal.
  //
  String instanceTypeName1 = eClassifier.getInstanceTypeName();
  String instanceTypeName2 = eBoundEClassifier.getInstanceTypeName();
  // I.e., the classifiers are considered equal if they wrap the same non-null type.
  //
  if (instanceTypeName1 == null || !instanceTypeName1.equals(instanceTypeName2)) {
    return false;
  }
}


First
Previous
Clone Instance
2
Line Count
12
Source Line
3663
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/util/EcoreValidator.java

{
  // Consider the instance type names they wrap 
  // to see if they are non-null and equal.
  //
  String instanceTypeName1 = eClassifier1.getInstanceTypeName();
  String instanceTypeName2 = eClassifier2.getInstanceTypeName();
  // I.e., the classifiers are considered equal if they wrap the same non-null type.
  //
  if (instanceTypeName1 == null || !instanceTypeName1.equals(instanceTypeName2)) {
    return false;
  }
}


Clone AbstractionParameter Count: 2Parameter Bindings

{
  // Consider the instance type names they wrap 
  // to see if they are non-null and equal.
  //
  String instanceTypeName1 = [[#variable174d6940]].getInstanceTypeName();
  String instanceTypeName2 = [[#variable174d68c0]].getInstanceTypeName();
  // I.e., the classifiers are considered equal if they wrap the same non-null type.
  //
  if (instanceTypeName1 == null || !instanceTypeName1.equals(instanceTypeName2)) {
    return false;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#174d6940]]
eClassifier 
12[[#174d6940]]
eClassifier1 
21[[#174d68c0]]
eBoundEClassifier 
22[[#174d68c0]]
eClassifier2