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 Document extends Item { private Blob content; private Calendar modified; private Calendar created; /** * @return Returns the created. */ public Calendar getCreated() { return created; } /** * @param created The created to set. */ public void setCreated(Calendar created) { this.created = created; } /** * @return Returns the modified. */ public Calendar getModified() { return modified; } /** * @param modified The modified to set. */ public void setModified(Calendar modified) { this.modified = modified; } /** * @return Returns the content. */ public Blob getContent() { return content; } /** * @param content The content to set. */ public void setContent(Blob content) { this.content = content
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/mixed/Document.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public static final class Ternary {
1
public class Document extends Item {
2
	
3
	private String name;
2
	private Blob content;
4
	
5
	private Foo foo;
3
	private Calendar modified;
6
	
7
	private Glarch glarch;
4
	private Calendar created;
8
	
9
	/**
5
	/**
10
		 * Returns the foo.
6
	 * @return Returns the 
11
		 * @return Foo
7
created.
12
		 */
8
	 */
13
	
14
	public Foo getFoo() {
9
	public Calendar getCreated() {
15
	
16
		return foo;
10
		return created;
17
	
18
	}
11
	}
19
		
20
	
21
	/**
12
	/**
22
		 * Returns the glarch.
13
	 * 
23
		 * @return Glarch
14
@param created The created to set.
24
		 */
15
	 */
25
	
26
	public Glarch getGlarch() {
16
	public void setCreated(Calendar created) {
27
			return glarch;
17
		this.created = created;
28
	
29
	}
18
	}
30
		
31
	
32
	/**
19
	/**
33
		 * Returns the name.
20
	 * @return Returns the modified.
34
		 * @return String
21
	 *
35
		 */
36
		public String getName
22
/
37
() {
23
	public Calendar getModified() {
38
	
39
		return name;
24
		return modified;
40
		}
25
	}
41
		
42
	
43
	/**
26
	/**
44
		 * Sets the foo.
27
	
45
		 * @param foo The foo to set
28
 * @param modified The modified to set.
46
		 */
29
	 */
47
	
48
	public void setFoo(Foo foo) {
30
	public void setModified(Calendar modified) {
49
	
50
		this.foo = foo;
31
		this.modified = modified;
51
	
52
	}
32
	}
53
		
54
		/**
33
	/**
55
		 * Sets the glarch.
34
	 * 
56
		 * @param glarch The glarch to set
57
	
35
@return Returns the content.
58
	 */
36
	 */
59
		public void setGlarch(Glarch glarch) {
37
	public Blob getContent() {
60
			this.glarch = glarch;
38
		return content;
61
	
62
	}
39
	}
63
		
64
	
65
	/**
40
	/**
66
		 * Sets the name.
41
	
67
		 * @param name The name to set
42
 * @param content The content to set.
68
		 */
43
	 */
69
	
70
	public void setName(String name) {
44
	public void setContent(Blob content) {
71
			this.name = name
45
		this.content = content
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