CollectionProperty getArguments() { return (CollectionProperty) getProperty(ARGUMENTS); } /** * Clear the arguments. */ public void clear() { super.clear(); setProperty(new CollectionProperty(ARGUMENTS, new ArrayList())); } /** * Set the list of arguments. Any existing arguments will be lost. * * @param arguments * the new arguments */ public void setArguments(List arguments) { setProperty(new CollectionProperty(ARGUMENTS, arguments));
CollectionProperty getHTTPFileArgsCollection() { return (CollectionProperty) getProperty(HTTP_FILE_ARGS); } /** * Clear the files. */ public void clear() { super.clear(); setProperty(new CollectionProperty(HTTP_FILE_ARGS, new ArrayList())); } /** * Set the list of files. Any existing files will be lost. * * @param files the new files */ public void setHTTPFileArgs(List files) { setProperty(new CollectionProperty(HTTP_FILE_ARGS, files));
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/ldap/config/gui/LDAPArguments.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/util/HTTPFileArgs.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
CollectionProperty getArguments() {
1
CollectionProperty getHTTPFileArgsCollection() {
2
		return (CollectionProperty) getProperty(ARGUMENTS);
2
		return (CollectionProperty) getProperty(HTTP_FILE_ARGS);
3
	}
3
	}
4
	/**
4
	/**
5
	 * Clear the arguments.
5
	 * Clear the files.
6
	 */
6
	 */
7
	public void clear() {
7
	public void clear() {
8
		super.clear();
8
		super.clear();
9
		setProperty(new CollectionProperty(ARGUMENTS, new ArrayList()));
9
		setProperty(new CollectionProperty(HTTP_FILE_ARGS, new ArrayList()));
10
	}
10
	}
11
	/**
11
	/**
12
	 * Set the list of arguments. Any existing arguments will be lost.
12
	 * Set the list of files. Any existing files will be lost.
13
	 * 
13
	 *
14
	 * @param arguments
14
	 * @param 
15
	 *            the new arguments
15
files the new files
16
	 */
16
	 */
17
	public void setArguments(List arguments) {
17
	public void setHTTPFileArgs(List files) {
18
		setProperty(new CollectionProperty(ARGUMENTS, arguments));
18
		setProperty(new CollectionProperty(HTTP_FILE_ARGS, files));
19
	
19
	
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