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 HeresAnotherCrazyIdFieldName { private Long heresAnotherCrazyIdFieldName; private String name; public HeresAnotherCrazyIdFieldName() { } public HeresAnotherCrazyIdFieldName(String name) { this.name = name; } public Long getHeresAnotherCrazyIdFieldName() { return heresAnotherCrazyIdFieldName; } public void setHeresAnotherCrazyIdFieldName(Long heresAnotherCrazyIdFieldName) { this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldName; } 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/HeresAnotherCrazyIdFieldName.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Note {
1
public class HeresAnotherCrazyIdFieldName {
2
	private Long id;
2
	private Long heresAnotherCrazyIdFieldName;
3
	private String description;
3
	private String 
4
	public Not
4
name;
5
e() {
5
	public HeresAnotherCrazyIdFieldName() {
6
	}
6
	}
7

8
	public Note(String description) {
7
	public HeresAnotherCrazyIdFieldName(String name) {
9
		this.description = description;
8
		this.
10
	}
11
	public Long getId
9
name = name;
10
	}
12
() {
11
	public Long getHeresAnotherCrazyIdFieldName() {
13
		return id;
12
		return 
14
	}
15
	public void setId(Long id
13
heresAnotherCrazyIdFieldName;
14
	}
16
) {
15
	public void setHeresAnotherCrazyIdFieldName(Long heresAnotherCrazyIdFieldName) {
17
		this.id = id;
16
		this.
18
	}
19

17
heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldName;
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
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