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 Speech { private Integer id; private String name; private Double length; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public Double getLength() { return length; } public void setLength(Double length) { this.length = length; } 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/legacy/A.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/sql/hand/Speech.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class A {
1
public class Speech {
2
	private Long id;
2
	private Integer id;
3
	private String name;
3
	private String name;
4
	private E forward;
4
	private 
5
	
6
	/**
7
	 * Returns the id.
8
	 * @return Long
9
	 */
5
Double length;
6

10
	public Long getId() {
7
	public Integer getId() {
11
		return id;
8
		return id;
12
	}
9
	}
13
	
14
	/**
15
	 * Returns the name.
16
	 * @return String
17
	 */
18
	public String getName() {
19
		return name;
20
	}
21
	
22
	/**
23
	 * Sets the id.
24
	 * @param id The id to set
25
	 */
10

26
	public void setId(Long id) {
11
	public void setId(Integer id) {
27
		this.id = id;
12
		this.id = id;
28
	}
13
	}
29
	
30
	/**
31
	 * Sets the name.
32
	 * @param name The name to set
33
	 */
34
	public void setName(String name
14
	public Double getLength() {
15
		return length;
16
	}
35
) {
17
	public void setLength(Double length) {
36
		this.name = name;
18
		this.
37
	}
38
	
39
	public E getForward
19
length = length;
20
	}
40
() {
21
	public String getName() {
41
		return forward;
22
		return 
42
	}
23
name;
24
	}
25

43
	public void setForward(E e) {
26
	public void setName(String name) {
44
		forward = e;
27
		this.name = name;
45
	
28
	
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