public class Dom4jLazyInitializer extends AbstractLazyInitializer implements Serializable { Dom4jLazyInitializer(String entityName, Serializable id, SessionImplementor session) { super(entityName, id, session); } public Element getElement() { return (Element) getImplementation(); } public Class getPersistentClass() { throw new UnsupportedOperationException("dom4j entity representation");
public class MapLazyInitializer extends AbstractLazyInitializer implements Serializable { MapLazyInitializer(String entityName, Serializable id, SessionImplementor session) { super(entityName, id, session); } public Map getMap() { return (Map) getImplementation(); } public Class getPersistentClass() { throw new UnsupportedOperationException("dynamic-map entity representation");
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/proxy/dom4j/Dom4jLazyInitializer.java File path: /hibernate-distribution-3.3.2.GA/project/core/src/main/java/org/hibernate/proxy/map/MapLazyInitializer.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
public class Dom4jLazyInitializer extends AbstractLazyInitializer implements Serializable {
1
public class MapLazyInitializer extends AbstractLazyInitializer implements Serializable {
2
	Dom4jLazyInitializer(String entityName, Serializable id, SessionImplementor session) {
2
	MapLazyInitializer(String entityName, Serializable id, SessionImplementor session) {
3
		super(entityName, id, session);
3
		super(entityName, id, session);
4
	}
4
	}
5
	public Element getElement() {
5
	public Map getMap() {
6
		return (Element) getImplementation();
6
		return (Map) getImplementation();
7
	}
7
	}
8
	public Class getPersistentClass() {
8
	public Class getPersistentClass() {
9
		throw new UnsupportedOperationException("dom4j entity representation");
9
		throw new UnsupportedOperationException("dynamic-map entity representation");
10
	
10
	
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