public class Customer extends Person { private Employee salesperson; private String comments; /** * @return Returns the salesperson. */ public Employee getSalesperson() { return salesperson; } /** * @param salesperson The salesperson to set. */ public void setSalesperson(Employee salesperson) { this.salesperson = salesperson; } /** * @return Returns the comments. */ public String getComments() { return comments; } /** * @param comments The comments to set. */ public void setComments(String comments) { this.comments = comments
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
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/extendshbm/Customer.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/id/Radio.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Customer extends Person {
1
public class 
2
	private Employee salesperson;
3
	private String comments;
4
	/**
5
	 * @return Returns the salesperson.
6
	 */
7
	public Employee getSalesperson() {
8
		return salesperson;
9
	}
10
	/**
11
	 * @param salesperson The salesperson to set.
12
	 */
13
	public void setSalesperson(Employee salesperson) {
14
		this.salesperson = salesperson;
15
	}
16
	/**
17
	 * @return Returns the comments.
18
	 */
2
Radio {
3
	private Integer id;
4
	private String frequency;
5
	public Integer getId() {
6
		return id;
7
	}
8
	public void setId(Integer id) {
9
		this.id = id;
10
	}
19
	public String getComments() {
11
	public String getFrequency() {
20
		return comments;
12
		return 
21
	}
22
	/**
23
	 * @param comments The comments to set.
24
	 */
13
frequency;
14
	}
25
	public void setComments(String comments) {
15
	public void set
26
		this.comments = comments
16
Frequency(String frequency) {
17
		this.frequency = frequency
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