public class Account implements Serializable { private String accountId; private Person user; private char type; /** * @return Returns the user. */ public Person getUser() { return user; } /** * @param user The user to set. */ public void setUser(Person user) { this.user = user; } /** * @return Returns the accountId. */ public String getAccountId() { return accountId; } /** * @param accountId The accountId to set. */ public void setAccountId(String accountId) { this.accountId = accountId; } /** * @return Returns the type. */ public char getType() { return type; } /** * @param type The type to set. */ public void setType(char type) { this.type = type
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
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/cuk/Account.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/Container.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Account implements Serializable {
1
public static final class Ternary {
2
	private String accountId;
2
		private String name;
3
	private Person user;
3
		private Foo foo;
4
	private char type;
4
		private Glarch glarch;
5
	/**
5
		/**
6
	 * @return Returns the user.
6
		 * Returns the 
7
foo.
8
		 * @return Foo
7
	 */
9
		 */
8
	public Person getUser() {
10
		public Foo getFoo() {
9
		return user;
11
			return foo;
10
	}
12
		}
11
	
13
		
12
/**
14
		/**
13
	 * @param user The user to set.
15
		 * Returns the glarch.
16
		 * @return Glarch
14
	 */
17
		 */
15
	public void setUser(Person user) {
18
		public 
16
		this.user = user
19
Glarch getGlarch() {
17
;
20
			return glarch;
18
	}
21
		}
19
	
22
		
20
/**
23
		/**
21
	 * @return Returns the accountId.
24
		 * Returns the 
25
name.
26
		 * @return String
22
	 */
27
		 */
23
	public String getAccountId() {
28
		public String getName() {
24
		return accountId;
29
			return name;
25
	}
30
		}
26
	/**
31
	
32
	
33
		/**
34
		 * Sets the foo.
27
	 * @param accountId The accountId to set.
35
		 * @param foo The foo to set
28
	 */
36
		 */
29
	public void setAccountId(String accountId) {
37
		public void setFoo(Foo foo) {
30
		this.accountId = accountId;
38
			this.foo = foo;
31
	}
39
		}
32
	
40
		
33
/**
41
		/**
34
	 * @return Returns the type.
42
		 * 
43
Sets the glarch.
44
		 * @param glarch The glarch to set
35
	 */
45
		 */
36
	public char getType() {
46
		public 
37
		return type
47
void setGlarch(Glarch glarch) {
38
;
48
			this.glarch = glarch;
39
	}
49
		}
40
	/**
50
	
51
	
52
		/**
53
		 * Sets the name.
41
	 * @param type The type to set.
54
		 * @param name The name to set
42
	 */
55
		 */
43
	public void setType(char type) {
56
		public void setName(String name) {
44
		this.type = type
57
			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