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 ParentInfoAssigned { private Long id; private ParentAssigned owner; private String info; public ParentInfoAssigned() { } public ParentInfoAssigned(String info) { this.info = info; } public Long getId() { return id; } public ParentAssigned getOwner() { return owner; } public void setOwner(ParentAssigned 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/ParentInfoAssigned.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class StringPropertyValue implements PropertyValue {
1
public class 
2
	private Long id;
3
	private String value;
4
	public StringPropertyValue
2
ParentInfoAssigned {
3
	private Long id;
4
	private ParentAssigned owner;
5
	private String info;
5
() {
6
	public ParentInfoAssigned() {
6
	}
7
	}
7
	public StringPropertyValue(String value) {
8
	public ParentInfoAssigned(String info) {
8
		this.value = value;
9
		this.info = info;
9
	}
10
	}
10
	public Long getId() {
11
	public Long getId() {
11
		return id;
12
		return id;
12
	}
13
	}
13
	public void setId(Long id) {
14
	public ParentAssigned get
14
		this.id = id;
15
	}
16
	public String getValue() {
17
		return value
15
Owner() {
16
		return owner;
17
	}
18
	public void setOwner(ParentAssigned owner) {
18
;
19
		this.owner = owner;
19
	}
20
	}
20
	public void setValue(String value) {
21
	public 
21
		this.value = value
22
String getInfo() {
22
;
23
		return info;
23
	}
24
	}
24
	public String asString() {
25
	public 
25
		return value
26
void setInfo(String info) {
27
		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