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 Paper { private Integer id; private String color; public Integer getId() { return id; } public void setId(Integer id) { this.id = id; } public String getColor() { return color; } public void setColor(String color) { this.color = color
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/stateless/Paper.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public static final class Component {
1
public class Paper {
2
		private Calendar cal;
2
	private Integer id;
3
		private Float floaty;
3
	private 
4
		/**
5
		 * Returns the cal.
6
		 * @return Calendar
7
		 */
8
	
4
String color;
9
	public Calendar getCal() {
5
	public Integer getId() {
10
			return cal;
6
		return id;
11
		}
7
	}
12
		
13
		/**
14
		 * Sets the cal.
15
		 * @param cal The cal to set
16
		 */
17
		public void setCal(Calendar cal
18
) {
8
	public void setId(Integer id) {
19
			this.cal = cal;
9
		this.id = id;
20
		}
10
	}
21
		
22
		/**
23
		 * Returns the floaty.
24
		 * @return Float
25
		 */
26
	
27
	public Float getFloaty() {
11
	public String getColor() {
28
			return floaty;
12
		return color;
29
		}
13
	}
30
		
31
		/**
32
		 * Sets the floaty.
33
		 * @param floaty The floaty to set
34
		 */
35
		public void setFloaty(Float floaty
36
) {
14
	public void setColor(String color) {
37
			this.floaty = floaty
15
		this.color = color
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