public class MoreCrazyIdFieldNameStuffEntity { private Long moreCrazyIdFieldNameStuffEntity; private HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName; // silly ain't it ;) private String name; public MoreCrazyIdFieldNameStuffEntity() { } public MoreCrazyIdFieldNameStuffEntity(String name) { this.name = name; } public Long getMoreCrazyIdFieldNameStuffEntity() { return moreCrazyIdFieldNameStuffEntity; } public void setMoreCrazyIdFieldNameStuffEntity(Long moreCrazyIdFieldNameStuffEntity) { this.moreCrazyIdFieldNameStuffEntity = moreCrazyIdFieldNameStuffEntity; } public HeresAnotherCrazyIdFieldName getHeresAnotherCrazyIdFieldName() { return heresAnotherCrazyIdFieldName; } public void setHeresAnotherCrazyIdFieldName(HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName) { this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldName; } public String getName() { return name; } public void setName(String name) { this.name = name;
public class Organization { private long id; private String name; private Collection employments; public Organization(String name) { this.name = name; employments = new HashSet(); } public Organization() {} /** * @return Returns the employments. */ public Collection getEmployments() { return employments; } /** * @param employments The employments to set. */ public void setEmployments(Collection employments) { this.employments = employments; } /** * @return Returns the id. */ public long getId() { return id; } /** * @param id The id to set. */ public void setId(long id) { this.id = id; } /** * @return Returns the name. */ public String getName() { return name; } /** * @param name The name to set. */ 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/MoreCrazyIdFieldNameStuffEntity.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/sql/hand/Organization.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class MoreCrazyIdFieldNameStuffEntity {
1
public class Organization {
2
	private Long moreCrazyIdFieldNameStuffEntity;
2
	private long 
3
	private HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName; // silly ain't it ;)
4
	private String name;
5
	public MoreCrazyIdFieldNameStuffEntity() {
6
	}
7
	public MoreCrazyIdFieldNameStuffEntity
3
id;
4
	private String name;
5
	private Collection employments;
8
(String name) {
6
	public Organization(String name) {
9
		this.name = name;
7
		this.name = name;
10
	}
8
	
11
	public Long getMoreCrazyIdFieldNameStuffEntity() {
12
		return moreCrazyIdFieldNameStuffEntity;
13
	}
14
	public void setMoreCrazyIdFieldNameStuffEntity(Long moreCrazyIdFieldNameStuffEntity) {
15
		this.moreCrazyIdFieldNameStuffEntity = moreCrazyIdFieldNameStuffEntity;
16
	}
17
	public HeresAnotherCrazyIdFieldName getHeresAnotherCrazyIdFieldName() {
18
		return heresAnotherCrazyIdFieldName;
19
	}
20
	public void setHeresAnotherCrazyIdFieldName(HeresAnotherCrazyIdFieldName heresAnotherCrazyIdFieldName) {
21
		this.heresAnotherCrazyIdFieldName = heresAnotherCrazyIdFieldN
9
	employments = new HashSet();
10
	}
11
	public Organization() {}
12
	/**
13
	 * @return Returns the employments.
14
	 */
15
	public Collection getEmployments() {
16
		return employments;
17
	}
18
	/**
19
	 * @param employments The employments to set.
20
	 */
21
	public void setEmployments(Collection employments) {
22
		this.employments = employments;
23
	}
24
	/**
25
	 * @return Returns the id.
26
	 */
27
	public long getId() {
28
		return id;
29
	}
30
	/**
31
	 * @param id The id to set.
32
	 */
33
	public void setId(long id) {
34
		this.id = id;
35
	}
36
	/**
22
ame;
37
	 * @return Returns the name.
23
	}
38
	
39
 */
24
	public String getName() {
40
	public String getName() {
25
		return name;
41
		return name;
26
	}
42
	}
43
	/**
44
	 * @param name The name to set.
45
	 */
27
	public void setName(String name) {
46
	public void setName(String name) {
28
		this.name = name;
47
		this.name = name;
29
	
48
	
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