public class Suite { private Long id; private String location; private Set notes = new HashSet(); public Suite() { } public Suite(String location) { this.location = location; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getLocation() { return location; } public void setLocation(String location) { this.location = location; } public Set getNotes() { return notes; } public void setNotes(Set notes) { this.notes = notes
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/Suite.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 Suite {
1
public class MySibling {
2
	private Long id;
2
	private Long id;
3
	private String location;
3
	private String name;
4
	private Set notes = new HashSet();
4
	private MyEntity entity;
5
	public Suite() {
5
	public MySibling() {
6
	}
6
	}
7
	public Suite(String location) {
7
	public 
8
		this.location = location
8
MySibling(String name) {
9
;
9
		this.name = name;
10
	}
10
	}
11
	public Long getId() {
11
	public Long getId() {
12
		return id;
12
		return id;
13
	}
13
	}
14
	public void setId(Long id) {
14
	public void setId(Long id) {
15
		this.id = id;
15
		this.id = id;
16
	}
16
	}
17
	public String getLocation() {
17
	public String getName() {
18
		return location;
18
		return name;
19
	}
19
	}
20
	public void setLocation(String location) {
20
	public void set
21
		this.location = location
21
Name(String name) {
22
;
22
		this.name = name;
23
	}
23
	}
24
	public Set getNotes() {
24
	public MyEntity getEntity() {
25
		return notes;
25
		return entity;
26
	}
26
	}
27
	public void setNotes(Set notes) {
27
	public void setEntity(MyEntity entity) {
28
		this.notes = notes
28
		this.entity = entity
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