CollectionProperty getArguments() {
return (CollectionProperty) getProperty(ARGUMENTS);
}
/**
* Clear the arguments.
*/
public void clear() {
super.clear();
setProperty(new CollectionProperty(ARGUMENTS, new ArrayList()));
}
/**
* Set the list of arguments. Any existing arguments will be lost.
*
* @param arguments
* the new arguments
*/
public void setArguments(List arguments) {
setProperty(new CollectionProperty(ARGUMENTS, arguments));
}
CollectionProperty getArguments() {
return (CollectionProperty) getProperty(ARGUMENTS);
}
/**
* Clear the arguments.
*/
public void clear() {
super.clear();
setProperty(new CollectionProperty(ARGUMENTS, new ArrayList()));
}
/**
* Set the list of arguments. Any existing arguments will be lost.
*
* @param arguments
* the new arguments
*/
public void setArguments(List arguments) {
setProperty(new CollectionProperty(ARGUMENTS, arguments));
}
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/config/Arguments.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ldap/config/gui/LDAPArguments.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | CollectionProperty getArguments() {↵ | | 1 | CollectionProperty getArguments() {↵
|
2 | return (CollectionProperty) getProperty(ARGUMENTS);↵ | | 2 | return (CollectionProperty) getProperty(ARGUMENTS);↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Clear the arguments.↵ | | 5 | * Clear the arguments.↵
|
6 | */↵ | | 6 | */↵
|
7 | public void clear() {↵ | | 7 | public void clear() {↵
|
8 | super.clear();↵ | | 8 | super.clear();↵
|
9 | setProperty(new CollectionProperty(ARGUMENTS, new ArrayList()));↵ | | 9 | setProperty(new CollectionProperty(ARGUMENTS, new ArrayList()));↵
|
10 | }↵ | | 10 | }↵
|
|
11 | /**↵ | | 11 | /**↵
|
12 | * Set the list of arguments. Any existing arguments will be lost.↵ | | 12 | * Set the list of arguments. Any existing arguments will be lost.↵
|
13 | * ↵ | | 13 | * ↵
|
14 | * @param arguments↵ | | 14 | * @param arguments↵
|
15 | * the new arguments↵ | | 15 | * the new arguments↵
|
16 | */↵ | | 16 | */↵
|
17 | public void setArguments(List arguments) {↵ | | 17 | public void setArguments(List arguments) {↵
|
18 | setProperty(new CollectionProperty(ARGUMENTS, arguments));↵ | | 18 | setProperty(new CollectionProperty(ARGUMENTS, arguments));↵
|
19 | } | | 19 | }
|
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 |