public class Address { private Long id; private Set lines = new HashSet(); public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Set getLines() { return lines; } public void setLines(Set lines) { this.lines = lines;
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/any/Address.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 Address {
1
public 
2
	private Long id;
2
static final class Component {
3
		private Calendar cal;
3
	private Set lines = new HashSet();
4
		private 
4
	public Long
5
Float floaty;
6
		/**
7
		 * Returns the cal.
8
		 * @return Calendar
9
		 */
5
 getId() {
10
		public Calendar getCal() {
6
		return id;
11
			return 
7
	}
8
	public void setId(Long id
12
cal;
13
		}
14
		
15
		/**
16
		 * Sets the cal.
17
		 * @param cal The cal to set
18
		 */
9
) {
19
		public void setCal(Calendar cal) {
10
		this.id = id;
20
			this.
11
	}
21
cal = cal;
22
		}
23
		
24
		/**
25
		 * Returns the floaty.
26
		 * @return Float
27
		 */
12
	public Set getLines() {
28
		public Float getFloaty() {
13
		return lines;
29
			return 
14
	}
30
floaty;
31
		}
32
		
33
		/**
34
		 * Sets the floaty.
35
		 * @param floaty The floaty to set
36
		 */
15
	public void setLines(Set lines) {
37
		public void setFloaty(Float floaty) {
16
		this.lines = lines;
38
			this.floaty = floaty;
17
	
39
		
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