String getNumMessagesString() { return getPropertyAsString(NUM_MESSAGES); } /** * @param delete - * Whether or not to delete the read messages from the folder. */ public void setDeleteMessages(boolean delete) { setProperty(new BooleanProperty(DELETE, delete)); } /** * @return Whether or not to delete the read messages from the folder. */ public boolean getDeleteMessages() { return getPropertyAsBoolean(DELETE); }
String getTest() { return getPropertyAsString(TEST); } /** * Sets the UserDefinedTest attribute of the LDAPSampler object. * * @param value * the new UserDefinedTest value */ public void setUserDefinedTest(boolean value) { setProperty(new BooleanProperty(USER_DEFINED, value)); } /** * Gets the UserDefinedTest attribute of the LDAPSampler object. * * @return the test value true or false. If true it will do the * UserDefinedTest else our own inbuild test case. */ public boolean getUserDefinedTest() { return getPropertyAsBoolean(USER_DEFINED); }
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/mail/sampler/MailReaderSampler.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ldap/sampler/LDAPSampler.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getNumMessagesString() {
1
String getTest() {
2
		return getPropertyAsString(NUM_MESSAGES);
2
		return getPropertyAsString(TEST);
3
	}
3
	}
4
	/**
4
	/**
5
	 * @param delete -
5
	 * 
6
	 *            Whether or not to delete the read messages from the folder.
6
Sets the UserDefinedTest attribute of the LDAPSampler object.
7
	 * 
8
	 * @param value
9
	 *            the new UserDefinedTest value
7
	 */
10
	 */
8
	public void setDeleteMessages(boolean delete) {
11
	public void setUserDefinedTest(boolean value) {
9
		setProperty(new BooleanProperty(DELETE, delete));
12
		setProperty(new BooleanProperty(USER_DEFINED, value));
10
	}
13
	}
11
	/**
14
	/**
12
	 * @return Whether or not to delete the read messages from the folder
15
	 * Gets the UserDefinedTest attribute of the LDAPSampler object.
16
	 * 
17
	 * @return the test value true or false. If true it will do the
13
.
18
	 *         UserDefinedTest else our own inbuild test case.
14
	 */
19
	 */
15
	public boolean getDeleteMessages() {
20
	public boolean getUserDefinedTest() {
16
		return getPropertyAsBoolean(DELETE);
21
		return getPropertyAsBoolean(USER_DEFINED);
17
	}
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