public class OptionalComponent { private String value1; private String value2; public String getValue1() { return value1; } public void setValue1(String value1) { this.value1 = value1; } public String getValue2() { return value2; } public void setValue2(String value2) { this.value2 = value2
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/component/basic/OptionalComponent.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 OptionalComponent {
1
static public class 
2
	private String value1;
3
	private String value2;
2
ProductId implements Serializable {
3
		String orgid;
4
		String productnumber;
4
	public String getValue1() {
5
		public String getProductnumber() {
5
		return value1;
6
			return 
7
productnumber;
6
	}
8
		}
9

7
	public void setValue1(String value1) {
10
		public void set
8
		this.value1 = value1;
9
	}
11
Productnumber(String ordernumber) {
12
			this.productnumber = ordernumber;
13
		}
10
	public String getValue2() {
14
		public String getOrgid() {
11
		return value2;
15
			return 
12
	}
16
orgid;
17
		}
13
	public void setValue2(String value2) {
18
		public void setOrgid(String 
14
		this.value2 = value2
19
orgid) {
20
			this.orgid = orgid
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