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;
public class ComponentCollection implements Serializable { private String str; private List foos; private List floats; public List getFoos() { return foos; } public String getStr() { return str; } public void setFoos(List list) { foos = list; } public void setStr(String string) { str = string; } public List getFloats() { return floats; } public void setFloats(List list) { floats = list;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/A.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/ComponentCollection.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class A {
1
public class 
2
	private Long id;
2
ComponentCollection implements Serializable {
3
	private String name;
3
	private String str;
4
	private E forward;
4
	private 
5
	
6
	/**
7
	 * Returns the id.
8
	 * @return Long
9
	 */
5
List foos;
6
	private List floats;
10
	public Long getId() {
7
	public List getFoos() {
11
		return id;
8
		return foos;
12
	}
9
	}
13
	
14
	/**
15
	 * Returns the name.
16
	 * @return String
17
	 */
18
	public String getName() {
10
	public String getStr() {
19
		return name;
11
		return str;
20
	}
12
	}
21
	
22
	/**
23
	 * Sets the id.
24
	 * @param id The id to set
25
	 */
26
	public void setId(Long id) {
13
	public void set
27
		this.id = id;
28
	}
29
	
30
	/**
31
	 * Sets the name.
32
	 * @param name The name to set
33
	 */
14
Foos(List list) {
15
		foos = list;
16
	}
34
	public void setName(String name) {
17
	public void setStr(String 
35
		this.name = name
18
string) {
36
;
19
		str = string;
37
	}
20
	}
38
	
39
	public E getForward() {
21
	public List getFloats() {
40
		return forward;
22
		return floats;
41
	}
23
	}
42
	public void setForward(E e) {
24
	public void setF
43
		forward = e
25
loats(List list) {
44
;
26
		floats = list;
45
	
27
	
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