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)); } public void setNegated(boolean negate) { setProperty(new BooleanProperty(NEGATE_KEY, negate));
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));
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/assertions/XPathAssertion.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/modifier/URLRewritingModifier.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
void setNamespace(boolean namespace) {
1
void setPathExtension(boolean pathExt) {
2
		setProperty(new BooleanProperty(NAMESPACE_KEY, namespace));
2
		setProperty(new BooleanProperty(
3
	}
4
	/**
5
	 * Set tolerant mode if required
6
	 * 
7
	 * @param tolerant
8
	 *            true/false
9
	 */
10
	public void setTolerant(boolean tolerant) {
11
		setProperty(new BooleanProperty(TOLERANT_KEY, tolerant));
12
	}
13
	public void setNegated(boolean negate) {
14
		setProperty(new BooleanProperty(NEGATE_KEY, negate
3
PATH_EXTENSION, pathExt));
4
	}
5
	public void setPathExtensionNoEquals(boolean pathExtNoEquals) {
6
		setProperty(new BooleanProperty(PATH_EXTENSION_NO_EQUALS, pathExtNoEquals));
7
	}
8
	public void setPathExtensionNoQuestionmark(boolean pathExtNoQuestionmark) {
15
));
9
		setProperty(new BooleanProperty(PATH_EXTENSION_NO_QUESTIONMARK, pathExtNoQuestionmark));
16
	
10
	
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