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 MyChild { private Long id; private String name; private MyEntity inverseParent; public MyChild() { } public MyChild(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 getInverseParent() { return inverseParent; } public void setInverseParent(MyEntity inverseParent) { this.inverseParent = inverseParent
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/MyChild.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Suite {
1
public class MyChild {
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 inverseParent;
5
	public Suite() {
5
	public MyChild() {
6
	}
6
	}
7
	public Suite(String location) {
7
	public MyChild(String name) {
8
		this.location = location;
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 getLocation() {
16
	public String getName() {
17
		return location;
17
		return name;
18
	}
18
	}
19
	public void setLocation(String location) {
19
	public void set
20
		this.location = location
20
Name(String name) {
21
;
21
		this.name = name;
22
	}
22
	}
23
	public Set getNotes() {
23
	public MyEntity getInverseParent() {
24
		return notes;
24
		return inverseParent;
25
	}
25
	}
26
	public void setNotes(Set notes) {
26
	public void set
27
		this.notes = notes
27
InverseParent(MyEntity inverseParent) {
28
		this.inverseParent = inverseParent
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