public synchronized void setParameters(Collection parameters) throws InvalidVariableException {
checkParameterCount(parameters, MIN_PARAMETER_COUNT, MAX_PARAMETER_COUNT);
values = parameters.toArray();
}
public String getReferenceKey() {
return KEY;
}
public List getArgumentDesc() {
return desc;
public synchronized void setParameters(Collection parameters) throws InvalidVariableException {
checkParameterCount(parameters, MIN_PARAMETER_COUNT, MAX_PARAMETER_COUNT);
values = parameters.toArray();
}
public String getReferenceKey() {
return KEY;
}
public List getArgumentDesc() {
return desc;
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/functions/LogFunction.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/functions/LogFunction2.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | public synchronized void setParameters(Collection parameters) throws InvalidVariableException {↵ | | 1 | public synchronized void setParameters(Collection parameters) throws InvalidVariableException {↵
|
2 | checkParameterCount(parameters, MIN_PARAMETER_COUNT, MAX_PARAMETER_COUNT);↵ | | 2 | checkParameterCount(parameters, MIN_PARAMETER_COUNT, MAX_PARAMETER_COUNT);↵
|
3 | values = parameters.toArray();↵ | | 3 | values = parameters.toArray();↵
|
4 | }↵ | | 4 | }↵
|
|
5 | public String getReferenceKey() {↵ | | 5 | public String getReferenceKey() {↵
|
6 | return KEY;↵ | | 6 | return KEY;↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public List getArgumentDesc() {↵ | | 8 | public List getArgumentDesc() {↵
|
9 | return desc;
| | 9 | return desc;
|
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 |