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
public class Entity { private Long id; private String name; public Entity() { } public Entity(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
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/hql/HeresAnotherCrazyIdFieldName.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/idgen/enhanced/sequence/Entity.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class HeresAnotherCrazyIdFieldName {
1
public class Entity {
2
	private Long heresAnotherCrazyIdFieldName;
2
	private Long id;
3
	private String name;
3
	private String name;
4

4
	public HeresAnotherCrazyIdFieldName() {
5
	public Entity() {
5
	}
6
	}
7

6
	public HeresAnotherCrazyIdFieldName(String name) {
8
	public Entity(String name) {
7
		this.name = name;
9
		this.name = name;
8
	}
10
	}
11

9
	public Long getHeresAnotherCrazyIdFieldName() {
12
	public Long getId() {
10
		return heresAnotherCrazyIdFieldName;
13
		return 
11
	}
12
	public void setHeresAnotherCrazyIdFieldName(Long heresAnotherCrazyIdFieldName
14
id;
15
	}
13
) {
16
	public void setId(Long id) {
14
		this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldName;
17
		this.
15
	}
18
id = id;
19
	}
20

16
	public String getName() {
21
	public String getName() {
17
		return name;
22
		return name;
18
	}
23
	}
24

19
	public void setName(String name) {
25
	public void setName(String name) {
20
		this.name = name
26
		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