public void setTask(Task task) {
this.task = task;
}
/**
* Get the task for this tool.
*
* @return the Task instance this tool is associated with.
*/
protected Task getTask() {
return task
public void setTask(ServerDeploy task) {
this.task = task;
}
/**
* Returns the task field, a ServerDeploy object.
* @return An ServerDeploy representing the parent task.
*/
protected ServerDeploy getTask() {
return task
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/ejb/GenericDeploymentTool.java
|
|
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/j2ee/AbstractHotDeploymentTool.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public void setTask(Task task) {↵ | | 1 | public void setTask(ServerDeploy task) {↵
|
2 | this.task = task;↵ | | 2 | this.task = task;↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Get the task for this tool.↵ | | 5 | * Returns the task f↵
|
6 | *↵ | | |
|
7 | * @return the Task instance this tool is associated with↵ | | 6 | ield, a ServerDeploy object.↵
|
8 | .↵ | | 7 | * @return An ServerDeploy representing the parent task.↵
|
9 | */↵ | | 8 | */↵
|
10 | protected Task getTask() {↵ | | 9 | protected ServerDeploy getTask() {↵
|
11 | return task | | 10 | return task
|
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 |