public class StringPropertyValue implements PropertyValue { private Long id; private String value; public StringPropertyValue() { } public StringPropertyValue(String value) { this.value = value; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getValue() { return value; } public void setValue(String value) { this.value = value; } public String asString() { return value
public class ChildInfo { private Long id; private Child owner; private String info; public ChildInfo() { } public ChildInfo(String info) { this.info = info; } public Long getId() { return id; } public Child getOwner() { return owner; } public void setOwner(Child owner) { this.owner = owner; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/any/StringPropertyValue.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/ChildInfo.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class StringPropertyValue implements PropertyValue {
1
public class ChildInfo {
2
	private Long id;
2
	private Long id;
3
	
3
	private Child owner;
4
private String value;
4
	private String info;
5
	public StringPropertyValue() {
5
	public ChildInfo() {
6
	}
6
	}
7
	public StringPropertyValue(String value) {
7
	public ChildInfo(String info) {
8
		this.value = value;
8
		this.info = info;
9
	}
9
	}
10
	public Long getId() {
10
	public Long getId() {
11
		return id;
11
		return id;
12
	}
12
	}
13
	public void setId(Long id) {
13
	public Child get
14
		this.id = id;
15
	}
16
	public String getValue() {
17
		return value
14
Owner() {
15
		return owner;
16
	}
17
	public void setOwner(Child owner) {
18
;
18
		this.owner = owner;
19
	}
19
	}
20
	public void setValue(String value) {
20
	public 
21
		this.value = value
21
String getInfo() {
22
;
22
		return info;
23
	}
23
	}
24
	public String asString() {
24
	public 
25
		return value
25
void setInfo(String info) {
26
		this.info = info
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