public class Part implements Serializable { private String name; private String description; public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getName() { return name; } public void setName(String name) { this.name = name;
static public class ProductId implements Serializable { String orgid; String productnumber; public String getProductnumber() { return productnumber; } public void setProductnumber(String ordernumber) { this.productnumber = ordernumber; } public String getOrgid() { return orgid; } public void setOrgid(String orgid) { this.orgid = orgid;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/orphan/Part.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/sql/hand/Product.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Part implements Serializable {
1
static public class ProductId implements Serializable {
2
	private String name;
2
	
3
	private String description;
3
	String orgid;
4
		String productnumber;
4
	public String getDescription() {
5
		public String getProductnumber() {
5
		return description;
6
			return 
6
	}
7
productnumber;
8
		}
7
	public void setDescription(String description) {
9
		public void setProductnumber(String ordernumber) {
8
		this.description = description;
10
			this.
9
	}
11
productnumber = ordernumber;
12
		}
10
	public String getName() {
13
		public String getOrgid() {
11
		return name;
14
			return 
12
	}
15
orgid;
16
		}
13
	public void setName(String name) {
17
		public void setOrgid(String orgid) {
14
		this.name = name;
18
			this.orgid = orgid;
15
	
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