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
	 */
10
	public Long getId() {
11
		return id;
12
	}
13
	
14
	/**
15
	 * Returns the name.
16
	 * @return String
17
	 */
18
	public String getName
5
Double length;
19
() {
6
	public Integer getId() {
20
		return name;
7
		return 
21
	}
22
	
23
	/**
24
	 * Sets the id.
25
	 * @param id The id to set
26
	 */
8
id;
9
	}
10

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

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