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)); } public void setShouldCache(boolean b) { setProperty(new BooleanProperty(SHOULD_CACHE, b));
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)); } /** * Set tolerant mode if required * * @param tolerant * true/false */ public void setTolerant(boolean tolerant) { setProperty(new BooleanProperty(TOLERANT_KEY, tolerant));
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) {
8
		setProperty(new BooleanProperty(PATH_EXTENSION_NO_QUESTIONMARK, pathExtNoQuestionmark));
9
	}
10
    
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
	 */
18
	public void setNamespace(boolean namespace) {
19
		setProperty(new BooleanProperty(NAMESPACE_KEY, namespace));
20
	}
21
	/**
22
	 * Set tolerant mode if required
23
	 * 
24
	 * @param tolerant
25
	 *            true/false
26
	 */
11
public void setShouldCache(boolean b) {
27
	public void set
12
        
28
Tolerant(boolean tolerant) {
13
setProperty(new BooleanProperty(SHOULD_CACHE, b));
29
		setProperty(new BooleanProperty(TOLERANT_KEY, tolerant));
14
    
30
	
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