public class Owner implements Serializable { private Long id; private String name; public Owner() { } public Owner(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 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
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/proxy/Owner.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/readonly/TextHolder.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Owner implements Serializable {
1
public class TextHolder {
2
	private Long id;
2
	private Long id;
3
	private String name;
3
	private String theText;
4
	public Owner() {
4
	public TextHolder() {
5
	}
5
	}
6
	public Owner(String name) {
6
	public TextHolder(String theText) {
7
		this.name = name;
7
		this.theText = theText;
8
	}
8
	}
9
	public Long getId() {
9
	public Long getId() {
10
		return id;
10
		return id;
11
	}
11
	}
12
	public void setId(Long id) {
12
	public void setId(Long id) {
13
		this.id = id;
13
		this.id = id;
14
	}
14
	}
15
	public String getName() {
15
	public String getTheText() {
16
		return name;
16
		return theText;
17
	}
17
	}
18
	public void setName(String name) {
18
	public void setTheText(String theText) {
19
		this.name = name
19
		this.theText = theText
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