void setConfigChoice(String choice) {
setProperty(CONFIG_CHOICE, choice);
}
/**
* return the config choice
*
*/
public String getConfigChoice() {
return getPropertyAsString(CONFIG_CHOICE);
}
/**
* set the source of the message
*
* @param choice
*/
public void setMessageChoice(String choice) {
setProperty(MESSAGE_CHOICE, choice);
}
void setMethod(String value) {
setProperty(METHOD, value);
}
public String getMethod() {
return getPropertyAsString(METHOD);
}
public void setContentEncoding(String value) {
setProperty(CONTENT_ENCODING, value);
}
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/jms/sampler/PublisherSampler.java
|
|
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/sampler/HTTPSamplerBase.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | void setConfigChoice(String choice) {↵ | | 1 | void setMethod(String value) {↵
|
2 | setProperty(CONFIG_CHOICE, choice);↵ | | 2 | setProperty(↵
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * return the config choice↵ | | |
|
6 | * ↵ | | |
|
7 | */↵ | | 3 | METHOD, value);↵
|
| | | 4 | }↵
|
|
8 | public String getConfigChoice() {↵ | | 5 | public String getMethod() {↵
|
9 | return getPropertyAsString(CONFIG_CHOICE);↵ | | 6 | return getPropertyAsString(↵
|
10 | }↵ | | |
|
|
11 | /**↵ | | |
|
12 | * set the source of the message↵ | | |
|
13 | * ↵ | | |
|
14 | * @param choice↵ | | |
|
15 | */↵ | | |
|
16 | public void setMessageChoice↵ | | 7 | METHOD);↵
|
| | | 8 | }↵
|
|
17 | (String choice) {↵ | | 9 | public void setContentEncoding(String value) {↵
|
18 | setProperty(MESSAGE_CHOICE, choice);↵ | | 10 | setProperty(CONTENT_ENCODING, value);↵
|
19 | } | | 11 | }
|
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 |