public class Definition { private Long id; private Set values = new HashSet(); public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Set getValues() { return values; } public void setValues(Set values) { this.values = values
public class Identity implements Serializable { private String name; private String ssn; public String getSsn() { return ssn; } public void setSsn(String id) { this.ssn = id; } public String getName() { return name; } public void setName(String name) { this.name = name
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/component/cascading/collection/Definition.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/propertyref/component/complete/Identity.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Definition {
1
public class 
2
    private Long id;
3
	private Set values = new HashSet()
2
Identity implements Serializable {
3
	private String name;
4
;
4
	private String ssn;
5
	public Long getId() {
5
	public String getSsn() {
6
		return id;
6
		return ssn;
7
	}
7
	}
8
	public void setId(Long id) {
8
	public void setSsn(String id) {
9
		this.id = id;
9
		this.ssn = id;
10
	}
10
	}
11
	public Set getValues() {
11
	public String getName() {
12
		return values;
12
		return name;
13
	}
13
	}
14
	public void setValues(Set values) {
14
	public void setName(String name) {
15
		this.values = values
15
		this.name = name
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