public class Course { private String courseCode; private String description; public String getCourseCode() { return courseCode; } public void setCourseCode(String courseCode) { this.courseCode = courseCode; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description
public class OtherAssigned { private Long id; private ParentAssigned owner; public OtherAssigned() { } public OtherAssigned(Long id) { this.id = id; } public Long getId() { return id; } public ParentAssigned getOwner() { return owner; } public void setOwner(ParentAssigned owner) { this.owner = owner
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/criteria/Course.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/OtherAssigned.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Course {
1
public class OtherAssigned {
2
	private String courseCode;
2
	private 
3
	private String description;
4
	public String getCourseCode
3
Long id;
4
	private ParentAssigned owner;
5
() {
5
	public OtherAssigned() {
6
		return courseCode;
6
	
7
	}
8
	public void setCourseCode(String courseCode
7
}
9
) {
8
	public OtherAssigned(Long id) {
10
		this.courseCode = courseCode;
9
		this.
11
	}
10
id = id;
11
	}
12

12
	public String getDescription
13
	public Long getId() {
14
		return id;
15
	}
13
() {
16
	public ParentAssigned getOwner() {
14
		return description;
17
		return 
15
	}
18
owner;
19
	}
20

16
	public void setDescription(String description) {
21
	public void setOwner(ParentAssigned owner) {
17
		this.description = description
22
		this.owner = owner
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