boolean getReadResponseAsBoolean() { return getPropertyAsBoolean(READ_RESPONSE); } /** * if the sampler should use jndi.properties file, call the method with true * * @param properties */ public void setUseJNDIProperties(String properties) { setProperty(USE_PROPERTIES_FILE, properties); } /** * return whether the sampler should use properties file instead of UI * parameters. * * @return whether the sampler should use properties file instead of UI parameters. */ public String getUseJNDIProperties() { return getPropertyAsString(USE_PROPERTIES_FILE);
boolean isPerUser() { return getPropertyAsBoolean(PER_USER); } public void setVarName(String name) { setProperty(VAR_NAME, name); } public String getVarName() { return getPropertyAsString(VAR_NAME);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/jms/sampler/BaseJMSSampler.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/modifiers/CounterConfig.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
boolean getReadResponseAsBoolean() {
1
boolean isPerUser() {
2
		return getPropertyAsBoolean(READ_RESPONSE);
2
		return getPropertyAsBoolean(PER_USER);
3
	}
3
	}
4
	/**
4
	
5
	 * if the sampler should use jndi.properties file, call the method with true
6
	 * 
7
	 * @param properties
8
	 */
9
	public void setUseJNDIProperties(String properties) {
10
		setProperty(USE_PROPERTIES_FILE, properties);
11
	}
12
	/**
13
	 * return whether the sampler should use properties file instead of UI
14
	 * parameters.
15
	 * 
16
	 * @return  whether the sampler should use properties file instead of UI parameters.
17
	 */
18
	public String getUseJNDIProperties
5
public void setVarName(String name) {
6
		setProperty(VAR_NAME, name);
7
	}
19
() {
8
	public String getVarName() {
20
		return getPropertyAsString(USE_PROPERTIES_FILE);
9
		return getPropertyAsString(VAR_NAME);
21
	
10
	
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0