public class Mail { private Integer id; private String alias; private User user; /*package*/ Mail() { } /*package*/ Mail(String alias, User user) { this.alias = alias; this.user = user; } public Integer getId() { return id; } protected void setId(Integer id) { this.id = id; } public String getAlias() { return alias; } public void setAlias(String alias) { this.alias = alias; } public User getUser() { return user; } public void setUser(User user) { this.user = user;
public class Document { private String text; private String name; private Date lastModified; Document() {} public Document(String text, String name) { this.text = text; this.name = name; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getText() { return text; } public void setText(String text) { this.text = text; } public Date getLastModified() { return lastModified; } void setLastModified(Date lastModified) { this.lastModified = lastModified;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/orphan/Mail.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/stateless/Document.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Mail {
1
public class Document {
2
	
2
	private Integer id;
3
	private String text;
3
	private String alias;
4
	private String name;
4
	private User user;
5
	private 
5
	/*package*/ Mail
6
Date lastModified;
6
() {
7
	Document() {}
7
	}
8
	
8
	/*package*/ Mail(String alias, User user) {
9
		this.alias = alias;
10
		this.user = user;
11
	}
12
	public Integer getId
9
	public Document(String text, String name) {
10
		this.text = text;
11
		this.name = name;
12
	}
13
() {
13
	public String getName() {
14
		return id;
14
		return name;
15
	}
15
	}
16
	protected void setId(Integer id) {
16
	public void set
17
		this.id = id
17
Name(String name) {
18
;
18
		this.name = name;
19
	}
19
	}
20
	public String getAlias() {
20
	public String getText() {
21
		return alias;
21
		return text;
22
	}
22
	}
23
	public void setAlias(String alias) {
23
	public void setText(String text) {
24
		this.alias = alias;
24
		this.text = text;
25
	}
25
	}
26
	public User getUser() {
26
	public 
27
		return user;
28
	}
29
	public void setUser(User user) {
30
		this.user = user
27
Date getLastModified() {
28
		return lastModified;
29
	}
30
	void setLastModified(Date lastModified) {
31
;
31
		this.lastModified = lastModified;
32
	
32
	
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