public class Item { private Long id; private String name; private String description; public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } 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;
public class A { private Long id; private String name; private E forward; /** * Returns the id. * @return Long */ public Long getId() { return id; } /** * Returns the name. * @return String */ public String getName() { return name; } /** * Sets the id. * @param id The id to set */ public void setId(Long id) { this.id = id; } /** * Sets the name. * @param name The name to set */ public void setName(String name) { this.name = name; } public E getForward() { return forward; } public void setForward(E e) { forward = e;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testing/src/main/java/org/hibernate/test/cache/Item.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/A.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Item {
1
public class A {
2
	private Long id;
2
	private Long id;
3
	private String name;
3
	private String name;
4
	private String descripti
4
	private E forward;
5
	
6
	/**
7
	 * Returns the id.
5
on;
8
	 * @return Long
6
	
9
	 */
7
	public String getDescription() {
10
	public Long getId() {
8
		return description;
11
		return 
9
	}
10
	public void setDescription(String description) {
11
		this.description = description;
12
	}
12
id;
13
	}
14
	
15
	/**
16
	 * Returns the name.
17
	 * @return String
18
	 */
13
	public Long getId() {
19
	public String getName() {
14
		return id;
20
		return name;
15
	}
21
	}
16
	
22
	
23
	/**
24
	 * Sets the id.
25
	 * @param id The id to set
26
	 */
17
public void setId(Long id) {
27
	public void setId(Long id) {
18
		this.id = id;
28
		this.id = id;
19
	}
29
	}
20
	public String getName() {
30
	
21
		return name;
22
	}
23
	public void setName(String name) {
24
		this.name = nam
31
	/**
32
	 * Sets the name.
33
	 * @param name The name to set
34
	 */
35
	public void setName(String name) {
36
		this.name = name;
37
	}
38
	
39
	public E getForward() {
40
		return forward;
41
	}
42
	public void setForward(E e) {
25
e;
43
		forward = e;
26
	
44
	
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