CloneSet1195


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
3201.000method_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1356
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/AddMappingCommand.java
2345
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/RemoveMappingCommand.java
Next
Last
Clone Instance
1
Line Count
3
Source Line
56
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/AddMappingCommand.java

/**
 * This creates a command that adds the new mappings in the collection into the appropriate place in the mapping root's.
 */
public static Command create(MappingDomain domain, Mapping mapping) {
  return create(domain, Collections.singleton(mapping));
}


First
Previous
Clone Instance
2
Line Count
3
Source Line
45
Source File
E:/TSE/Projects-CloneDR/emf-2.4.1/src/org/eclipse/emf/mapping/command/RemoveMappingCommand.java

/**
 * This creates a command that removes the mapping from the mapping root.
 */
public static Command create(MappingDomain domain, Mapping mapping) {
  return create(domain, Collections.singleton(mapping));
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
   * This creates a command that adds the new mappings in the collection into the appropriate place in the mapping root's.
   */
/**
   * This creates a command that removes the mapping from the mapping root.
   */
public static Command create(MappingDomain domain, Mapping mapping) {
  return create(domain, Collections.singleton(mapping));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None