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 TimestampVersioned { private Long id; private Date version; private String name; public TimestampVersioned() { } public TimestampVersioned(String name) { this.name = name; } public Long getId() { return id; } public Date getVersion() { return version; } public String getName() { return name; } public void setName(String name) { this.name = name;
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/hql/TimestampVersioned.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Note {
1
public class TimestampVersioned {
2
	private Long id;
2
	private Long id;
3
	private String description;
3
	private 
4
	public Note
4
Date version;
5
	private String name;
5
() {
6
	public TimestampVersioned() {
6
	}
7
	}
7

8
	public Note(String description) {
8
	public TimestampVersioned(String name) {
9
		this.description = description;
9
		this.
10
	}
11

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

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

17
return version;
18
	}
20
	public String getDescription() {
19
	public String getName() {
21
		return description;
20
		return 
22
	}
23
	public void setDescription(String description
21
name;
22
	}
24
) {
23
	public void setName(String name) {
25
		this.description = description;
24
		this.name = name;
26
	
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