public class DocumentImpl extends ItemImpl implements Document { 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
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/interfaceproxy/DocumentImpl.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 DocumentImpl extends ItemImpl implements Document {
1
public static final class Ternary {
2
	private Blob content;
2
		private String name;
3
	private Calendar modified;
3
		private Foo foo;
4
	private Calendar created;
4
		private Glarch glarch;
5
	/**
5
		/**
6
	 * @return Returns the created.
6
		 * Returns the 
7
foo.
8
		 * @return Foo
7
	 */
9
		 */
8
	public Calendar getCreated() {
10
		public Foo getFoo() {
9
		return created;
11
			return foo;
10
	}
12
		}
11
	
13
		
12
/**
14
		/**
13
	 * @param created The created to set.
15
		 * 
16
Returns the glarch.
17
		 * @return Glarch
14
	 */
18
		 */
15
	public void setCreated(Calendar created) {
19
		public 
16
		this.created = created
20
Glarch getGlarch() {
17
;
21
			return glarch;
18
	}
22
		}
19
	
23
		
20
/**
24
		/**
21
	 * @return Returns the modified.
25
		 * Returns the 
26
name.
27
		 * @return String
22
	 */
28
		 */
23
	public Calendar getModified() {
29
		public String getName() {
24
		return modified;
30
			return name;
25
	}
31
		}
26
	
32
		
27
/**
33
		/**
28
	
34
		 * Sets the foo.
29
 * @param modified The modified to set.
35
		 * @param foo The foo to set
30
	 */
36
		 */
31
	public void setModified(Calendar modified) {
37
		public void setFoo(Foo foo) {
32
		this.modified = modified;
38
			this.foo = foo;
33
	}
39
		}
34
	
40
		
35
/**
41
		/**
36
	 * @return Returns the content.
42
		 * 
43
Sets the glarch.
44
		 * @param glarch The glarch to set
37
	 */
45
		 */
38
	public Blob getContent() {
46
		public 
39
		return content
47
void setGlarch(Glarch glarch) {
40
;
48
			this.glarch = glarch;
41
	}
49
		}
42
	
50
		
43
/**
51
		/**
44
	
52
		 * Sets the name.
45
 * @param content The content to set.
53
		 * @param name The name to set
46
	 */
54
		 */
47
	public void setContent(Blob content) {
55
		public void setName(String name) {
48
		this.content = content
56
			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