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
public class Identity { private String name; private String ssn; public String getSsn() { return ssn; } public void setSsn(String id) { this.ssn = id; } 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/Multi.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/propertyref/component/partial/Identity.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public static final class Component {
1
public 
2
		private Calendar cal;
2
class Identity {
3
	private String name;
3
		private Float floaty;
4
	private 
4
		/**
5
		 * Returns the cal.
6
		 * @return Calendar
7
		 */
5
String ssn;
6
	
8
		public Calendar getCal() {
7
	public String getSsn() {
9
			return cal;
8
		return 
10
		}
11
		
12
		/**
13
		 * Sets the cal.
14
		 * @param cal The cal to set
15
		 */
16
		public void setCal(Calendar cal
9
ssn;
10
	}
17
) {
11
	public void setSsn(String id) {
18
			this.cal = cal;
12
		this.
19
		}
20
		
21
		/**
22
		 * Returns the floaty.
23
		 * @return Float
24
		 */
25
	
13
ssn = id;
14
	}
26
	public Float getFloaty() {
15
	public String getName() {
27
			return floaty;
16
		return 
28
	
17
name;
29
	}
18
	}
30
		
19
	
31
		/**
32
		 * Sets the floaty.
33
		 * @param floaty The floaty to set
34
		 */
35
		public void setFloaty(Float floaty) {
20
public void setName(String name) {
36
			this.floaty = floaty
21
		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