static final class TransactionManagerLookupAdaptor implements org.jboss.cache.TransactionManagerLookup { private final TransactionManagerLookup tml; private final Properties props; TransactionManagerLookupAdaptor(TransactionManagerLookup tml, Properties props) { this.tml = tml; this.props = props; } public TransactionManager getTransactionManager() throws Exception { return tml.getTransactionManager( props );
static final class TransactionManagerLookupAdaptor implements org.jboss.cache.TransactionManagerLookup { private final TransactionManagerLookup tml; private final Properties props; TransactionManagerLookupAdaptor(TransactionManagerLookup tml, Properties props) { this.tml=tml; this.props=props; } public TransactionManager getTransactionManager() throws Exception { return tml.getTransactionManager(props);
Clone fragments detected by clone detection tool
File path: /hibernate-distribution-3.3.2.GA/project/cache-jbosscache/src/main/java/org/hibernate/cache/OptimisticTreeCacheProvider.java File path: /hibernate-distribution-3.3.2.GA/project/cache-jbosscache/src/main/java/org/hibernate/cache/TreeCacheProvider.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
static final class TransactionManagerLookupAdaptor implements org.jboss.cache.TransactionManagerLookup {
1
static final class TransactionManagerLookupAdaptor implements org.jboss.cache.TransactionManagerLookup {
2
		private final TransactionManagerLookup tml;
2
		private final TransactionManagerLookup tml;
3
		private final Properties props;
3
		private final Properties props;
4
		TransactionManagerLookupAdaptor(TransactionManagerLookup tml, Properties props) {
4
		TransactionManagerLookupAdaptor(TransactionManagerLookup tml, Properties props) {
5
			this.tml = tml;
5
			this.tml=tml;
6
			this.props = props;
6
			this.props=props;
7
		}
7
		}
8
		public TransactionManager getTransactionManager() throws Exception {
8
		public TransactionManager getTransactionManager() throws Exception {
9
			return tml.getTransactionManager( props );
9
			return tml.getTransactionManager(props);
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