void setPathExtension(boolean pathExt) { setProperty(new BooleanProperty(PATH_EXTENSION, pathExt)); } public void setPathExtensionNoEquals(boolean pathExtNoEquals) { setProperty(new BooleanProperty(PATH_EXTENSION_NO_EQUALS, pathExtNoEquals)); } public void setPathExtensionNoQuestionmark(boolean pathExtNoQuestionmark) { setProperty(new BooleanProperty(PATH_EXTENSION_NO_QUESTIONMARK, pathExtNoQuestionmark));
void setWhitespace(boolean whitespace) { setProperty(new BooleanProperty(WHITESPACE_KEY, whitespace)); } /** * Set use validation * * @param validate */ public void setValidating(boolean validate) { setProperty(new BooleanProperty(VALIDATE_KEY, validate)); } /** * Set whether this is namespace aware * * @param namespace */ public void setNamespace(boolean namespace) { setProperty(new BooleanProperty(NAMESPACE_KEY, namespace));
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/assertions/XPathAssertion.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setPathExtension(boolean pathExt) {
1
void setWhitespace(boolean whitespace) {
2
		setProperty(new BooleanProperty(PATH_EXTENSION, pathExt));
2
		setProperty(new BooleanProperty(
3
	}
4
	public void setPathExtensionNoEquals(boolean pathExtNoEquals) {
5
		setProperty(new BooleanProperty(PATH_EXTENSION_NO_EQUALS, pathExtNoEquals));
6
	}
7
	public void setPathExtensionNoQuestionmark(boolean pathExtNoQuestionmark
3
WHITESPACE_KEY, whitespace));
4
	}
5
	/**
6
	 * Set use validation
7
	 * 
8
	 * @param validate
9
	 */
10
	public void setValidating(boolean validate) {
11
		setProperty(new BooleanProperty(VALIDATE_KEY, validate));
12
	}
13
	/**
14
	 * Set whether this is namespace aware
15
	 * 
16
	 * @param namespace
17
	 */
8
) {
18
	public void setNamespace(boolean namespace) {
9
		setProperty(new BooleanProperty(PATH_EXTENSION_NO_QUESTIONMARK, pathExtNoQuestionmark));
19
		setProperty(new BooleanProperty(NAMESPACE_KEY, namespace));
10
	
20
	
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