CloneSet300


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
21210.994executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1211622
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/presentation/EcoreEditor.java
2211806
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/ecore2xml/presentation/Ecore2XMLEditor.java
Next
Last
Clone Instance
1
Line Count
21
Source Line
1622
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/ecore/presentation/EcoreEditor.java

try {
  if (marker.getType().equals(EValidator.MARKER)) {
    String uriAttribute = marker.getAttribute(EValidator.URI_ATTRIBUTE, null);
    if (uriAttribute != null) {
      URI uri = URI.createURI(uriAttribute);
      EObject eObject = editingDomain.getResourceSet().getEObject(uri, true);
      if (eObject != null) {
        setSelectionToViewer(Collections.singleton(editingDomain.getWrapper(eObject)));
      }
    }
  }
}
catch (CoreException
       exception) {
  EcoreEditorPlugin.INSTANCE.log(exception);
}


First
Previous
Clone Instance
2
Line Count
21
Source Line
1806
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/ecore2xml/presentation/Ecore2XMLEditor.java

try {
  if (marker.getType().equals(EValidator.MARKER)) {
    String uriAttribute = marker.getAttribute(EValidator.URI_ATTRIBUTE, null);
    if (uriAttribute != null) {
      URI uri = URI.createURI(uriAttribute);
      EObject eObject = editingDomain.getResourceSet().getEObject(uri, true);
      if (eObject != null) {
        setSelectionToViewer(Collections.singleton(editingDomain.getWrapper(eObject)));
      }
    }
  }
}
catch (CoreException
       exception) {
  Ecore2XMLUIPlugin.INSTANCE.log(exception);
}


Clone AbstractionParameter Count: 1Parameter Bindings

try {
  if (marker.getType().equals(EValidator.MARKER)) {
    String uriAttribute = marker.getAttribute(EValidator.URI_ATTRIBUTE, null);
    if (uriAttribute != null) {
      URI uri = URI.createURI(uriAttribute);
      EObject eObject = editingDomain.getResourceSet().getEObject(uri, true);
      if (eObject != null) {
        setSelectionToViewer(Collections.singleton(editingDomain.getWrapper(eObject)));
      }
    }
  }
}
catch (CoreException
       exception) {
   [[#variable17267fa0]].INSTANCE.log(exception);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#17267fa0]]
EcoreEditorPlugin 
12[[#17267fa0]]
Ecore2XMLUIPlugin