public class PropertySet { private Long id; private String name; private PropertyValue someSpecificProperty; private Map generalProperties = new HashMap(); public PropertySet() { } public PropertySet(String name) { this.name = name; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public PropertyValue getSomeSpecificProperty() { return someSpecificProperty; } public void setSomeSpecificProperty(PropertyValue someSpecificProperty) { this.someSpecificProperty = someSpecificProperty; } public Map getGeneralProperties() { return generalProperties; } public void setGeneralProperties(Map generalProperties) { this.generalProperties = generalProperties
public class Child { private Long id; private String name; private Parent parent; private ChildInfo info; public Child() { } public Child(String name) { this.name = name; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getName() { return name; } public void setName(String name) { this.name = name; } public Parent getParent() { return parent; } public void setParent(Parent parent) { this.parent = parent; } public ChildInfo getInfo() { return info; } public void setInfo(ChildInfo info) { this.info = info
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/any/PropertySet.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/jpa/cascade/Child.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class PropertySet {
1
public class Child {
2
	private Long id;
2
	private Long id;
3
	private String name;
3
	private String name;
4
	private PropertyValue someSpecificProperty;
4
	private P
5
	private Map generalProperties = new HashMap()
5
arent parent;
6
;
6
	private ChildInfo info;
7
	public PropertySet() {
7
	public Child() {
8
	}
8
	}
9
	public PropertySet(String name) {
9
	public Child(String name) {
10
		this.name = name;
10
		this.name = name;
11
	}
11
	}
12
	public Long getId() {
12
	public Long getId() {
13
		return id;
13
		return id;
14
	}
14
	}
15
	public void setId(Long id) {
15
	public void setId(Long id) {
16
		this.id = id;
16
		this.id = id;
17
	}
17
	}
18
	public String getName() {
18
	public String getName() {
19
		return name;
19
		return name;
20
	}
20
	}
21
	public void setName(String name) {
21
	public void setName(String name) {
22
		this.name = name;
22
		this.name = name;
23
	}
23
	}
24
	public PropertyValue getSomeSpecificProperty() {
24
	public P
25
		return someSpecificProperty
25
arent getParent() {
26
;
26
		return parent;
27
	}
27
	}
28
	public void setSomeSpecificProperty(PropertyValue someSpecificProperty) {
28
	public void set
29
		this.someSpecificProperty = someSpecificProperty
29
Parent(Parent parent) {
30
;
30
		this.parent = parent;
31
	}
31
	}
32
	public Map getGeneralProperties() {
32
	public 
33
		return generalProperties;
34
	}
35
	public void setGeneralProperties(Map generalProperties) {
36
		this.generalProperties = generalProperties
33
ChildInfo getInfo() {
34
		return info;
35
	}
36
	public void setInfo(ChildInfo info) {
37
		this.info = info
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