public class Radio { private Integer id; private String frequency; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getFrequency() { return frequency; } public void setFrequency(String frequency) { this.frequency = frequency;
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/id/Radio.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 Radio {
1
public static final class Component {
2
	private Integer id;
2
		private Calendar cal;
3
	private String frequency;
3
		private 
4
Float floaty;
5
		/**
6
		 * Returns the cal.
7
		 * @return Calendar
8
		 */
4
	public Integer getId() {
9
		public Calendar getCal() {
5
		return id;
10
			return cal;
6
	}
11
		}
7
	public void setId(Integer id
12
		
13
		/**
14
		 * Sets the cal.
15
		 * @param cal The cal to set
16
		 */
8
) {
17
		public void setCal(Calendar cal) {
9
		this.id = id;
18
			this.cal = cal;
10
	}
19
		}
11
	public String getFrequenc
20
		
21
		/**
22
		 * Returns the floaty.
23
		 * @return Float
24
		 */
12
y() {
25
		public Float getFloaty() {
13
		return frequency;
26
			return floaty;
14
	}
27
		}
15
	public void setFrequency(String frequenc
28
		
29
		/**
30
		 * Sets the floaty.
31
		 * @param floaty The floaty to set
32
		 */
16
y) {
33
		public void setFloaty(Float floaty) {
17
		this.frequency = frequency;
34
			this.floaty = floaty;
18
	
35
		
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