public void setName(String name) {
this.name = name;
}
/**
* Returns the name of this target.
*
* @return the name of this target, or <code>null</code> if the
* name has not been set yet.
*/
public String getName() {
return name
public void setName(String name) {
this.name = name;
}
/**
* Get the parameter name.
*
* @return the parameter's name.
*/
public String getName() {
return name
Clone fragments detected by clone detection tool
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/Target.java
|
|
File path: /apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/Javadoc.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public void setName(String name) {↵ | | 1 | public void setName(String name) {↵
|
2 | this.name = name;↵ | | 2 | this.name = name;↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Returns the name of this target.↵ | | 5 | * Get the ↵
|
6 | *↵ | | |
|
| | | 6 | parameter name.↵
|
| | | 7 | *↵
|
7 | * @return the name of this target, or <code>null</code> if the↵ | | 8 | * @return the parameter's name.↵
|
8 | * name has not been set yet.↵ | | 9 | */↵
|
9 | */↵ | | 10 | ↵
|
10 | public String getName() {↵ | | 11 | public String getName() {↵
|
11 | return name | | 12 | return name
|
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 |