void setJNDIIntialContextFactory(String icf) { setProperty(JNDI_INITIAL_CONTEXT_FAC, icf); } /** * method returns the initial context factory for jndi initial context * lookup. * * @return the initial context factory */ public String getJNDIInitialContextFactory() { return getPropertyAsString(JNDI_INITIAL_CONTEXT_FAC); } /** * set the provider user for jndi * * @param url the provider URL */ public void setProviderUrl(String url) { setProperty(PROVIDER_URL, url);
void setXmlPathLoc(String path) { setProperty(XML_PATH_LOC, path); } /** * Get the path where XML messages are stored. this is the directory where * JMeter will randomly select a file. */ public String getXmlPathLoc() { return getPropertyAsString(XML_PATH_LOC); } /** * it's kinda obvious, but we state it anyways. Set the xml file with a * string path. * * @param filename */ public void setXmlFile(String filename) { setProperty(XML_DATA_FILE, filename);
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/protocol/http/sampler/WebServiceSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setJNDIIntialContextFactory(String icf) {
1
void setXmlPathLoc(String path) {
2
		setProperty(JNDI_INITIAL_CONTEXT_FAC, icf);
2
		setProperty(XML_PATH_LOC, path);
3
	}
3
	}
4
	/**
4
	/**
5
	 * method returns the initial context factory for jndi initial context
5
	 * Get
6
	 * lookup.
7
	 * 
6
 the path where XML messages are stored. this is the directory where
8
	 * @return the initial context factory 
7
	 * JMeter will randomly select a file.
9
	 */
8
	 */
10
	public String getJNDIInitialContextFactory() {
9
	public String getXmlPathLoc() {
11
		return getPropertyAsString(JNDI_INITIAL_CONTEXT_FAC);
10
		return getPropertyAsString(
12
	}
13
	/**
14
	 * set the provider user for jndi
15
	 * 
16
	 * @param url the provider URL
11
XML_PATH_LOC);
12
	}
13
	/**
14
	 * it's kinda obvious, but we state it anyways. Set the xml file with a
15
	 * string path.
16
	 * 
17
	 * @param filename
17
	 */
18
	 */
18
	public void setProviderUrl(String url) {
19
	public void set
19
		setProperty(PROVIDER_URL, url
20
XmlFile(String filename) {
20
);
21
		setProperty(XML_DATA_FILE, filename);
21
	
22
	
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