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
public class Paper { private Integer id; private String color; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getColor() { return color; } public void setColor(String color) { this.color = color
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/stateless/Paper.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class OptionalComponent {
1
public class 
2
	private String value1
2
Paper {
3
;
3
	private Integer id;
4
	private String value2;
4
	private String color;
5
	public String getValue1() {
5
	public Integer getId() {
6
		return value1;
6
		return id;
7
	}
7
	}
8
	public void setValue1(String value1) {
8
	public void set
9
		this.value1 = value1
9
Id(Integer id) {
10
;
10
		this.id = id;
11
	}
11
	}
12
	public String getValue2() {
12
	public String getColor() {
13
		return value2;
13
		return color;
14
	}
14
	}
15
	public void setValue2(String value2) {
15
	public void setColor(String color) {
16
		this.value2 = value2
16
		this.color = color
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