@Override
public Collection<?> doGetResult()
{
return copyCommand.getResult();
}
@Override
public Collection<?> doGetAffectedObjects()
{
return copyCommand.getAffectedObjects();
@Override
public Collection<?> doGetResult()
{
return command.getResult();
}
@Override
public Collection<?> doGetAffectedObjects()
{
return command.getAffectedObjects();
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/edit/command/CopyToClipboardCommand.java
|
|
File path: /emf-2.4.1/src/org/eclipse/emf/edit/command/PasteFromClipboardCommand.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | @Override↵ | | 1 | @Override↵
|
2 | public Collection<?> doGetResult()↵ | | 2 | public Collection<?> doGetResult()↵
|
3 | {↵ | | 3 | {↵
|
4 | return copyCommand.getResult();↵ | | 4 | return command.getResult();↵
|
5 | }↵ | | 5 | }↵
|
|
6 | @Override↵ | | 6 | @Override↵
|
7 | public Collection<?> doGetAffectedObjects()↵ | | 7 | public Collection<?> doGetAffectedObjects()↵
|
8 | {↵ | | 8 | {↵
|
9 | return copyCommand.getAffectedObjects(); | | 9 | return command.getAffectedObjects();
|
See real code fragment |
|
See real code fragment |
Summary
Number of common nesting structure subtrees | 0 |
Number of refactorable cases | 0 |
Number of non-refactorable cases | 0 |
Time elapsed for finding largest common nesting structure subtrees (ms) | 0.0 |
Clones location | |
Number of node comparisons | 0 |