String formCreated() { return formError("201 Created", "Object was created"); } /** * Indicates the document was accepted. * * @return The header in a string; */ public static String formAccepted() { return formError("202 Accepted", "Object checked in"); } /** * Indicates only a partial responce was sent. * * @return The header in a string; */ public static String formPartial() { return formError("203 Partial", "Only partail document available");
String formTimeout() { return formError("503 Gateway timeout", "The connection timed out"); } /** * Indicates the client's proxies could not locate a server. * * @return The header in a string; */ public static String formServerNotFound() { return formError("503 Gateway timeout", "The requested server was not found"); } /** * Indicates the client is not allowed to access the object. * * @return The header in a string; */ public static String formNotAllowed() { return formError("403 Access Denied", "Access is not allowed");
Clone fragments detected by clone detection tool
File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/proxy/HttpReplyHdr.java File path: /jakarta-jmeter-2.3.2/src/org/apache/jmeter/protocol/http/proxy/HttpReplyHdr.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
String formCreated() {
1
String formTimeout() {
2
		return formError("201 Created", "Object was created");
2
		return formError("
3
	}
4
	/**
5
	 * Indicates the document was accepted
3
503 Gateway timeout", "The connection timed out");
4
	}
5
	/**
6
.
6
	 * Indicates the client's proxies could not locate a server.
7
	 * 
7
	 * 
8
	 * @return The header in a string;
8
	 * @return The header in a string;
9
	 */
9
	 */
10
	public static String formAccepted() {
10
	public static String formServerNotFound() {
11
		return formError("202 Accepted", "Object checked in");
11
		return formError("
12
	}
13
	/**
14
	 * Indicates only a partial responce was sen
12
503 Gateway timeout", "The requested server was not found");
13
	}
14
	/**
15
t.
15
	 * Indicates the client is not allowed to access the object.
16
	 * 
16
	 * 
17
	 * @return The header in a string;
17
	 * @return The header in a string;
18
	 */
18
	 */
19
	public static String formPartial() {
19
	public static String formNotAllowed() {
20
		return formError("203 Partial", "Only partail document available");
20
		return formError("403 Access Denied", "Access is not allowed");
21
	
21
	
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