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