CloneSet886


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

/**
 * This keeps track of all the subcommand(s) use to implement this command.
 */
Command subcommand;

/**
 * This creates a command instance that adds the new mappings in the collection into the appropriate place in the mapping root's.
 */
public AddMappingCommand(MappingDomain domain, Collection<? > collection) {
  super(LABEL, DESCRIPTION);
  this.domain = domain;
  this.collection = collection;
}


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

/**
 * This keeps track of all the subcommand(s) use to implement this command.
 */
Command subcommand;

/**
 * This creates a command instance that removes the mappings in the collection from the mapping root.
 */
public RemoveMappingCommand(MappingDomain domain, Collection<? > collection) {
  super(LABEL, DESCRIPTION);
  this.domain = domain;
  this.collection = collection;
}


Clone AbstractionParameter Count: 1Parameter Bindings

/**
   * This keeps track of all the subcommand(s) use to implement this command.
   */
Command subcommand;

/**
   * This creates a command instance that removes the mappings in the collection from the mapping root.
   */
/**
   * This creates a command instance that adds the new mappings in the collection into the appropriate place in the mapping root's.
   */
public [[#variable17457e20]](MappingDomain domain, Collection<? > collection) {
  super(LABEL, DESCRIPTION);
  this.domain = domain;
  this.collection = collection;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#17457e20]]
AddMappingCommand 
12[[#17457e20]]
RemoveMappingCommand