String getMimeType() { return getPropertyAsString(MIMETYPE); } /** * Set the path of the File. * * @param newPath * the new path */ public void setPath(String newPath) { setProperty(new StringProperty(FILEPATH, newPath)); } /** * Get the path of the File. * * @return the file's path */ public String getPath() { return getPropertyAsString(FILEPATH);
String getAttrs() { return getPropertyAsString(ATTRIBS); } /*************************************************************************** * Sets the Base Entry DN attribute of the LDAPSampler object * * @param newbaseentry * The new Base entry DN value **************************************************************************/ public void setBaseEntryDN(String newbaseentry) { setProperty(new StringProperty(BASE_ENTRY_DN, newbaseentry)); } /*************************************************************************** * Gets the BaseEntryDN attribute of the LDAPSampler object * * @return The Base entry DN value **************************************************************************/ public String getBaseEntryDN() { return getPropertyAsString(BASE_ENTRY_DN);
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/util/HTTPFileArg.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ldap/sampler/LDAPExtSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getMimeType() {
1
String getAttrs() {
2
		return getPropertyAsString(MIMETYPE);
2
		return getPropertyAsString(ATTRIBS);
3
	}
3
	}
4
	/**
4
	/***************************************************************************
5
	 * Set the path of the File.
5
	 * Sets the Base Entry DN attribute of the LDAPSampler object
6
	 *
6
	 * 
7
	 * @param newPath
7
	 * @param new
8
	 *	the new path
9
	 
8
baseentry
9
	 *            The new Base entry DN value
10
*/
10
	 **************************************************************************/
11
	public void setPath(String newPath) {
11
	public void setBaseEntryDN(String newbaseentry) {
12
		setProperty(new StringProperty(FILEPATH, newPath));
12
		setProperty(new StringProperty(
13
	}
14
	/
13
BASE_ENTRY_DN, newbaseentry));
14
	}
15
**
15
	/***************************************************************************
16
	 * Get the path of the File.
16
	 * Gets the BaseEntryDN attribute of the LDAPSampler object
17
	 *
17
	 * 
18
	 * @return the file's path
18
	 * @return The 
19
	 
19
Base entry DN value
20
*/
20
	 **************************************************************************/
21
	public String getPath() {
21
	public String getBaseEntryDN() {
22
		return getPropertyAsString(FILEPATH);
22
		return getPropertyAsString(BASE_ENTRY_DN);
23
	
23
	
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