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 BankAccount extends Account { private String accountNumber; private String bsb; public String getAccountNumber() { return accountNumber; } public void setAccountNumber(String accountNumber) { this.accountNumber = accountNumber; } public String getBsb() { return bsb; } public void setBsb(String bsb) { this.bsb = bsb
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/inheritence/joined/BankAccount.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public static final class Component {
1
public class BankAccount extends Account {
2
		private Calendar cal;
2
	private String accountNumber;
3
		private Float floaty;
3
	private 
4
		/**
5
		 * Returns the cal.
6
		 * @return Calendar
7
		 */
8
		public Calendar getCal
4
String bsb;
9
() {
5
	public String getAccountNumber() {
10
			return cal;
6
		return 
11
		}
12
		
13
		/**
14
		 * Sets the cal.
15
		 * @param cal The cal to set
16
		 */
7
accountNumber;
8
	}
9

17
		public void setCal(Calendar cal) {
10
	public void setAccountNumber(String accountNumber) {
18
			this.cal = cal;
11
		this.
19
		}
20
		
21
		/**
22
		 * Returns the floaty.
23
		 * @return Float
24
		 */
25
		public Float getFloaty
12
accountNumber = accountNumber;
13
	}
26
() {
14
	public String getBsb() {
27
			return floaty;
15
		return 
28
		}
29
		
30
		/**
31
		 * Sets the floaty.
32
		 * @param floaty The floaty to set
33
		 */
34
		public void setFloaty(Float floaty
16
bsb;
17
	}
35
) {
18
	public void setBsb(String bsb) {
36
			this.floaty = floaty
19
		this.bsb = bsb
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