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 getContentEncoding() { return getPropertyAsString(CONTENT_ENCODING); } public void setUseKeepAlive(boolean value) { setProperty(new BooleanProperty(USE_KEEPALIVE, value)); } public boolean getUseKeepAlive() { return getPropertyAsBoolean(USE_KEEPALIVE); }
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/http/sampler/HTTPSamplerBase.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String getNumMessagesString() {
1
String getContentEncoding() {
2
		return getPropertyAsString(NUM_MESSAGES);
2
		return getPropertyAsString(
3
	}
4
	/**
5
	 * @param delete -
6
	 *            Whether or not to delete the read messages from the folder.
7
	 */
3
CONTENT_ENCODING);
4
	}
8
	public void setDeleteMessages(boolean delete) {
5
	public void setUseKeepAlive(boolean value) {
9
		setProperty(new BooleanProperty(DELETE, delete));
6
		setProperty(new BooleanProperty(
10
	}
11
	/**
12
	 * @return Whether or not to delete the read messages from the folder.
13
	 */
7
USE_KEEPALIVE, value));
8
	}
14
	public boolean getDeleteMessages() {
9
	public boolean getUseKeepAlive() {
15
		return getPropertyAsBoolean(DELETE);
10
		return getPropertyAsBoolean(USE_KEEPALIVE);
16
	}
11
	}
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