public static final class Ternary { private String name; private Foo foo; private Glarch glarch; /** * Returns the foo. * @return Foo */ public Foo getFoo() { return foo; } /** * Returns the glarch. * @return Glarch */ public Glarch getGlarch() { return glarch; } /** * Returns the name. * @return String */ public String getName() { return name; } /** * Sets the foo. * @param foo The foo to set */ public void setFoo(Foo foo) { this.foo = foo; } /** * Sets the glarch. * @param glarch The glarch to set */ public void setGlarch(Glarch glarch) { this.glarch = glarch; } /** * Sets the name. * @param name The name to set */ public void setName(String name) { this.name = name;
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/Container.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 static final class Ternary {
1
public 
2
		private String name;
2
class Speech {
3
	private Integer id;
3
		private Foo foo;
4
	private 
4
		private Glarch glarch;
5
		/**
6
		 * Returns the foo.
7
		 * @return Foo
8
		 */
9
		public Foo
5
String name;
6
	private Double length;
10
 getFoo() {
7
	public Integer getId() {
11
			return foo;
8
		return 
12
		}
13
		
14
		/**
15
		 * Returns the glarch.
16
		 * @return Glarch
17
		 */
18
		public Glarch getGlarch(
9
id;
10
	}
19
) {
11
	public void setId(Integer id) {
20
			return glarch;
12
		
21
		}
22
		
23
		/**
24
		 * Returns the name.
25
		 * @return String
26
		 */
27
	
13
this.id = id;
14
	}
28
	public String getName() {
15
	public Double getLength() {
29
			return name;
16
		return 
30
		}
31
		
32
		/**
33
		 * Sets the foo.
34
		 * @param foo The foo to set
35
		 */
36
		public void setFoo(Foo foo
17
length;
18
	}
37
) {
19
	public void setLength(Double length) {
38
			this.foo = foo;
20
		this.
39
		}
40
		
41
		/**
42
		 * Sets the glarch.
43
		 * @param glarch The glarch to set
44
		 */
45
		public void setGlarch(Glarch glarch) {
46
			this.glarch = glarch;
47
		}
48
		
49
		/**
50
		 * Sets the name.
51
		 * @param name The name to set
52
		 */
53
	
21
length = length;
22
	}
23
	public String getName() {
24
		return name;
25
	}
54
	public void setName(String name) {
26
	public void setName(String name) {
55
			this.name = name;
27
		this.name = name;
56
		
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