CommandActionDelegate commandActionDelegate; /** * Returns a new <code>AffectedObjectsWrappingCommandActionDelegate</code> for the given command. * @exception ClassCastException If the specified command does not implement {@link org.eclipse.emf.common.command.Command}. */ public AffectedObjectsWrappingCommandActionDelegate(CommandActionDelegate command) { super((Command)command); commandActionDelegate = command;
CommandActionDelegate commandActionDelegate; /** * Returns a new <code>ResultAndAffectedObjectsWrappingCommandActionDelegate</code> for the given command. * @exception ClassCastException If the specified command does not implement {@link org.eclipse.emf.common.command.Command}. */ public ResultAndAffectedObjectsWrappingCommandActionDelegate(CommandActionDelegate command) { super((Command)command); commandActionDelegate = command;
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/edit/provider/DelegatingWrapperItemProvider.java File path: /emf-2.4.1/src/org/eclipse/emf/edit/provider/ItemProviderAdapter.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
CommandActionDelegate commandActionDelegate;
1
CommandActionDelegate commandActionDelegate;
2
    
2
    
3
    /**
3
    /**
4
     * Returns a new <code>AffectedObjectsWrappingCommandActionDelegate</code> for the given command.
4
     * Returns a new <code>ResultAndAffectedObjectsWrappingCommandActionDelegate</code> for the given command.
5
     * @exception ClassCastException If the specified command does not implement {@link org.eclipse.emf.common.command.Command}.
5
     * @exception ClassCastException If the specified command does not implement {@link org.eclipse.emf.common.command.Command}.
6
     */
6
     */
7
    public AffectedObjectsWrappingCommandActionDelegate(CommandActionDelegate command)
7
    public ResultAndAffectedObjectsWrappingCommandActionDelegate(CommandActionDelegate command)
8
    {
8
    {
9
      super((Command)command);
9
      super((Command)command);
10
      commandActionDelegate = command;
10
      commandActionDelegate = command;
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0