public void addRotate(Rotate instr) {
instructions.add(instr);
}
/**
* Add a Scale ImageOperation to the chain.
* @param instr The Scale operation to add to the chain.
* @see org.apache.tools.ant.types.optional.image.Scale
*/
public void addScale(Scale instr) {
instructions.add(instr);
public void addRotate(Rotate instr) {
instructions.add(instr);
}
/**
* Add a draw to the operation.
* @param instr the draw to add.
*/
public void addDraw(Draw instr) {
instructions.add(instr);
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/image/Image.java
|
|
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/types/optional/image/ImageOperation.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public void addRotate(Rotate instr) {↵ | | 1 | public void addRotate(Rotate instr) {↵
|
2 | instructions.add(instr);↵ | | 2 | instructions.add(instr);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Add a Scale ImageOperation to the chain.↵ | | 5 | * Add a draw to the operation.↵
|
6 | * @param instr The Scale operation to add to the chain.↵ | | 6 | * @param instr the ↵
|
7 | * @see org.apache.tools.ant.types.optional.image.Scale↵ | | 7 | draw to add.↵
|
8 | */↵ | | 8 | */↵
|
9 | public void addScale(Scale instr) {↵ | | 9 | public void addDraw(Draw instr) {↵
|
10 | instructions.add(instr); | | 10 | instructions.add(instr);
|
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 |