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 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/deletetransient/Note.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 Note {
1
public class TextHolder {
2
	private Long id;
2
	private Long id;
3
	private String description;
3
	private String 
4
	public Note
4
theText;
5
() {
5
	public TextHolder() {
6
	}
6
	}
7

8
	public Note(String description) {
7
	public TextHolder(String theText) {
9
		this.description = description;
8
		this.
10
	}
11

9
theText = theText;
10
	}
12
	public Long getId() {
11
	public Long getId() {
13
		return id;
12
		return id;
14
	}
13
	}
15

16
	public void setId(Long id) {
14
	public void setId(Long id) {
17
		this.id = id;
15
		this.id = id;
18
	}
16
	}
19

20
	public String getDescription() {
17
	public String getTheText() {
21
		return description;
18
		return 
22
	}
23

19
theText;
20
	}
24
	public void setDescription(String description) {
21
	public void setTheText(String theText) {
25
		this.description = description
22
		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