String getConfigChoice() {
return getPropertyAsString(CONFIG_CHOICE);
}
/**
* set the source of the message
*
* @param choice
*/
public void setMessageChoice(String choice) {
setProperty(MESSAGE_CHOICE, choice);
}
/**
* return the source of the message
*
*/
public String getMessageChoice() {
return getPropertyAsString(MESSAGE_CHOICE);
String getRefName() {
return getPropertyAsString(REFNAME);
}
public void setDefaultValue(String val) {
setProperty(DEFAULT, val);
}
public String getDefaultValue() {
return getPropertyAsString(DEFAULT);
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/extractor/XPathExtractor.java
|
Method name:
|
|
Method name:
|
Number of AST nodes: 0
|
|
Number of AST nodes: 0
|
|
1 | String getConfigChoice() {↵ | | 1 | String getRefName() {↵
|
2 | return getPropertyAsString(CONFIG_CHOICE);↵ | | 2 | return getPropertyAsString(↵
|
3 | }↵ | | |
|
|
4 | /**↵ | | |
|
5 | * set the source of the message↵ | | |
|
6 | * ↵ | | |
|
7 | * @param choice↵ | | |
|
8 | */↵ | | |
|
9 | ↵ | | 3 | REFNAME);↵
|
| | | 4 | }↵
|
| | | 5 | ↵
|
10 | public void setMessageChoice(String choice) {↵ | | 6 | public void setDefaultValue(String val) {↵
|
11 | setProperty(MESSAGE_CHOICE, choice);↵ | | 7 | setProperty(↵
|
12 | }↵ | | |
|
|
13 | /**↵ | | |
|
14 | * return the source of the message↵ | | |
|
15 | * ↵ | | |
|
16 | */↵ | | 8 | DEFAULT, val);↵
|
| | | 9 | }↵
|
|
17 | public String getMessageChoice() {↵ | | 10 | public String getDefaultValue() {↵
|
18 | return getPropertyAsString(MESSAGE_CHOICE);↵ | | 11 | return getPropertyAsString(DEFAULT);↵
|
19 | | | 12 |
|
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 |