public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof Inner)) return false; final Inner cidSuper = (Inner) o; if (id != null ? !id.equals(cidSuper.id) : cidSuper.id != null) return false; return true;
public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof Middle)) return false; final Middle cidMaster = (Middle) o; if (id != null ? !id.equals(cidMaster.id) : cidMaster.id != null) return false; return true;
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/Inner.java File path: /hibernate-distribution-3.3.2.GA/project/testsuite/src/test/java/org/hibernate/test/legacy/Middle.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public boolean equals(Object o) {
1
public boolean equals(Object o) {
2
		if (this == o) return true;
2
		if (this == o) return true;
3
		if (!(o instanceof Inner)) return false;
3
		if (!(o instanceof Middle)) return false;
4
		final Inner cidSuper = (Inner) o;
4
		final Middle cidMaster = (Middle) o;
5
		if (id != null ? !id.equals(cidSuper.id) : cidSuper.id != null) return false;
5
		if (id != null ? !id.equals(cidMaster.id) : cidMaster.id != null) return false;
6
		return true;
6
		return true;
7
	
7
	
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