public class Several implements Serializable { private String id; private String prop; private Single single; private String string; /** * Returns the id. * @return String */ public String getId() { return id; } /** * Returns the prop. * @return String */ public String getProp() { return prop; } /** * Returns the single. * @return Single */ public Single getSingle() { return single; } /** * Sets the id. * @param id The id to set */ public void setId(String id) { this.id = id; } /** * Sets the prop. * @param prop The prop to set */ public void setProp(String prop) { this.prop = prop; } /** * Sets the single. * @param single The single to set */ public void setSingle(Single single) { this.single = single; } /** * Returns the string. * @return String */ public String getString() { return string; } /** * Sets the string. * @param string The string to set */ public void setString(String string) { this.string = string;
public class Alien { private Long id; private String identity; private String planet; private String species; public void setIdentity(String identity) { this.identity = identity; } public String getIdentity() { return identity; } public void setSpecies(String species) { this.species = species; } public String getSpecies() { return species; } public void setPlanet(String planet) { this.planet = planet; } public String getPlanet() { return planet; } public void setId(Long id) { this.id = id; } public Long getId() { return id;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/Several.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/subselect/Alien.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Several implements Serializable {
1
public class Alien {
2
	private String id;
2
	private Long id;
3
	private String prop;
3
	private String identity;
4
	private Single single;
4
	private String planet;
5
	private String string;
5
	private String s
6
	/**
7
	 * Returns the id.
8
	 * @return String
9
	 */
10
	public String getId() {
11
		return id;
12
	}
13
	
14
	/**
15
	 * Returns the prop.
16
	 * @return String
17
	 */
18
	public String getProp() {
19
		return prop;
20
	}
21
	
22
	/**
23
	 * Returns the single.
24
	 * @return Single
25
	 */
6
pecies;
7
	
8
	public void setIdentity(String identity) {
9
		this.identity = identity;
10
	}
26
	public Single getSingle() {
11
	public String getIdentity() {
27
		return single;
12
		return 
28
	}
29
	
30
	/**
31
	 * Sets the id.
32
	 * @param id The id to set
33
	 */
13
identity;
14
	}
34
	public void setId(String id) {
15
	public void setSpecies(String species) {
35
		this.id = id;
16
		this.
36
	}
37
	
38
	/**
39
	 * Sets the prop.
40
	 * @param prop The prop to set
41
	 */
42
	public void setProp(String prop) {
43
		this.prop = prop;
44
	}
45
	
46
	/**
47
	 * Sets the single.
48
	 * @param single The single to set
49
	 */
17
species = species;
18
	}
19
	public String getSpecies() {
20
		return species;
21
	}
50
	public void setSingle(Single single) {
22
	public void set
51
		this.single = single;
52
	}
53
	
54
	/**
55
	 * Returns the string.
56
	 * @return String
57
	 */
23
Planet(String planet) {
24
		this.planet = planet;
25
	}
58
	public String getString() {
26
	public String getPlanet() {
59
		return string;
27
		return 
60
	}
61
	
62
	/**
63
	 * Sets the string.
64
	 * @param string The string to set
65
	 */
66
	public void setString(String string) {
67
		this.string = string
28
planet;
29
	}
30
	public void setId(Long id) {
31
		this.id = id;
32
	}
33
	public Long getId() {
68
;
34
		return id;
69
	
35
	
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