public class OtherAssigned { private Long id; private ParentAssigned owner; public OtherAssigned() { } public OtherAssigned(Long id) { this.id = id; } public Long getId() { return id; } public ParentAssigned getOwner() { return owner; } public void setOwner(ParentAssigned owner) { this.owner = owner
public static final class Component { private Calendar cal; private Float floaty; /** * Returns the cal. * @return Calendar */ public Calendar getCal() { return cal; } /** * Sets the cal. * @param cal The cal to set */ public void setCal(Calendar cal) { this.cal = cal; } /** * Returns the floaty. * @return Float */ public Float getFloaty() { return floaty; } /** * Sets the floaty. * @param floaty The floaty to set */ public void setFloaty(Float floaty) { this.floaty = floaty
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/OtherAssigned.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/Multi.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class OtherAssigned {
1
public 
2
	private Long id;
2
static final class Component {
3
		private Calendar cal;
3
	private ParentAssigned owner;
4
		private 
4
	public OtherAssigned() {
5
	}
6
	public OtherAssigned(Long id
5
Float floaty;
6
		/**
7
		 * Returns the cal.
8
		 * @return Calendar
9
		 */
10
		public Calendar getCal() {
11
			return cal;
12
		}
13
		
14
		/**
15
		 * Sets the cal.
16
		 * @param cal The cal to set
17
		 */
7
) {
18
		public void setCal(Calendar cal) {
8
		this.id = id;
19
			this.
9
	}
10
	public Long getId
20
cal = cal;
21
		}
22
		
23
		/**
24
		 * Returns the floaty.
25
		 * @return Float
26
		 */
11
() {
27
		public Float getFloaty() {
12
		return id;
28
			return 
13
	}
14
	public ParentAssigned getOwner() {
15
		return owner;
16
	}
17
	public void setOwner(ParentAssigned owner
29
floaty;
30
		}
31
		
32
		/**
33
		 * Sets the floaty.
34
		 * @param floaty The floaty to set
35
		 */
18
) {
36
		public void setFloaty(Float floaty) {
19
		this.owner = owner
37
			this.floaty = floaty
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