public class Note { private Long id; private String description; public Note() { } public Note(String description) { this.description = description; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description
public class Child { private String name; private List friends; Child() {} public Child(String name) { this.name = name; } public String getName() { return name; } public void setName(String name) { this.name = name; } public List getFriends() { return friends; } public void setFriends(List friends) { this.friends = friends
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/deletetransient/Note.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/subselectfetch/Child.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Note {
1
public class Child {
2
	private Long id;
2
	private String name;
3
	private String description;
3
	private 
4
	public Note() {
5
	}
6

4
List friends;
5
	Child() {}
7
	public Note(String description) {
6
	public Child(String name) {
8
		this.description = description;
7
		this.
9
	}
10

8
name = name;
9
	}
11
	public Long getId() {
10
	public String getName() {
12
		return id;
11
		return 
13
	}
14

12
name;
13
	}
14
	
15
	public void setId(Long id) {
15
	public void setName(String name) {
16
		this.id = id;
16
		this.
17
	}
18
	public String getDescription
17
name = name;
18
	}
19
() {
19
	public List getFriends() {
20
		return description;
20
		return 
21
	}
22

21
friends;
22
	}
23
	
23
	public void setDescription(String description) {
24
	public void setFriends(List friends) {
24
		this.description = description
25
		this.friends = friends
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