public class ProductLine { private String id; private String description; private Set models = new HashSet(); public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getId() { return id; } public void setId(String id) { this.id = id; } public Set getModels() { return models; } public void setModels(Set models) { this.models = models
public class Employee extends Person { private String title; private BigDecimal salary; private Employee manager; /** * @return Returns the title. */ public String getTitle() { return title; } /** * @param title The title to set. */ public void setTitle(String title) { this.title = title; } /** * @return Returns the manager. */ public Employee getManager() { return manager; } /** * @param manager The manager to set. */ public void setManager(Employee manager) { this.manager = manager; } /** * @return Returns the salary. */ public BigDecimal getSalary() { return salary; } /** * @param salary The salary to set. */ public void setSalary(BigDecimal salary) { this.salary = salary
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/batchfetch/ProductLine.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/join/Employee.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class ProductLine {
1
public class Employee extends Person {
2
	private String id;
2
	private String title;
3
	private String description;
3
	private 
4
	private Set models = new HashSet();
5
	
4
BigDecimal salary;
5
	private Employee manager;
6
	/**
7
	 * @return Returns the title.
8
	 */
6
	public String getDescription() {
9
	public String getTitle() {
7
		return description;
10
		return 
8
	}
11
title;
12
	}
13
	/**
14
	 * @param title The title to set.
15
	 */
9
	public void setDescription(String description) {
16
	public void set
10
		this.description = description;
11
	}
12
	public String getId() {
13
		return id;
14
	}
15
	public void setId(String id) {
16
		this.id = id;
17
	}
18
	public Set getModels() {
19
		return models;
20
	}
21
	public void setModels(Set models) {
22
		this.models = models
17
Title(String title) {
18
		this.title = title;
19
	}
20
	/**
21
	 * @return Returns the manager.
22
	 */
23
	public Employee getManager() {
24
		return manager;
25
	}
26
	/**
27
	 * @param manager The manager to set.
28
	 */
29
	public void setManager(Employee manager) {
30
		this.manager = manager;
31
	}
32
	/**
33
	 * @return Returns the salary.
34
	 */
35
	public BigDecimal getSalary() {
36
		return salary;
37
	}
38
	/**
39
	 * @param salary The salary to set.
40
	 */
41
	public void setSalary(BigDecimal salary) {
42
		this.salary = salary
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