public class TextHolder { private Long id; private String theText; public TextHolder() { } public TextHolder(String theText) { this.theText = theText; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getTheText() { return theText; } public void setTheText(String theText) { this.theText = theText;
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/readonly/TextHolder.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 TextHolder {
1
public class Child {
2
	private Long id;
2
	private String name;
3
	private String theText;
3
	private 
4
	public TextHolder
4
List friends;
5
() {
5
	Child() {
6
	}
6
}
7
	public TextHolder(String theText) {
7
	public Child(String name) {
8
		this.theText = theText;
8
		this.name = name;
9
	}
9
	}
10
	public Long getId() {
10
	public String getName() {
11
		return id;
11
		return name;
12
	}
12
	}
13
	
13
	public void setId(Long id) {
14
	public void set
14
		this.id = id
15
Name(String name) {
15
;
16
		this.name = name;
16
	}
17
	}
17
	public String getTheText() {
18
	public List getFriends() {
18
		return theText;
19
		return friends;
19
	}
20
	}
21
	
20
	public void setTheText(String theText) {
22
	public void set
21
		this.theText = theText
23
Friends(List friends) {
22
;
24
		this.friends = friends;
23
	
25
	
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