public class Address { private Long id; private String info; private Set suites = new HashSet(); public Address() { } public Address(String info) { this.info = info; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getInfo() { return info; } public void setInfo(String info) { this.info = info; } public Set getSuites() { return suites; } public void setSuites(Set suites) { this.suites = suites;
public class MySibling { private Long id; private String name; private MyEntity entity; public MySibling() { } public MySibling(String name) { this.name = name; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public MyEntity getEntity() { return entity; } public void setEntity(MyEntity entity) { this.entity = entity;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/deletetransient/Address.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/generatedkeys/identity/MySibling.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Address {
1
public class MySibling {
2
	private Long id;
2
	private Long id;
3
	private String info;
3
	private String name;
4
	private Set suites = new HashSet();
4
	private MyEntity entity;
5
	public Address() {
5
	public MySibling() {
6
	}
6
	}
7
	public Address(String info) {
7
	public MySibling(String name) {
8
		this.info = info;
8
		this.name = name;
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 void setId(Long id) {
14
		this.id = id;
14
		this.id = id;
15
	}
15
	}
16
	public String getInfo() {
16
	public String getName() {
17
		return info;
17
		return name;
18
	}
18
	}
19
	public void setInfo(String info) {
19
	public void setName(String name) {
20
		this.info = info;
20
		this.name = name;
21
	}
21
	}
22
	public Set getSuites() {
22
	public MyEntity getEntity() {
23
		return suites;
23
		return entity;
24
	}
24
	}
25
	public void setSuites(Set suites) {
25
	public void set
26
		this.suites = suites
26
Entity(MyEntity entity) {
27
;
27
		this.entity = entity;
28
	
28
	
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