public class CarPart implements java.io.Serializable { private long id; private String partName; /** * @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 typeName. */ public String getPartName() { return partName; } /** * @param typeName The typeName to set. */ public void setPartName(String typeName) { this.partName = typeName
public class CarType implements java.io.Serializable { private long id; private String typeName; /** * @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 typeName. */ public String getTypeName() { return typeName; } /** * @param typeName The typeName to set. */ public void setTypeName(String typeName) { this.typeName = typeName
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/entitymode/dom4j/many2one/CarPart.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/entitymode/dom4j/many2one/CarType.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class CarPart implements java.io.Serializable {
1
public class CarType implements java.io.Serializable {
2
	private long id;
2
	private long id;
3
	private String partName;
3
	private String typeName;
4
	/**
4
	/**
5
	 * @return Returns the id.
5
	 * @return Returns the id.
6
	 */
6
	 */
7
	public long getId() {
7
	public long getId() {
8
		return id;
8
		return id;
9
	}
9
	}
10
	/**
10
	/**
11
	 * @param id The id to set.
11
	 * @param id The id to set.
12
	 */
12
	 */
13
	public void setId(long id) {
13
	public void setId(long id) {
14
		this.id = id;
14
		this.id = id;
15
	}
15
	}
16
	/**
16
	/**
17
	 * @return Returns the typeName.
17
	 * @return Returns the typeName.
18
	 */
18
	 */
19
	public String getPartName() {
19
	public String getTypeName() {
20
		return partName;
20
		return typeName;
21
	}
21
	}
22
	/**
22
	/**
23
	 * @param typeName The typeName to set.
23
	 * @param typeName The typeName to set.
24
	 */
24
	 */
25
	public void setPartName(String typeName) {
25
	public void setTypeName(String typeName) {
26
		this.partName = typeName
26
		this.typeName = typeName
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