tsantalis / RefactoringMiner

MIT License
375 stars 140 forks source link

error #243

Closed feifeiniu-se closed 2 years ago

feifeiniu-se commented 2 years ago

image

tsantalis commented 2 years ago

Hi @victor0624 I need the repository to replicate the bug. Please provide the commit link.

feifeiniu-se commented 2 years ago

There are some other errors happeded. Thanks for fixing them. https://github.com/hibernate/hibernate-orm/commit/3689924d74a000cc2319a434bf380862692c9b28 FIXED in https://github.com/tsantalis/RefactoringMiner/commit/7f4bfcaff01838f2c37ae09a9fc93eb3c8b9cf6b https://github.com/weld/core/commit/da6358580511659a0759920d6cc64757693d0d8e FIXED in issue #242 https://github.com/errai/errai/commit/21f832216a41b789946c6b2670b51a5c123db163 FIXED in https://github.com/tsantalis/RefactoringMiner/commit/41c47a4880acd852a744b8c1403cde25fca83a32 https://github.com/apache/hbase/commit/bc8ebc6f72fe0ed4f004d07400f38845def0ca17 NO BUG https://github.com/infinispan/infinispan/commit/b68a767199061e0cbb57b9e22fac72205cb54721 NO BUG https://github.com/infinispan/infinispan/commit/4de2e7fdc35a4f5cacca56441365d0d197861dfc NO BUG https://github.com/infinispan/infinispan/commit/b3fc0fc8a03aa071be22d8c663d03c4b5052fc12 NO BUG https://github.com/jbehave/jbehave-core/commit/ef14436d0a969eda7c1d797f2c3cd3434cecb709 COMMIT DOES NOT EXIST https://github.com/teiid/teiid/commit/578564332d2544151aadd7bf318bc5276407b155 NO BUG

tsantalis commented 2 years ago

https://github.com/hibernate/hibernate-orm/commit/3689924d74a000cc2319a434bf380862692c9b28 had no exception with the latest commit of the project.

2022-04-04 05:24:40 INFO Processing tmp1/hibernate-orm 2dc0adb893ebebd8fcf14a15ef0690c1d26291cf ... 2022-04-04 05:24:40 INFO Processing tmp1/hibernate-orm 3689924d74a000cc2319a434bf380862692c9b28 ... Commits: 1 Errors: 0 Total TP: 0 FP: 315 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN EM TP: 0 FP: 8 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RC TP: 0 FP: 24 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MA TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MM TP: 0 FP: 112 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MARM TP: 0 FP: 7 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN PUM TP: 0 FP: 4 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MC TP: 0 FP: 15 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MARC TP: 0 FP: 4 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN PDM TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN EI TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN ES TP: 0 FP: 13 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN EC TP: 0 FP: 3 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MP TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN EV TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RV TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CRT TP: 0 FP: 4 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CVT TP: 0 FP: 5 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CPT TP: 0 FP: 5 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CAT TP: 0 FP: 3 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN AMA TP: 0 FP: 13 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RMA TP: 0 FP: 19 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN AAA TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RAA TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN ACA TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN AP TP: 0 FP: 10 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RP TP: 0 FP: 10 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CMAM TP: 0 FP: 5 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RMM TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN AAM TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RAM TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN AVM TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN ACM TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RCM TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RAWL TP: 0 FP: 27 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MC TP: 0 FP: 4 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN at https://github.com/hibernate/hibernate-orm/commit/3689924d74a000cc2319a434bf380862692c9b28 false positives Extract Superclass org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest from class org.hibernate.test.cache.infinispan.entity.AbstractReadOnlyAccessTestCase Add Method Annotation @Test in method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionReadOnlyAccessTest.Invalidation Move Method public unlockRegion(lock SoftLock) : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public unlockRegion(lock SoftLock) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Change Variable Type delegate : TransactionalAccessDelegate to delegate : InvalidationCacheAccessDelegate in method public call() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest.testPutFromLoadRemoveDoesNotProduceStaleData.withCacheManager.new CacheManagerCallable Change Attribute Type barney : Object to barney : AccountHolder in class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Change Variable Type dao1 : ClassLoaderTestDAO to dao1 : AccountDAO in method public testRefreshAfterExternalChange() : void from class org.hibernate.test.cache.infinispan.functional.cluster.SessionRefreshTest Remove Method Annotation @Test in method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase Move And Rename Class org.hibernate.test.cache.infinispan.functional.classloader.ClassLoaderTestDAO moved and renamed to org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Move Method protected addSettings(settings Map) : void from class org.hibernate.test.cache.infinispan.functional.ConcurrentWriteTest to protected addSettings(settings Map) : void from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Rename Class org.hibernate.test.cache.infinispan.AbstractRegionImplTestCase renamed to org.hibernate.test.cache.infinispan.AbstractRegionImplTest Move Class org.hibernate.test.cache.infinispan.functional.classloader.AccountHolder moved to org.hibernate.test.cache.infinispan.functional.entities.AccountHolder Remove Attribute Modifier final in attribute private delegate : InfinispanRegionFactory from class org.hibernate.test.cache.infinispan.functional.cluster.ClusterAwareRegionFactory Move Method protected getUseQueryCache() : boolean from class org.hibernate.test.cache.infinispan.functional.SingleNodeTestCase to protected getUseQueryCache() : boolean from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Move Class org.hibernate.test.cache.infinispan.functional.Customer moved to org.hibernate.test.cache.infinispan.functional.entities.Customer Rename Class org.hibernate.test.cache.infinispan.functional.cluster.DualNodeTestCase renamed to org.hibernate.test.cache.infinispan.functional.cluster.DualNodeTest Move Method public testEvict() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public testEvict() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Add Method Annotation @Override in method protected getRegionFactoryClass() : Class<? extends RegionFactory> from class org.hibernate.test.cache.infinispan.timestamp.TimestampsRegionImplTest Move Method public getPutFromLoadValidator() : PutFromLoadValidator from class org.hibernate.cache.infinispan.naturalid.NaturalIdRegionImpl to protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Move Method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object, minimalPutOverride boolean) : boolean from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object, minimalPutOverride boolean) : boolean from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public testUnlockItem() : void from class org.hibernate.test.cache.infinispan.collection.TransactionalExtraAPITestCase to public testUnlockItem() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Move Method public getCacheKeyId(cacheKey Object) : Object from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public getCacheKeyId(cacheKey Object) : Object from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method protected isSynchronous() : boolean from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to protected isSynchronous() : boolean from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public unlockRegion(lock SoftLock) : void from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public unlockRegion(lock SoftLock) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Extract Superclass org.hibernate.test.cache.infinispan.stress.CorrectnessTestCase.FailingInfinispanRegionFactory from class org.hibernate.test.cache.infinispan.stress.CorrectnessTestCase.ForceNonTxInfinispanRegionFactory Extract Method protected generateNextKey() : Object extracted from public testInsert() : void in class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Rename Class org.hibernate.test.cache.infinispan.functional.NoTenancyTestCase renamed to org.hibernate.test.cache.infinispan.functional.NoTenancyTest Extract Method protected isCommitted(session SessionImplementor) : boolean extracted from public unlockItem(session SessionImplementor, key Object) : void in class org.hibernate.cache.infinispan.access.NonTxInvalidationCacheAccessDelegate Add Parameter delegate : InvalidationCacheAccessDelegate in method package ReadWriteAccess(region EntityRegionImpl, delegate InvalidationCacheAccessDelegate) from class org.hibernate.cache.infinispan.entity.ReadWriteAccess Move Method public testUpdate() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testUpdate() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Add Method Annotation @Override in method public afterInsert(session SessionImplementor, key Object, value Object, version Object) : boolean from class org.hibernate.cache.infinispan.access.TxInvalidationCacheAccessDelegate Remove Parameter tm : TransactionManager in method private getCustomer(id Integer, sessionFactory SessionFactory, tm TransactionManager) : Customer from class org.hibernate.test.cache.infinispan.functional.cluster.EntityCollectionInvalidationTestCase Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTestCase.testInsertDeleteEntity.withTx.new Callable with s -> {Item found=s.load(Item.class,item.getId()); in method public testInsertDeleteEntity() : void from class org.hibernate.test.cache.infinispan.functional.ReadOnlyTest Extract Superclass org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest from class org.hibernate.test.cache.infinispan.collection.AbstractReadOnlyAccessTestCase Move Method public testPutFromLoad() : void from class org.hibernate.test.cache.infinispan.entity.AbstractReadOnlyAccessTestCase to public testPutFromLoad() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public afterUpdate(session SessionImplementor, key Object, value Object, currentVersion Object, previousVersion Object, lock SoftLock) : boolean from class org.hibernate.cache.infinispan.access.TransactionalAccessDelegate to public afterUpdate(session SessionImplementor, key Object, value Object, currentVersion Object, previousVersion Object, lock SoftLock) : boolean from class org.hibernate.cache.infinispan.access.TxInvalidationCacheAccessDelegate Move Method protected waitForClusterToForm(caches Cache...) : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to protected waitForClusterToForm(caches Cache...) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public lockRegion() : SoftLock from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public lockRegion() : SoftLock from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object) : boolean from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object) : boolean from class org.hibernate.cache.infinispan.collection.CollectionAccess Remove Method Annotation @Override in method public get(session SessionImplementor, key Object, txTimestamp long) : Object from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Move Method public abstract testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public abstract testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Add Class Modifier static in class org.hibernate.test.cache.infinispan.entity.EntityRegionExtraAPITest.ReadOnly Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testCollectionCache.withTx.new Callable with s -> {s.persist(item); in method public testCollectionCache() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Move Method public testRemove() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testRemove() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Add Parameter removeLatch : CountDownLatch in method protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testNaturalIdLoaderCached.withTx.new Callable with s -> {State france=ReadWriteTest.this.getState(s,"Ile de France"); in method public testNaturalIdLoaderCached() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Extract Superclass org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest from class org.hibernate.test.cache.infinispan.functional.cluster.DualNodeTestCase Change Variable Type dao0A : ClassLoaderTestDAO to dao0A : AccountDAO in method public testRefreshAfterExternalChange() : void from class org.hibernate.test.cache.infinispan.functional.cluster.SessionRefreshTest Change Return Type Object to AccountHolder in method public getSmith() : AccountHolder from class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Move Method protected getUseQueryCache() : boolean from class org.hibernate.test.cache.infinispan.functional.ConcurrentWriteTest to protected getUseQueryCache() : boolean from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Move Method public releaseLocalAccessStrategy() : void from class org.hibernate.test.cache.infinispan.entity.TransactionalExtraAPITestCase to public releaseLocalAccessStrategy() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testNaturalIdLoaderCached.withTx.new Callable with s -> {Citizen loadedCitizen=(Citizen)s.get(Citizen.class,citizen.getId()); in method public testNaturalIdLoaderCached() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Move Method protected abstract getAccessType() : AccessType from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to protected abstract getAccessType() : AccessType from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.EqualityTest.testEqualityFromType.withTx.new Callable with s -> {s.persist(john); in method public testEqualityFromType() : void from class org.hibernate.test.cache.infinispan.functional.EqualityTest Rename Class org.hibernate.test.cache.infinispan.timestamp.TimestampsRegionImplTestCase renamed to org.hibernate.test.cache.infinispan.timestamp.TimestampsRegionImplTest Move Method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object) : boolean from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object) : boolean from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public releaseResources() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public releaseResources() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Rename Class org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase renamed to org.hibernate.test.cache.infinispan.functional.ReadWriteTest Rename Class org.hibernate.cache.infinispan.access.TxTransactionalAccessDelegate renamed to org.hibernate.cache.infinispan.access.TxInvalidationCacheAccessDelegate Move Method public evict(key Object) : void from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public evict(key Object) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Remove Method Annotation @Override in method public lockRegion() : SoftLock from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Move Method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object, minimalPutOverride boolean) : boolean from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object, minimalPutOverride boolean) : boolean from class org.hibernate.cache.infinispan.collection.CollectionAccess Move And Rename Method protected getCacheRegionFactory() : Class<? extends RegionFactory> from class org.hibernate.test.cache.infinispan.functional.JndiRegionFactoryTestCase to protected getRegionFactoryClass() : Class<? extends RegionFactory> from class org.hibernate.test.cache.infinispan.AbstractNonFunctionalTest Move Method public unlockItem(session SessionImplementor, key Object, lock SoftLock) : void from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public unlockItem(session SessionImplementor, key Object, lock SoftLock) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public get(session SessionImplementor, key Object, txTimestamp long) : Object from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public get(session SessionImplementor, key Object, txTimestamp long) : Object from class org.hibernate.cache.infinispan.collection.CollectionAccess Add Attribute Annotation @Rule in attribute public infinispanTestIdentifier : InfinispanTestingSetup from class org.hibernate.test.cache.infinispan.tm.JBossStandaloneJtaExampleTest Move Method protected abstract getAccessType() : AccessType from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to protected abstract getAccessType() : AccessType from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase.evictOrRemoveAllTest.withinTx.new Callable with () -> {if(evict){localAccessStrategy.evictAll(); in method protected evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Remove Parameter Modifier final in parameter sf : SessionFactory in method private getCitizenWithCriteria(tm TransactionManager, sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase Move Method protected createStandardServiceRegistryBuilder() : StandardServiceRegistryBuilder from class org.hibernate.test.cache.infinispan.timestamp.TimestampsRegionImplTestCase to protected createStandardServiceRegistryBuilder() : StandardServiceRegistryBuilder from class org.hibernate.test.cache.infinispan.AbstractNonFunctionalTest Move And Rename Method package TransactionalAccess(region EntityRegionImpl) from class org.hibernate.cache.infinispan.entity.TransactionalAccess to package CollectionAccess(region CollectionRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public testPutFromLoad() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public testPutFromLoad() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Class org.hibernate.test.cache.infinispan.functional.classloader.Account moved to org.hibernate.test.cache.infinispan.functional.entities.Account Move And Rename Method package TransactionalAccess(region NaturalIdRegionImpl) from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to package CollectionAccess(region CollectionRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public testEvictAll() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testEvictAll() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public removeAll() : void from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public removeAll() : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Move And Rename Class org.hibernate.test.cache.infinispan.entity.ReadOnlyExtraAPITestCase moved and renamed to org.hibernate.test.cache.infinispan.entity.EntityRegionExtraAPITest.ReadOnly Remove Method Annotation @Override in method protected createStandardServiceRegistryBuilder() : StandardServiceRegistryBuilder from class org.hibernate.test.cache.infinispan.timestamp.TimestampsRegionImplTestCase Rename Class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTestCase renamed to org.hibernate.test.cache.infinispan.functional.ReadOnlyTest Move Class org.hibernate.test.cache.infinispan.stress.CorrectnessTestCase.TestInfinispanRegionFactory moved to org.hibernate.test.cache.infinispan.util.TestInfinispanRegionFactory Extract Superclass org.hibernate.test.cache.infinispan.functional.SingleNodeTest from class org.hibernate.test.cache.infinispan.functional.ConcurrentWriteTest Remove Method Annotation @Override in method protected getCacheRegionFactory() : Class<? extends RegionFactory> from class org.hibernate.test.cache.infinispan.functional.JndiRegionFactoryTestCase Add Attribute Modifier final in attribute private sessionFactory : SessionFactory from class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Move Method public testRemoveAll() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testRemoveAll() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Class org.hibernate.test.cache.infinispan.functional.Item moved to org.hibernate.test.cache.infinispan.functional.entities.Item Extract Class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest from class org.hibernate.test.cache.infinispan.entity.AbstractReadOnlyAccessTestCase Move Method public testPutFromLoadMinimal() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public testPutFromLoadMinimal() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Rename Class org.hibernate.test.cache.infinispan.entity.EntityRegionImplTestCase renamed to org.hibernate.test.cache.infinispan.entity.EntityRegionImplTest Change Attribute Type smith : Object to smith : AccountHolder in class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTestCase.testInsertClearCacheDeleteEntity.withTx.new Callable with s -> {Item found=s.load(Item.class,item.getId()); in method public testInsertClearCacheDeleteEntity() : void from class org.hibernate.test.cache.infinispan.functional.ReadOnlyTest Add Parameter jtaPlatform : Class<? extends JtaPlatform> in method public buildBaselineSettings(regionPrefix String, regionFactory Class, use2ndLevel boolean, useQueries boolean, jtaPlatform Class<? extends JtaPlatform>) : Map from class org.hibernate.test.cache.infinispan.util.CacheTestUtil Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testEntityCacheContentsAfterEvictAll.withTx.new Callable with s -> {Cache cache=s.getSessionFactory().getCache(); in method public testEntityCacheContentsAfterEvictAll() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Remove Parameter tm : TransactionManager in method private cleanup(sessionFactory SessionFactory, tm TransactionManager) : void from class org.hibernate.test.cache.infinispan.functional.cluster.EntityCollectionInvalidationTestCase Move Method public getMappings() : String[] from class org.hibernate.test.cache.infinispan.functional.SingleNodeTestCase to public getMappings() : String[] from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Change Variable Type naturalIdLoader : NaturalIdLoadAccess to naturalIdLoader : NaturalIdLoadAccess in method public testNaturalIdLoaderCached() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Move Method public generateCacheKey(id Object, persister CollectionPersister, factory SessionFactoryImplementor, tenantIdentifier String) : Object from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public generateCacheKey(id Object, persister CollectionPersister, factory SessionFactoryImplementor, tenantIdentifier String) : Object from class org.hibernate.cache.infinispan.collection.CollectionAccess Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testNaturalIdCached.withTx.new Callable with s -> {State france=ReadWriteTest.this.getState(s,"Ile de France"); in method public testNaturalIdCached() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Move Class org.hibernate.test.cache.infinispan.functional.VersionedItem moved to org.hibernate.test.cache.infinispan.functional.entities.VersionedItem Remove Method Annotation @Override in method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object) : boolean from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Add Method Annotation @Override in method public evictAll() : void from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Move Method public removeAll() : void from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public removeAll() : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public testUnlockRegion() : void from class org.hibernate.test.cache.infinispan.entity.TransactionalExtraAPITestCase to public testUnlockRegion() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Move Method public get(session SessionImplementor, key Object, txTimestamp long) : Object from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public get(session SessionImplementor, key Object, txTimestamp long) : Object from class org.hibernate.cache.infinispan.collection.CollectionAccess Add Parameter pferLatch : CountDownLatch in method protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.MultiTenancyTestCase.testMultiTenancy.id.withTx.new Callable with s -> s.persist(item) in method public testMultiTenancy() : void from class org.hibernate.test.cache.infinispan.functional.MultiTenancyTest Move Class org.hibernate.test.cache.infinispan.functional.OtherItem moved to org.hibernate.test.cache.infinispan.functional.entities.OtherItem Move Method public evictAll() : void from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public evictAll() : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Add Method Annotation @Override in method public get(session SessionImplementor, key Object, txTimestamp long) : Object from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Move Method protected addSettings(settings Map) : void from class org.hibernate.test.cache.infinispan.functional.bulk.BulkOperationsTestCase to protected addSettings(settings Map) : void from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase.evictOrRemoveTest.withinTx.new Callable with () -> {if(evict){localAccessStrategy.evictAll(); in method protected evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public afterInsert(session SessionImplementor, key Object, value Object, version Object) : boolean from class org.hibernate.cache.infinispan.access.TransactionalAccessDelegate to public afterInsert(session SessionImplementor, key Object, value Object, version Object) : boolean from class org.hibernate.cache.infinispan.access.TxInvalidationCacheAccessDelegate Move Method public remove(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public remove(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Add Parameter cache : AdvancedCache in method protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Remove Method Annotation @Override in method protected getUseQueryCache() : boolean from class org.hibernate.test.cache.infinispan.functional.ConcurrentWriteTest Move Method public prepareResources() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public prepareResources() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Change Return Type TransactionalAccessDelegate to InvalidationCacheAccessDelegate in method public create(region BaseRegion, validator PutFromLoadValidator) : InvalidationCacheAccessDelegate from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Remove Method Annotation @Test in method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.InvalidatedTransactionalTestCase Rename Class org.hibernate.test.cache.infinispan.functional.MultiTenancyTestCase renamed to org.hibernate.test.cache.infinispan.functional.MultiTenancyTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase.evictOrRemoveTest.withinTx.new Callable with () -> {if(evict){localAccessStrategy.evict(KEY); in method protected evictOrRemoveTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Extract Interface org.hibernate.cache.infinispan.access.AccessDelegate from class org.hibernate.cache.infinispan.access.TransactionalAccessDelegate Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.InvalidatedTransactionalTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionTransactionalAccessTest.Invalidation Remove Method Annotation @Override in method public testPutFromLoadMinimal() : void from class org.hibernate.test.cache.infinispan.entity.AbstractReadOnlyAccessTestCase Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase.deleteCitizenWithCriteria.withTx.new Callable with s -> {State france=getState(s,"Ile de France"); in method private deleteCitizenWithCriteria(sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTest Change Parameter Type region : EntityRegionImpl to region : CollectionRegionImpl in method package CollectionAccess(region CollectionRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Class org.hibernate.test.cache.infinispan.functional.Name moved to org.hibernate.test.cache.infinispan.functional.entities.Name Move Method public testInsert() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testInsert() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Move Method public testEvictAll() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public testEvictAll() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Merge Class [org.hibernate.cache.infinispan.collection.TransactionalAccess, org.hibernate.cache.infinispan.entity.TransactionalAccess, org.hibernate.cache.infinispan.naturalid.TransactionalAccess] merged to org.hibernate.cache.infinispan.collection.CollectionAccess Extract Class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest from class org.hibernate.test.cache.infinispan.functional.ConcurrentWriteTest Move Method public get(session SessionImplementor, key Object, txTimestamp long) : Object from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public get(session SessionImplementor, key Object, txTimestamp long) : Object from class org.hibernate.cache.infinispan.collection.CollectionAccess Pull Up Method public abstract insert(session SessionImplementor, key Object, value Object, version Object) : boolean from class org.hibernate.cache.infinispan.access.TransactionalAccessDelegate to public insert(session SessionImplementor, key Object, value Object, version Object) : boolean from class org.hibernate.cache.infinispan.access.AccessDelegate Move Class org.hibernate.test.cache.infinispan.functional.NaturalIdOnManyToOne moved to org.hibernate.test.cache.infinispan.functional.entities.NaturalIdOnManyToOne Extract Method protected saveItem(itemId ByRef) : void extracted from public testAddNewOneToManyElementNoInitFlushLeaveCacheConsistent() : void in class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Move Method private evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to protected evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public evict(key Object) : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public evict(key Object) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public evictAll() : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public evictAll() : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Change Attribute Type jones : Object to jones : AccountHolder in class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionTransactionalAccessTest.Invalidation Remove Parameter tm : TransactionManager in method private saveSomeCitizens(tm TransactionManager, sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase Extract Method protected generateNextKey() : Object extracted from public testUpdate() : void in class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Rename Class org.hibernate.test.cache.infinispan.functional.cluster.SessionRefreshTestCase renamed to org.hibernate.test.cache.infinispan.functional.cluster.SessionRefreshTest Rename Class org.hibernate.test.cache.infinispan.access.PutFromLoadValidatorUnitTestCase renamed to org.hibernate.test.cache.infinispan.access.PutFromLoadValidatorUnitTest Merge Class [org.hibernate.test.cache.infinispan.collection.InvalidatedTransactionalTestCase, org.hibernate.test.cache.infinispan.collection.ReadOnlyTestCase, org.hibernate.test.cache.infinispan.entity.InvalidatedTransactionalTestCase, org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase] merged to org.hibernate.test.cache.infinispan.collection.CollectionRegionReadOnlyAccessTest.Invalidation Rename Class org.hibernate.test.cache.infinispan.AbstractEntityCollectionRegionTestCase renamed to org.hibernate.test.cache.infinispan.AbstractEntityCollectionRegionTest Change Method Access Modifier private to protected in method protected evictOrRemoveTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Rename Variable citizen : Citizen to c : Citizen in method public testNaturalIdLoaderCached() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Merge Class [org.hibernate.test.cache.infinispan.entity.InvalidatedTransactionalTestCase, org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase] merged to org.hibernate.test.cache.infinispan.entity.EntityRegionTransactionalAccessTest.Invalidation Add Class Annotation @RunWith(CustomParameterized.class) in class org.hibernate.test.cache.infinispan.AbstractNonFunctionalTest Rename Class org.hibernate.test.cache.infinispan.entity.AbstractReadOnlyAccessTestCase renamed to org.hibernate.test.cache.infinispan.entity.EntityRegionReadOnlyAccessTest Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.ReadOnlyTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionReadOnlyAccessTest.Invalidation Move Method public unlockRegion(lock SoftLock) : void from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public unlockRegion(lock SoftLock) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Change Method Access Modifier private to protected in method protected putFromLoadTest(minimal boolean) : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionReadOnlyAccessTest Move Method public testPutFromLoadMinimal() : void from class org.hibernate.test.cache.infinispan.entity.AbstractReadOnlyAccessTestCase to public testPutFromLoadMinimal() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public testLockRegion() : void from class org.hibernate.test.cache.infinispan.entity.TransactionalExtraAPITestCase to public testLockRegion() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Move Method protected createStandardServiceRegistryBuilder() : StandardServiceRegistryBuilder from class org.hibernate.test.cache.infinispan.AbstractGeneralDataRegionTestCase to protected createStandardServiceRegistryBuilder() : StandardServiceRegistryBuilder from class org.hibernate.test.cache.infinispan.AbstractNonFunctionalTest Remove Attribute Annotation @ClassRule in attribute public infinispanTestIdentifier : InfinispanTestingSetup from class org.hibernate.test.cache.infinispan.tm.JBossStandaloneJtaExampleTest Move Method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object) : boolean from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object) : boolean from class org.hibernate.cache.infinispan.collection.CollectionAccess Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testMultipleEvictAll.withTx.new Callable with s -> {Cache cache=s.getSessionFactory().getCache(); in method public testMultipleEvictAll() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Extract Superclass org.hibernate.test.cache.infinispan.functional.SingleNodeTest from class org.hibernate.test.cache.infinispan.functional.MultiTenancyTestCase Remove Parameter Modifier final in parameter sf : SessionFactory in method private deleteCitizenWithCriteria(tm TransactionManager, sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionReadOnlyAccessTest.Invalidation Remove Method Annotation @Override in method public unlockItem(session SessionImplementor, key Object, lock SoftLock) : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Remove Method Annotation @Override in method public lockItem(session SessionImplementor, key Object, version Object) : SoftLock from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Move Method private putFromLoadTest(useMinimalAPI boolean) : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to protected putFromLoadTest(useMinimalAPI boolean) : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Move Method public lockItem(session SessionImplementor, key Object, version Object) : SoftLock from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public lockItem(session SessionImplementor, key Object, version Object) : SoftLock from class org.hibernate.cache.infinispan.collection.CollectionAccess Rename Class org.hibernate.cache.infinispan.access.NonTxTransactionalAccessDelegate renamed to org.hibernate.cache.infinispan.access.NonTxInvalidationCacheAccessDelegate Move And Rename Class org.hibernate.test.cache.infinispan.functional.bulk.BulkOperationsTestCase moved and renamed to org.hibernate.test.cache.infinispan.functional.BulkOperationsTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase.testAll.withTx.new Callable with s -> {s.createQuery("delete NaturalIdOnManyToOne").executeUpdate(); in method public testAll() : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTest Rename Class org.hibernate.cache.infinispan.access.TransactionalAccessDelegate renamed to org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Change Parameter Type region : NaturalIdRegionImpl to region : CollectionRegionImpl in method package CollectionAccess(region CollectionRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public evict(key Object) : void from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public evict(key Object) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Add Method Annotation @Override in method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object) : boolean from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Add Parameter delegate : AccessDelegate in method package ReadWriteAccess(region NaturalIdRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.naturalid.ReadWriteAccess Extract Superclass org.hibernate.test.cache.infinispan.functional.SingleNodeTest from class org.hibernate.test.cache.infinispan.functional.JndiRegionFactoryTestCase Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase.getCitizenWithCriteria.withTx.new Callable with s -> {State france=getState(s,"Ile de France"); in method private getCitizenWithCriteria(sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTest Move And Rename Method public testUnlockItem() : void from class org.hibernate.test.cache.infinispan.entity.TransactionalExtraAPITestCase to public testUnlockRegion() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Change Return Type Object to AccountHolder in method public getBarney() : AccountHolder from class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.cleanupData.withTx.new Callable with s -> {s.createQuery("delete NaturalIdOnManyToOne").executeUpdate(); in method public cleanupData() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Pull Up Method public getCacheConcurrencyStrategy() : String from class org.hibernate.test.cache.infinispan.functional.cluster.DualNodeTestCase to public getCacheConcurrencyStrategy() : String from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Move Method public testRemove() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public testRemove() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Extract Superclass org.hibernate.test.cache.infinispan.functional.SingleNodeTest from class org.hibernate.test.cache.infinispan.functional.NoTenancyTestCase Extract Superclass org.hibernate.test.cache.infinispan.entity.EntityRegionExtraAPITest from class org.hibernate.test.cache.infinispan.entity.ReadOnlyExtraAPITestCase Remove Attribute Modifier static in attribute public infinispanTestIdentifier : InfinispanTestingSetup from class org.hibernate.test.cache.infinispan.tm.JBossStandaloneJtaExampleTest Add Variable Modifier final in variable item : VersionedItem in method public testStaleWritesLeaveCacheConsistent() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Move Class org.hibernate.test.cache.infinispan.functional.Age moved to org.hibernate.test.cache.infinispan.functional.entities.Age Rename Class org.hibernate.test.cache.infinispan.functional.JndiRegionFactoryTestCase renamed to org.hibernate.test.cache.infinispan.functional.JndiRegionFactoryTest Rename Class org.hibernate.test.cache.infinispan.functional.cluster.EntityCollectionInvalidationTestCase renamed to org.hibernate.test.cache.infinispan.functional.cluster.EntityCollectionInvalidationTest Move Method public lockItem(session SessionImplementor, key Object, version Object) : SoftLock from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public lockItem(session SessionImplementor, key Object, version Object) : SoftLock from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public prepareLocalAccessStrategy() : void from class org.hibernate.test.cache.infinispan.entity.TransactionalExtraAPITestCase to public prepareLocalAccessStrategy() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Add Parameter jtaPlatform : Class<? extends JtaPlatform> in method public buildCustomQueryCacheStandardServiceRegistryBuilder(regionPrefix String, queryCacheName String, jtaPlatform Class<? extends JtaPlatform>) : StandardServiceRegistryBuilder from class org.hibernate.test.cache.infinispan.util.CacheTestUtil Change Parameter Type region : EntityRegionImpl to region : NaturalIdRegionImpl in method package ReadWriteAccess(region NaturalIdRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.naturalid.ReadWriteAccess Move Method protected isUsingInvalidation() : boolean from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to protected isUsingInvalidation() : boolean from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public getPutFromLoadValidator() : PutFromLoadValidator from class org.hibernate.cache.infinispan.entity.EntityRegionImpl to protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Add Parameter cm : EmbeddedCacheManager in method protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Extract Superclass org.hibernate.test.cache.infinispan.functional.SingleNodeTest from class org.hibernate.test.cache.infinispan.functional.bulk.BulkOperationsTestCase Add Parameter delegate : AccessDelegate in method package CollectionAccess(region CollectionRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.collection.CollectionAccess Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.NoTenancyTestCase.testNoTenancy.withTx.new Callable with s -> {Item item2=s.get(Item.class,item.getId()); in method public testNoTenancy() : void from class org.hibernate.test.cache.infinispan.functional.NoTenancyTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.NoTenancyTestCase.testNoTenancy.id.withTx.new Callable with s -> s.persist(item) in method public testNoTenancy() : void from class org.hibernate.test.cache.infinispan.functional.NoTenancyTest Extract Method protected runInvalidation(inTransaction boolean) : void extracted from public checkValid() : boolean in class org.hibernate.cache.infinispan.impl.BaseRegion Remove Parameter tm : TransactionManager in method private doGetCustomer(id Integer, session Session, tm TransactionManager) : Customer from class org.hibernate.test.cache.infinispan.functional.cluster.EntityCollectionInvalidationTestCase Rename Class org.hibernate.test.cache.infinispan.collection.CollectionRegionImplTestCase renamed to org.hibernate.test.cache.infinispan.collection.CollectionRegionImplTest Remove Method Annotation @Override in method public removeAll() : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Pull Up Method public abstract update(session SessionImplementor, key Object, value Object, currentVersion Object, previousVersion Object) : boolean from class org.hibernate.cache.infinispan.access.TransactionalAccessDelegate to public update(session SessionImplementor, key Object, value Object, currentVersion Object, previousVersion Object) : boolean from class org.hibernate.cache.infinispan.access.AccessDelegate Move Method public remove(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public remove(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method private evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to protected evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public testPutFromLoadRemoveDoesNotProduceStaleData() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public testPutFromLoadRemoveDoesNotProduceStaleData() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Move Class org.hibernate.test.cache.infinispan.functional.Citizen moved to org.hibernate.test.cache.infinispan.functional.entities.Citizen Move Method public evictAll() : void from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public evictAll() : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Pull Up Method protected getUseQueryCache() : boolean from class org.hibernate.test.cache.infinispan.functional.cluster.DualNodeTestCase to protected getUseQueryCache() : boolean from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Move And Rename Method private evictOrRemoveTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to protected evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public getCacheKeyId(cacheKey Object) : Object from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public getCacheKeyId(cacheKey Object) : Object from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public testRemoveAll() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public testRemoveAll() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public lockRegion() : SoftLock from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public lockRegion() : SoftLock from class org.hibernate.cache.infinispan.collection.CollectionAccess Add Method Annotation @Override in method public evict(key Object) : void from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Extract Superclass org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest from class org.hibernate.test.cache.infinispan.collection.AbstractTransactionalAccessTestCase Remove Parameter tm : TransactionManager in method private deleteCitizenWithCriteria(tm TransactionManager, sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase Move Method private evictOrRemoveTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to protected evictOrRemoveTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Change Variable Type dao0 : ClassLoaderTestDAO to dao0 : AccountDAO in method public testRefreshAfterExternalChange() : void from class org.hibernate.test.cache.infinispan.functional.cluster.SessionRefreshTest Move Class org.hibernate.test.cache.infinispan.functional.State moved to org.hibernate.test.cache.infinispan.functional.entities.State Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testCollectionCache.withTx.new Callable with s -> {SecondLevelCacheStatistics cStats=stats.getSecondLevelCacheStatistics(Item.class.getName() + ".items"); in method public testCollectionCache() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Move Method public releaseLocalAccessStrategy() : void from class org.hibernate.test.cache.infinispan.collection.TransactionalExtraAPITestCase to public releaseLocalAccessStrategy() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Move Method public testPutFromLoad() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testPutFromLoad() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move And Rename Method package TransactionalAccess(region CollectionRegionImpl) from class org.hibernate.cache.infinispan.collection.TransactionalAccess to package CollectionAccess(region CollectionRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.collection.CollectionAccess Merge Class [org.hibernate.test.cache.infinispan.collection.ReadOnlyTestCase, org.hibernate.test.cache.infinispan.entity.InvalidatedTransactionalTestCase, org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase] merged to org.hibernate.test.cache.infinispan.entity.EntityRegionReadOnlyAccessTest.Invalidation Extract Method protected saveItem(itemId ByRef) : void extracted from public testAddNewOneToManyElementInitFlushLeaveCacheConsistent() : void in class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Move Method public getCacheConcurrencyStrategy() : String from class org.hibernate.test.cache.infinispan.functional.bulk.BulkOperationsTestCase to public getCacheConcurrencyStrategy() : String from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Remove Method Annotation @Override in method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object, minimalPutOverride boolean) : boolean from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Move Method protected isUsingInvalidation() : boolean from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to protected isUsingInvalidation() : boolean from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public testPutFromLoadMinimal() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testPutFromLoadMinimal() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method protected addSettings(settings Map) : void from class org.hibernate.test.cache.infinispan.functional.SingleNodeTestCase to protected addSettings(settings Map) : void from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Extract Variable cacheMode : CacheMode in method public PutFromLoadValidator(cache AdvancedCache, cacheManager EmbeddedCacheManager) from class org.hibernate.cache.infinispan.access.PutFromLoadValidator Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase.saveSomeCitizens.withTx.new Callable with s -> {s.persist(australia); in method private saveSomeCitizens(sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTest Extract Superclass org.hibernate.test.cache.infinispan.functional.SingleNodeTest from class org.hibernate.test.cache.infinispan.functional.EqualityTest Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.InvalidatedTransactionalTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.CollectionRegionReadOnlyAccessTest.Invalidation Move And Rename Method protected getCacheRegionFactory() : Class<? extends RegionFactory> from class org.hibernate.test.cache.infinispan.functional.SingleNodeTestCase to protected getRegionFactoryClass() : Class<? extends RegionFactory> from class org.hibernate.test.cache.infinispan.timestamp.TimestampsRegionImplTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testCollectionCache.withTx.new Callable with s -> {Item loaded=s.load(Item.class,item.getId()); in method public testCollectionCache() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Add Class Modifier static in class org.hibernate.test.cache.infinispan.collection.CollectionRegionReadWriteAccessTest.Invalidation Remove Method Annotation @Override in method public evictAll() : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Move Method protected isSynchronous() : boolean from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to protected isSynchronous() : boolean from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public testGetRegion() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testGetRegion() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.CollectionRegionReadOnlyAccessTest.Invalidation Move Method public unlockItem(session SessionImplementor, key Object, lock SoftLock) : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public unlockItem(session SessionImplementor, key Object, lock SoftLock) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Rename Class org.hibernate.test.cache.infinispan.collection.AbstractReadOnlyAccessTestCase renamed to org.hibernate.test.cache.infinispan.collection.CollectionRegionReadOnlyAccessTest Extract Superclass org.hibernate.test.cache.infinispan.functional.SingleNodeTest from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTestCase Remove Method Annotation @Test in method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.InvalidatedTransactionalTestCase Move Method public prepareResources() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public prepareResources() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Package org.hibernate.test.cache.infinispan.functional.bulk to org.hibernate.test.cache.infinispan.functional Move Method public testAfterInsert() : void from class org.hibernate.test.cache.infinispan.entity.TransactionalExtraAPITestCase to public testAfterInsert() : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionExtraAPITest Rename Class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase renamed to org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTest Move Class org.hibernate.test.cache.infinispan.functional.Contact moved to org.hibernate.test.cache.infinispan.functional.entities.Contact Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.MultiTenancyTestCase.testMultiTenancy.withTx.new Callable with s -> {Item item2=s.get(Item.class,item.getId()); in method public testMultiTenancy() : void from class org.hibernate.test.cache.infinispan.functional.MultiTenancyTest Remove Method Annotation @Override in method public testPutFromLoad() : void from class org.hibernate.test.cache.infinispan.entity.AbstractReadOnlyAccessTestCase Move Method public releaseResources() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public releaseResources() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public testContestedPutFromLoad() : void from class org.hibernate.test.cache.infinispan.entity.AbstractTransactionalAccessTestCase to public testContestedPutFromLoad() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Change Parameter Type holder : Object to holder : AccountHolder in method public getTotalBalance(holder AccountHolder, useRegion boolean) : int from class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Move Class org.hibernate.test.cache.infinispan.functional.Person moved to org.hibernate.test.cache.infinispan.functional.entities.Person Remove Parameter tm : TransactionManager in method private createCustomer(sessionFactory SessionFactory, tm TransactionManager) : IdContainer from class org.hibernate.test.cache.infinispan.functional.cluster.EntityCollectionInvalidationTestCase Change Method Access Modifier private to protected in method protected putFromLoadTest(useMinimalAPI boolean) : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Push Down Method package ReadOnlyAccess(region EntityRegionImpl) from class org.hibernate.cache.infinispan.entity.ReadOnlyAccess to package ReadWriteAccess(region EntityRegionImpl, delegate InvalidationCacheAccessDelegate) from class org.hibernate.cache.infinispan.entity.ReadWriteAccess Move And Rename Class org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase moved and renamed to org.hibernate.test.cache.infinispan.collection.CollectionRegionReadWriteAccessTest.Invalidation Add Parameter jtaPlatform : Class<? extends JtaPlatform> in method public buildBaselineStandardServiceRegistryBuilder(regionPrefix String, regionFactory Class, use2ndLevel boolean, useQueries boolean, jtaPlatform Class<? extends JtaPlatform>) : StandardServiceRegistryBuilder from class org.hibernate.test.cache.infinispan.util.CacheTestUtil Move Method public lockRegion() : SoftLock from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public lockRegion() : SoftLock from class org.hibernate.cache.infinispan.collection.CollectionAccess Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase.evictOrRemoveAllTest.withinTx.new Callable with () -> {if(evict){localAccessStrategy.evictAll(); in method protected evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public getRegion() : CollectionRegion from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public getRegion() : CollectionRegion from class org.hibernate.cache.infinispan.collection.CollectionAccess Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.saveSomeCitizens.withTx.new Callable with s -> {s.persist(australia); in method private saveSomeCitizens() : List from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Add Method Annotation @Override in method public afterUpdate(session SessionImplementor, key Object, value Object, currentVersion Object, previousVersion Object, lock SoftLock) : boolean from class org.hibernate.cache.infinispan.access.TxInvalidationCacheAccessDelegate Remove Parameter Modifier final in parameter sf : SessionFactory in method private saveSomeCitizens(tm TransactionManager, sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase Move Method public prepareLocalAccessStrategy() : void from class org.hibernate.test.cache.infinispan.collection.TransactionalExtraAPITestCase to public prepareLocalAccessStrategy() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Move Method public remove(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public remove(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Remove Method Annotation @Override in method public remove(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Remove Parameter tm : TransactionManager in method private getCitizenWithCriteria(tm TransactionManager, sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase Move Method private createCacheManager() : EmbeddedCacheManager from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to private createCacheManager() : EmbeddedCacheManager from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Remove Class Modifier static in class org.hibernate.test.cache.infinispan.stress.CorrectnessTestCase.TestInfinispanRegionFactory Add Method Annotation @Override in method public remove(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Move Method public lockItem(session SessionImplementor, key Object, version Object) : SoftLock from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public lockItem(session SessionImplementor, key Object, version Object) : SoftLock from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public unlockItem(session SessionImplementor, key Object, lock SoftLock) : void from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public unlockItem(session SessionImplementor, key Object, lock SoftLock) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Rename Class org.hibernate.test.cache.infinispan.AbstractGeneralDataRegionTestCase renamed to org.hibernate.test.cache.infinispan.AbstractGeneralDataRegionTest Add Method Annotation @Override in method public removeAll() : void from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Change Return Type Object to AccountHolder in method public getJones() : AccountHolder from class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Move Method public testGetRegion() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public testGetRegion() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Change Method Access Modifier public to protected in method protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Add Method Annotation @Override in method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object, minimalPutOverride boolean) : boolean from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Remove Method Annotation @Override in method public unlockRegion(lock SoftLock) : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Move Method public testUnlockRegion() : void from class org.hibernate.test.cache.infinispan.collection.TransactionalExtraAPITestCase to public testUnlockRegion() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Move Method protected assertThreadsRanCleanly() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to protected assertThreadsRanCleanly() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Remove Method Modifier abstract in method public abstract insert(session SessionImplementor, key Object, value Object, version Object) : boolean from class org.hibernate.cache.infinispan.access.TransactionalAccessDelegate Remove Class Modifier abstract in class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTestCase Move Method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object, minimalPutOverride boolean) : boolean from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object, minimalPutOverride boolean) : boolean from class org.hibernate.cache.infinispan.collection.CollectionAccess Extract Class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest from class org.hibernate.test.cache.infinispan.functional.bulk.BulkOperationsTestCase Move Method protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Remove Method Annotation @Override in method public evict(key Object) : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Change Parameter Type holder : Object to holder : AccountHolder in method public createAccount(holder AccountHolder, id Integer, openingBalance Integer, branch String) : void from class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.InvalidatedTransactionalTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.CollectionRegionReadOnlyAccessTest.Invalidation Move Class org.hibernate.test.cache.infinispan.collection.TransactionalExtraAPITestCase.MockSoftLock moved to org.hibernate.test.cache.infinispan.AbstractExtraAPITest.MockSoftLock Move Method public removeAll() : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public removeAll() : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.ReadOnlyTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.CollectionRegionReadOnlyAccessTest.Invalidation Rename Class org.hibernate.test.cache.infinispan.AbstractNonFunctionalTestCase renamed to org.hibernate.test.cache.infinispan.AbstractNonFunctionalTest Change Method Access Modifier private to protected in method protected evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public testEvict() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testEvict() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Add Method Annotation @Test in method public testContestedPutFromLoad() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Extract Method protected saveItem(itemId ByRef) : void extracted from public testAddNewOneToManyElementNoInitFlushInitLeaveCacheConsistent() : void in class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Extract Method protected generateNextKey() : Object extracted from private putFromLoadTest(useMinimalAPI boolean) : void in class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Rename Class org.hibernate.test.cache.infinispan.query.QueryRegionImplTestCase renamed to org.hibernate.test.cache.infinispan.query.QueryRegionImplTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTestCase.testInsertDeleteEntity.withTx.new Callable with s -> s.persist(item) in method public testInsertDeleteEntity() : void from class org.hibernate.test.cache.infinispan.functional.ReadOnlyTest Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.InvalidatedTransactionalTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionReadOnlyAccessTest.Invalidation Push Down Method package ReadOnlyAccess(region EntityRegionImpl) from class org.hibernate.cache.infinispan.entity.ReadOnlyAccess to package ReadWriteAccess(region NaturalIdRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.naturalid.ReadWriteAccess Remove Method Modifier abstract in method public abstract update(session SessionImplementor, key Object, value Object, currentVersion Object, previousVersion Object) : boolean from class org.hibernate.cache.infinispan.access.TransactionalAccessDelegate Rename Class org.hibernate.test.cache.infinispan.collection.AbstractTransactionalAccessTestCase renamed to org.hibernate.test.cache.infinispan.collection.CollectionRegionReadWriteAccessTest Move Method public getPutFromLoadValidator() : PutFromLoadValidator from class org.hibernate.cache.infinispan.collection.CollectionRegionImpl to protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Move Method public testAfterUpdate() : void from class org.hibernate.test.cache.infinispan.entity.TransactionalExtraAPITestCase to public testAfterUpdate() : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionExtraAPITest Move Attribute private region : CollectionRegionImpl from class org.hibernate.cache.infinispan.collection.TransactionalAccess to private region : CollectionRegionImpl from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public testLockItem() : void from class org.hibernate.test.cache.infinispan.collection.TransactionalExtraAPITestCase to public testLockItem() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Move Method public abstract testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public abstract testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testNaturalIdLoaderCached.citizen.withTx.new Callable with s -> {State france=ReadWriteTest.this.getState(s,"Ile de France"); in method public testNaturalIdLoaderCached() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Add Method Annotation @Override in method public unlockItem(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Move Method public testLockRegion() : void from class org.hibernate.test.cache.infinispan.collection.TransactionalExtraAPITestCase to public testLockRegion() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest

feifeiniu-se commented 2 years ago

That's great! I will update my project. Thanks!

tsantalis commented 2 years ago

Sorry, I am in the middle of a feature and I still have some uncommitted code. I was able to replicate the first bug after undoing my local uncommitted changes. I will look into it.

2022-04-04 05:35:37 INFO Processing tmp1/hibernate-orm 2dc0adb893ebebd8fcf14a15ef0690c1d26291cf ... 2022-04-04 05:35:37 INFO Processing tmp1/hibernate-orm 3689924d74a000cc2319a434bf380862692c9b28 ... 2022-04-04 05:36:14 WARN Ignored revision 3689924d74a000cc2319a434bf380862692c9b28 due to error java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 20 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3319) at java.base/java.lang.String.substring(String.java:1874) at gr.uom.java.xmi.decomposition.UMLOperationBodyMapper.onlyDifferentInvoker(UMLOperationBodyMapper.java:4237) at gr.uom.java.xmi.decomposition.UMLOperationBodyMapper.processAnonymousAndLambdas(UMLOperationBodyMapper.java:3847) at gr.uom.java.xmi.decomposition.UMLOperationBodyMapper.findReplacementsWithExactMatching(UMLOperationBodyMapper.java:2856) at gr.uom.java.xmi.decomposition.UMLOperationBodyMapper.processLeaves(UMLOperationBodyMapper.java:1800) at gr.uom.java.xmi.decomposition.UMLOperationBodyMapper.(UMLOperationBodyMapper.java:272) at gr.uom.java.xmi.diff.UMLModelDiff.checkForOperationMoves(UMLModelDiff.java:2894) at gr.uom.java.xmi.diff.UMLModelDiff.checkForOperationMovesIncludingRemovedAndAddedClasses(UMLModelDiff.java:2684) at gr.uom.java.xmi.diff.UMLModelDiff.getRefactorings(UMLModelDiff.java:2009) at org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl.detectRefactorings(GitHistoryRefactoringMinerImpl.java:151) at org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl.detectAtCommit(GitHistoryRefactoringMinerImpl.java:569) at org.refactoringminer.test.TestBuilder.lambda$0(TestBuilder.java:121) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Commits: 0 Errors: 1 Total TP: 0 FP: 0 FN: 0 TN: 0 Unk.: 0 Prec.: NaN Recall: NaN error at https://github.com/hibernate/hibernate-orm/commit/3689924d74a000cc2319a434bf380862692c9b28: java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 20

tsantalis commented 2 years ago

https://github.com/apache/hbase/commit/bc8ebc6f72fe0ed4f004d07400f38845def0ca17 had no exception with the latest commit of the project.

2022-04-04 20:28:05 INFO Processing tmp1/hbase 590f02aad013a2955b82a3809202331b86bb2f12 ... 2022-04-04 20:28:05 INFO Processing tmp1/hbase bc8ebc6f72fe0ed4f004d07400f38845def0ca17 ... Commits: 1 Errors: 0 Total TP: 0 FP: 190 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN EM TP: 0 FP: 10 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RM TP: 0 FP: 4 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN EAMM TP: 0 FP: 4 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RV TP: 0 FP: 5 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RP TP: 0 FP: 4 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RA TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CRT TP: 0 FP: 8 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CVT TP: 0 FP: 39 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CPT TP: 0 FP: 64 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CAT TP: 0 FP: 9 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN AMA TP: 0 FP: 38 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN AP TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RP TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN EA TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN at https://github.com/apache/hbase/commit/bc8ebc6f72fe0ed4f004d07400f38845def0ca17 false positives Extract Method public createRegionAndWAL(info HRegionInfo, rootDir Path, conf Configuration, htd TableDescriptor, initialize boolean) : HRegion extracted from public createRegionAndWAL(info HRegionInfo, rootDir Path, conf Configuration, htd HTableDescriptor, initialize boolean) : HRegion in class org.apache.hadoop.hbase.HBaseTestingUtility Extract And Move Method public getDescriptor() : TableDescriptor extracted from public predicateTableAvailable(tableName TableName) : Waiter.Predicate in class org.apache.hadoop.hbase.HBaseTestingUtility & moved to class org.apache.hadoop.hbase.rest.client.RemoteHTable Add Method Annotation @Deprecated in method public disableTables(pattern Pattern) : HTableDescriptor[] from class org.apache.hadoop.hbase.client.Admin Change Attribute Type hTableDescriptor : HTableDescriptor to tableDesctiptor : TableDescriptor in class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.TableInfo Change Parameter Type desc : HTableDescriptor to td : TableDescriptor in method public createPreSplitLoadTestTable(conf Configuration, td TableDescriptor, cds ColumnFamilyDescriptor[], splitter SplitAlgorithm, numRegionsPerServer int) : int from class org.apache.hadoop.hbase.HBaseTestingUtility Change Variable Type bHdt : HTableDescriptor to bHdt : TableDescriptor in method public testChangeTable() : void from class org.apache.hadoop.hbase.client.TestReplicaWithCluster Change Parameter Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method protected instantiateHStore(family ColumnFamilyDescriptor) : HStore from class org.apache.hadoop.hbase.TestIOFencing.BlockCompactionsInCompletionRegion Change Parameter Type desc : HTableDescriptor to desc : TableDescriptor in method public createTable(desc TableDescriptor) : void from class org.apache.hadoop.hbase.client.Admin Change Parameter Type column : HColumnDescriptor to column : ColumnFamilyDescriptor in method public publishReadFailure(serverName ServerName, region HRegionInfo, column ColumnFamilyDescriptor, e Exception) : void from class org.apache.hadoop.hbase.tool.Canary.Sink Change Parameter Type desc : HTableDescriptor to desc : TableDescriptor in method public createTableAsync(desc TableDescriptor, splitKeys byte[][]) : Future from class org.apache.hadoop.hbase.client.HBaseAdmin Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public CompactionBlockerRegion(tableDir Path, log WAL, fs FileSystem, confParam Configuration, info HRegionInfo, htd TableDescriptor, rsServices RegionServerServices) from class org.apache.hadoop.hbase.TestIOFencing.CompactionBlockerRegion Change Parameter Type desc : HTableDescriptor to desc : TableDescriptor in method public createTable(desc TableDescriptor, startKey byte[], endKey byte[], numRegions int) : void from class org.apache.hadoop.hbase.client.Admin Change Attribute Type compressionDetails : Function<HColumnDescriptor,String> to compressionDetails : Function<ColumnFamilyDescriptor,String> in class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2 Add Parameter cds : ColumnFamilyDescriptor[] in method public createPreSplitLoadTestTable(conf Configuration, td TableDescriptor, cds ColumnFamilyDescriptor[], splitter SplitAlgorithm, numRegionsPerServer int) : int from class org.apache.hadoop.hbase.HBaseTestingUtility Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method package newHRegion(tableDir Path, wal WAL, fs FileSystem, conf Configuration, regionInfo HRegionInfo, htd TableDescriptor, rsServices RegionServerServices) : HRegion from class org.apache.hadoop.hbase.regionserver.HRegion Change Parameter Type hTableDescriptor : HTableDescriptor to hTableDescriptor : TableDescriptor in method public createHRegion(info HRegionInfo, rootDir Path, conf Configuration, hTableDescriptor TableDescriptor, wal WAL, initialize boolean) : HRegion from class org.apache.hadoop.hbase.regionserver.HRegion Change Parameter Type column : HColumnDescriptor to column : ColumnFamilyDescriptor in method public publishWriteTiming(serverName ServerName, region HRegionInfo, column ColumnFamilyDescriptor, msTime long) : void from class org.apache.hadoop.hbase.tool.Canary.StdOutSink Change Parameter Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method public determineTTLFromFamily(family ColumnFamilyDescriptor) : long from class org.apache.hadoop.hbase.regionserver.HStore Change Parameter Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method protected BlockCompactionsInCompletionHStore(region HRegion, family ColumnFamilyDescriptor, confParam Configuration) from class org.apache.hadoop.hbase.TestIOFencing.BlockCompactionsInCompletionHStore Change Parameter Type desc : HTableDescriptor to desc : TableDescriptor in method package getConstraints(desc TableDescriptor, classloader ClassLoader) : List<? extends Constraint> from class org.apache.hadoop.hbase.constraint.Constraints Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public ErrorThrowingHRegion(tableDir Path, wal WAL, fs FileSystem, confParam Configuration, regionInfo HRegionInfo, htd TableDescriptor, rsServices RegionServerServices) from class org.apache.hadoop.hbase.regionserver.TestRegionServerAbort.ErrorThrowingHRegion Change Variable Type singleTableDescriptor : ArrayList to singleTableDescriptor : ArrayList in method public configureIncrementalLoadMap(job Job, tableDescriptor TableDescriptor) : void from class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2 Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public warmupHRegion(info HRegionInfo, htd TableDescriptor, wal WAL, conf Configuration, rsServices RegionServerServices, reporter CancelableProgressable) : void from class org.apache.hadoop.hbase.regionserver.HRegion Change Variable Type htd : HTableDescriptor to htd : TableDescriptor in method public evaluate() : boolean from class org.apache.hadoop.hbase.HBaseTestingUtility.predicateTableAvailable.new ExplainingPredicate Add Method Annotation @Override in method public getValue(key String) : String from class org.apache.hadoop.hbase.HTableDescriptor Change Variable Type tDesc : HTableDescriptor to tDesc : TableDescriptor in method protected createSubmittableJob(conf Configuration, args String[]) : Job from class org.apache.hadoop.hbase.mapreduce.ImportTsv Add Method Annotation @Deprecated in method public createLocalHRegion(info HRegionInfo, desc HTableDescriptor, wal WAL) : HRegion from class org.apache.hadoop.hbase.HBaseTestingUtility Change Variable Type fam : HColumnDescriptor to fam : ColumnFamilyDescriptor in method private checkEncryption() : void from class org.apache.hadoop.hbase.regionserver.HRegion Change Variable Type tableDesc : HTableDescriptor to tableDesc : TableDescriptor in method public read() : Void from class org.apache.hadoop.hbase.tool.Canary.RegionTask Rename Variable hdt : HTableDescriptor to td : TableDescriptor in method public testChangeTable() : void from class org.apache.hadoop.hbase.client.TestReplicaWithCluster Change Variable Type tableDesc : HTableDescriptor to tableDesc : TableDescriptor in method public getTableName() : String from class org.apache.hadoop.hbase.regionserver.MetricsRegionWrapperImpl Change Variable Type hdt : HTableDescriptor to td : TableDescriptor in method public testChangeTable() : void from class org.apache.hadoop.hbase.client.TestReplicaWithCluster Change Parameter Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method public ScanInfo(conf Configuration, family ColumnFamilyDescriptor, ttl long, timeToPurgeDeletes long, comparator CellComparator) from class org.apache.hadoop.hbase.regionserver.ScanInfo Rename Method public getFamily() : HColumnDescriptor renamed to public getColumnFamilyDescriptor() : ColumnFamilyDescriptor in class org.apache.hadoop.hbase.regionserver.HStore Add Method Annotation @Deprecated in method public listTables(regex String, includeSysTables boolean) : HTableDescriptor[] from class org.apache.hadoop.hbase.client.Admin Add Method Annotation @Deprecated in method public listTableDescriptorsByNamespace(name String) : HTableDescriptor[] from class org.apache.hadoop.hbase.client.Admin Change Variable Type c : HColumnDescriptor to c : ColumnFamilyDescriptor in method package splitScan(regionList LinkedList<Pair<byte[],byte[]>>, connection Connection, tableName TableName, splitAlgo SplitAlgorithm) : LinkedList<Pair<byte[],byte[]>> from class org.apache.hadoop.hbase.util.RegionSplitter Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public HeartbeatHRegion(tableDir Path, wal WAL, fs FileSystem, confParam Configuration, regionInfo HRegionInfo, htd TableDescriptor, rsServices RegionServerServices) from class org.apache.hadoop.hbase.regionserver.TestScannerHeartbeatMessages.HeartbeatHRegion Change Parameter Type tableDescriptor : HTableDescriptor to tableDescriptor : TableDescriptor in method public configureIncrementalLoadMap(job Job, tableDescriptor TableDescriptor) : void from class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2 Add Method Annotation @Deprecated in method public getTableDescriptorsByTableName(tableNames List) : HTableDescriptor[] from class org.apache.hadoop.hbase.client.Admin Change Return Type HColumnDescriptor to ColumnFamilyDescriptor in method public getColumnFamilyDescriptor() : ColumnFamilyDescriptor from class org.apache.hadoop.hbase.regionserver.Store Change Variable Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method private validateFamiliesInHFiles(table Table, queue Deque, silence boolean) : void from class org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles Change Variable Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method public computeHDFSBlocksDistribution(conf Configuration, tableDescriptor TableDescriptor, regionInfo HRegionInfo, tablePath Path) : HDFSBlocksDistribution from class org.apache.hadoop.hbase.regionserver.HRegion Change Parameter Type tableDescriptor : HTableDescriptor to tableDescriptor : TableDescriptor in method public configureIncrementalLoad(job Job, tableDescriptor TableDescriptor, regionLocator RegionLocator) : void from class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2 Extract Method public createRegionAndWAL(info HRegionInfo, rootDir Path, conf Configuration, htd TableDescriptor) : HRegion extracted from public createRegionAndWAL(info HRegionInfo, rootDir Path, conf Configuration, htd HTableDescriptor) : HRegion in class org.apache.hadoop.hbase.HBaseTestingUtility Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public openHRegion(conf Configuration, fs FileSystem, rootDir Path, info HRegionInfo, htd TableDescriptor, wal WAL, rsServices RegionServerServices, reporter CancelableProgressable) : HRegion from class org.apache.hadoop.hbase.regionserver.HRegion Change Attribute Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in class org.apache.hadoop.hbase.regionserver.HStore Change Variable Type tableDesc : HTableDescriptor to tableDesc : TableDescriptor in method private write() : Void from class org.apache.hadoop.hbase.tool.Canary.RegionTask Add Method Annotation @Deprecated in method public enableTables(pattern Pattern) : HTableDescriptor[] from class org.apache.hadoop.hbase.client.Admin Change Parameter Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method public createEncryptionContext(conf Configuration, family ColumnFamilyDescriptor) : Encryption.Context from class org.apache.hadoop.hbase.security.EncryptionUtil Change Variable Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method public preFlushScannerOpen(c ObserverContext, store Store, scanners List, s InternalScanner) : InternalScanner from class org.apache.hadoop.hbase.util.TestCoprocessorScanPolicy.ScanObserver Change Parameter Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method protected instantiateHStore(family ColumnFamilyDescriptor) : HStore from class org.apache.hadoop.hbase.regionserver.HRegion Add Method Annotation @Deprecated in method public createTable(desc HTableDescriptor, splitKeys byte[][]) : void from class org.apache.hadoop.hbase.client.Admin Add Method Annotation @Deprecated in method public getTableDescriptors(names List) : HTableDescriptor[] from class org.apache.hadoop.hbase.client.Admin Extract Method public createTable(htd TableDescriptor, families byte[][], c Configuration) : Table extracted from public createTable(htd HTableDescriptor, families byte[][], c Configuration) : Table in class org.apache.hadoop.hbase.HBaseTestingUtility Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public HRegionWithSeqId(tableDir Path, wal WAL, fs FileSystem, confParam Configuration, regionInfo HRegionInfo, htd TableDescriptor, rsServices RegionServerServices) from class org.apache.hadoop.hbase.regionserver.TestHRegion.HRegionWithSeqId Add Method Annotation @Deprecated in method public listTables(pattern Pattern, includeSysTables boolean) : HTableDescriptor[] from class org.apache.hadoop.hbase.client.Admin Add Method Annotation @Deprecated in method public createPreSplitLoadTestTable(conf Configuration, desc HTableDescriptor, hcds HColumnDescriptor[], numRegionsPerServer int) : int from class org.apache.hadoop.hbase.HBaseTestingUtility Change Parameter Type column : HColumnDescriptor to column : ColumnFamilyDescriptor in method public publishWriteTiming(serverName ServerName, region HRegionInfo, column ColumnFamilyDescriptor, msTime long) : void from class org.apache.hadoop.hbase.tool.Canary.Sink Change Parameter Type desc : HTableDescriptor to desc : TableDescriptor in method public CreateTableFuture(admin HBaseAdmin, desc TableDescriptor, splitKeys byte[][], response CreateTableResponse) from class org.apache.hadoop.hbase.client.HBaseAdmin.CreateTableFuture Change Attribute Type dataBlockEncodingDetails : Function<HColumnDescriptor,String> to dataBlockEncodingDetails : Function<ColumnFamilyDescriptor,String> in class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2 Change Variable Type nHdt : HTableDescriptor to nHdt : TableDescriptor in method public testChangeTable() : void from class org.apache.hadoop.hbase.client.TestReplicaWithCluster Add Method Annotation @Deprecated in method public createTestRegion(tableName String, cd HColumnDescriptor) : HRegion from class org.apache.hadoop.hbase.HBaseTestingUtility Add Method Annotation @Deprecated in method public createTable(htd HTableDescriptor, splitRows byte[][]) : Table from class org.apache.hadoop.hbase.HBaseTestingUtility Change Variable Type htd : HTableDescriptor to td : TableDescriptor in method public testSnapshotHFileArchiving() : void from class org.apache.hadoop.hbase.master.cleaner.TestSnapshotFromMaster Add Method Annotation @Deprecated in method public getTableDescriptor(tableName TableName) : HTableDescriptor from class org.apache.hadoop.hbase.client.Admin Extract Method public modifyTableSync(admin Admin, desc TableDescriptor) : void extracted from public modifyTableSync(admin Admin, desc HTableDescriptor) : void in class org.apache.hadoop.hbase.HBaseTestingUtility Change Variable Type htd : HTableDescriptor to td : TableDescriptor in method public createTestRegion(tableName String, cd ColumnFamilyDescriptor) : HRegion from class org.apache.hadoop.hbase.HBaseTestingUtility Change Parameter Type desc : HTableDescriptor to desc : TableDescriptor in method public createTableAsync(desc TableDescriptor, splitKeys byte[][]) : Future from class org.apache.hadoop.hbase.client.Admin Change Variable Type hcd : HColumnDescriptor to hcd : ColumnFamilyDescriptor in method public createVisibilityLabelFilter(region Region, authorizations Authorizations) : Filter from class org.apache.hadoop.hbase.security.visibility.VisibilityUtils Change Variable Type desc : HTableDescriptor to builder : TableDescriptorBuilder in method package createPresplitTable(tableName TableName, splitAlgo SplitAlgorithm, columnFamilies String[], conf Configuration) : void from class org.apache.hadoop.hbase.util.RegionSplitter Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public BlockCompactionsInPrepRegion(tableDir Path, log WAL, fs FileSystem, confParam Configuration, info HRegionInfo, htd TableDescriptor, rsServices RegionServerServices) from class org.apache.hadoop.hbase.TestIOFencing.BlockCompactionsInPrepRegion Extract And Move Method public getDescriptor() : TableDescriptor extracted from public predicateTableAvailable(tableName TableName) : Waiter.Predicate in class org.apache.hadoop.hbase.HBaseTestingUtility & moved to class org.apache.hadoop.hbase.client.HTableWrapper Change Return Type HTableDescriptor to TableDescriptor in method protected getTableDescriptor() : TableDescriptor from class org.apache.hadoop.hbase.client.HBaseAdmin.CreateTableFuture Add Method Annotation @Deprecated in method public createLocalHRegion(desc HTableDescriptor, startKey byte[], endKey byte[]) : HRegion from class org.apache.hadoop.hbase.HBaseTestingUtility Add Method Annotation @Deprecated in method public modifyTableAsync(tableName TableName, htd HTableDescriptor) : Future from class org.apache.hadoop.hbase.client.Admin Change Attribute Type bloomTypeDetails : Function<HColumnDescriptor,String> to bloomTypeDetails : Function<ColumnFamilyDescriptor,String> in class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2 Change Variable Type column : HColumnDescriptor to column : ColumnFamilyDescriptor in method private write() : Void from class org.apache.hadoop.hbase.tool.Canary.RegionTask Change Variable Type tableDesc : HTableDescriptor to tableDesc : TableDescriptor in method public getNamespace() : String from class org.apache.hadoop.hbase.regionserver.MetricsRegionWrapperImpl Add Method Annotation @Deprecated in method public createRegionAndWAL(info HRegionInfo, rootDir Path, conf Configuration, htd HTableDescriptor, initialize boolean) : HRegion from class org.apache.hadoop.hbase.HBaseTestingUtility Add Method Annotation @Deprecated in method public createTable(htd HTableDescriptor, families byte[][], splitKeys byte[][], c Configuration) : Table from class org.apache.hadoop.hbase.HBaseTestingUtility Change Parameter Type allTables : List to allTables : List in method package serializeColumnFamilyAttribute(fn Function<ColumnFamilyDescriptor,String>, allTables List) : String from class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2 Change Variable Type desc : HTableDescriptor to desc : TableDescriptor in method private verifyRegionServerUpdated(plan FavoredNodesPlan) : void from class org.apache.hadoop.hbase.master.TestRegionPlacement Remove Parameter hcds : HColumnDescriptor[] in method public createPreSplitLoadTestTable(conf Configuration, desc HTableDescriptor, hcds HColumnDescriptor[], splitter SplitAlgorithm, numRegionsPerServer int) : int from class org.apache.hadoop.hbase.HBaseTestingUtility Change Return Type HTableDescriptor to TableDescriptor in method public getTableDescriptor() : TableDescriptor from class org.apache.hadoop.hbase.regionserver.Region Extract And Move Method public createTable(desc HTableDescriptor, splitKeys byte[][]) : void extracted from public createPreSplitLoadTestTable(conf Configuration, desc HTableDescriptor, hcds HColumnDescriptor[], splitter SplitAlgorithm, numRegionsPerServer int) : int in class org.apache.hadoop.hbase.HBaseTestingUtility & moved to class org.apache.hadoop.hbase.client.Admin Change Parameter Type desc : HTableDescriptor to desc : TableDescriptor in method public createTable(desc TableDescriptor) : void from class org.apache.hadoop.hbase.client.HBaseAdmin Change Parameter Type column : HColumnDescriptor to column : ColumnFamilyDescriptor in method public publishReadTiming(serverName ServerName, region HRegionInfo, column ColumnFamilyDescriptor, msTime long) : void from class org.apache.hadoop.hbase.tool.Canary.Sink Change Parameter Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method protected HStore(region HRegion, family ColumnFamilyDescriptor, confParam Configuration) from class org.apache.hadoop.hbase.regionserver.HStore Add Method Annotation @Deprecated in method public createMultiRegionsInMeta(conf Configuration, htd HTableDescriptor, startKeys byte[][]) : List from class org.apache.hadoop.hbase.HBaseTestingUtility Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public BlockCompactionsInCompletionRegion(tableDir Path, log WAL, fs FileSystem, confParam Configuration, info HRegionInfo, htd TableDescriptor, rsServices RegionServerServices) from class org.apache.hadoop.hbase.TestIOFencing.BlockCompactionsInCompletionRegion Add Method Annotation @Deprecated in method public getHTableDescriptor() : HTableDescriptor from class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.TableInfo Extract Method public createLocalHRegion(info HRegionInfo, desc TableDescriptor, wal WAL) : HRegion extracted from public createLocalHRegion(info HRegionInfo, desc HTableDescriptor, wal WAL) : HRegion in class org.apache.hadoop.hbase.HBaseTestingUtility Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public HRegion(tableDir Path, wal WAL, fs FileSystem, confParam Configuration, regionInfo HRegionInfo, htd TableDescriptor, rsServices RegionServerServices) from class org.apache.hadoop.hbase.regionserver.HRegion Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public openHRegion(info HRegionInfo, htd TableDescriptor, wal WAL, conf Configuration, rsServices RegionServerServices, reporter CancelableProgressable) : HRegion from class org.apache.hadoop.hbase.regionserver.HRegion Rename Parameter hTableDescriptor : HTableDescriptor to tableDesctiptor : TableDescriptor in method public TableInfo(tableDesctiptor TableDescriptor, regionLocator RegionLocator) from class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.TableInfo Change Parameter Type tableDescriptor : HTableDescriptor to tableDescriptor : TableDescriptor in method public computeHDFSBlocksDistribution(conf Configuration, tableDescriptor TableDescriptor, regionInfo HRegionInfo) : HDFSBlocksDistribution from class org.apache.hadoop.hbase.regionserver.HRegion Change Parameter Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method public MobCacheConfig(conf Configuration, family ColumnFamilyDescriptor) from class org.apache.hadoop.hbase.mob.MobCacheConfig Change Variable Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method private initializeStores(reporter CancelableProgressable, status MonitoredTask) : long from class org.apache.hadoop.hbase.regionserver.HRegion Add Method Annotation @Deprecated in method public listTables(pattern Pattern) : HTableDescriptor[] from class org.apache.hadoop.hbase.client.Admin Rename Attribute hTableDescriptor : HTableDescriptor to tableDesctiptor : TableDescriptor in class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.TableInfo Change Attribute Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in class org.apache.hadoop.hbase.regionserver.HMobStore Change Parameter Type fn : Function<HColumnDescriptor,String> to fn : Function<ColumnFamilyDescriptor,String> in method package serializeColumnFamilyAttribute(fn Function<ColumnFamilyDescriptor,String>, allTables List) : String from class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2 Change Parameter Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method public createWriter(conf Configuration, fs FileSystem, family ColumnFamilyDescriptor, path Path, maxKeyCount long, compression Compression.Algorithm, cacheConfig CacheConfig, cryptoContext Encryption.Context, checksumType ChecksumType, bytesPerChecksum int, blocksize int, bloomType BloomType, isCompaction boolean) : StoreFileWriter from class org.apache.hadoop.hbase.mob.MobUtils Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public openHRegion(info HRegionInfo, htd TableDescriptor, wal WAL, conf Configuration) : HRegion from class org.apache.hadoop.hbase.regionserver.HRegion Change Variable Type htd : HTableDescriptor to htd : TableDescriptor in method package splitScan(regionList LinkedList<Pair<byte[],byte[]>>, connection Connection, tableName TableName, splitAlgo SplitAlgorithm) : LinkedList<Pair<byte[],byte[]>> from class org.apache.hadoop.hbase.util.RegionSplitter Rename Variable htd : HTableDescriptor to td : TableDescriptor in method public createTestRegion(tableName String, cd ColumnFamilyDescriptor) : HRegion from class org.apache.hadoop.hbase.HBaseTestingUtility Change Variable Type column : HColumnDescriptor to column : ColumnFamilyDescriptor in method public read() : Void from class org.apache.hadoop.hbase.tool.Canary.RegionTask Change Variable Type confirmedHtd : HTableDescriptor to confirmedHtd : TableDescriptor in method public testGetTableDescriptor() : void from class org.apache.hadoop.hbase.client.TestAdmin1 Rename Variable desc : HTableDescriptor to builder : TableDescriptorBuilder in method package createPresplitTable(tableName TableName, splitAlgo SplitAlgorithm, columnFamilies String[], conf Configuration) : void from class org.apache.hadoop.hbase.util.RegionSplitter Extract Method public createTable(htd TableDescriptor, splitRows byte[][]) : Table extracted from public createTable(htd HTableDescriptor, splitRows byte[][]) : Table in class org.apache.hadoop.hbase.HBaseTestingUtility Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public getSplitPolicyClass(htd TableDescriptor, conf Configuration) : Class<? extends RegionSplitPolicy> from class org.apache.hadoop.hbase.regionserver.RegionSplitPolicy Rename Variable htd : HTableDescriptor to td : TableDescriptor in method public testSnapshotHFileArchiving() : void from class org.apache.hadoop.hbase.master.cleaner.TestSnapshotFromMaster Add Method Annotation @Deprecated in method public disableTables(regex String) : HTableDescriptor[] from class org.apache.hadoop.hbase.client.Admin Change Variable Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method public preCompactScannerOpen(c ObserverContext, store Store, scanners List<? extends KeyValueScanner>, scanType ScanType, earliestPutTs long, s InternalScanner) : InternalScanner from class org.apache.hadoop.hbase.util.TestCoprocessorScanPolicy.ScanObserver Change Variable Type desc : HTableDescriptor to desc : TableDescriptor in method public start(environment CoprocessorEnvironment) : void from class org.apache.hadoop.hbase.constraint.ConstraintProcessor Change Variable Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method protected createSubmittableJob(conf Configuration, args String[]) : Job from class org.apache.hadoop.hbase.mapreduce.ImportTsv Add Method Annotation @Deprecated in method public listTables(regex String) : HTableDescriptor[] from class org.apache.hadoop.hbase.client.Admin Change Parameter Type column : HColumnDescriptor to column : ColumnFamilyDescriptor in method public publishReadFailure(serverName ServerName, region HRegionInfo, column ColumnFamilyDescriptor, e Exception) : void from class org.apache.hadoop.hbase.tool.Canary.StdOutSink Extract Method public createMultiRegionsInMeta(conf Configuration, htd TableDescriptor, startKeys byte[][]) : List extracted from public createMultiRegionsInMeta(conf Configuration, htd HTableDescriptor, startKeys byte[][]) : List in class org.apache.hadoop.hbase.HBaseTestingUtility Change Return Type HTableDescriptor to TableDescriptor in method protected getTableDescriptor() : TableDescriptor from class org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture Rename Parameter desc : HTableDescriptor to td : TableDescriptor in method public createPreSplitLoadTestTable(conf Configuration, td TableDescriptor, cds ColumnFamilyDescriptor[], splitter SplitAlgorithm, numRegionsPerServer int) : int from class org.apache.hadoop.hbase.HBaseTestingUtility Rename Method public getTableDesc() : HTableDescriptor renamed to public getTableDescriptor() : TableDescriptor in class org.apache.hadoop.hbase.regionserver.HRegion Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public MockHRegion(tableDir Path, log WAL, fs FileSystem, conf Configuration, regionInfo HRegionInfo, htd TableDescriptor, rsServices RegionServerServices) from class org.apache.hadoop.hbase.regionserver.TestAtomicOperation.MockHRegion Rename Parameter hcd : HColumnDescriptor to cd : HColumnDescriptor in method public createTestRegion(tableName String, cd HColumnDescriptor) : HRegion from class org.apache.hadoop.hbase.HBaseTestingUtility Add Method Annotation @Deprecated in method public createTableAsync(desc HTableDescriptor, splitKeys byte[][]) : Future from class org.apache.hadoop.hbase.client.Admin Change Parameter Type hTableDesc : HTableDescriptor to tableDesc : TableDescriptor in method public buildModifyTableRequest(tableName TableName, tableDesc TableDescriptor, nonceGroup long, nonce long) : ModifyTableRequest from class org.apache.hadoop.hbase.shaded.protobuf.RequestConverter Rename Variable htd : HTableDescriptor to td : TableDescriptor in method package getTableDescriptor(tableName TableName, connection Connection, rpcCallerFactory RpcRetryingCallerFactory, rpcControllerFactory RpcControllerFactory, operationTimeout int, rpcTimeout int) : TableDescriptor from class org.apache.hadoop.hbase.client.HBaseAdmin Add Method Annotation @Deprecated in method public createTable(desc HTableDescriptor, startKey byte[], endKey byte[], numRegions int) : void from class org.apache.hadoop.hbase.client.Admin Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public getFlushPolicyClass(htd TableDescriptor, conf Configuration) : Class<? extends FlushPolicy> from class org.apache.hadoop.hbase.regionserver.FlushPolicyFactory Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public openHRegion(conf Configuration, fs FileSystem, rootDir Path, info HRegionInfo, htd TableDescriptor, wal WAL) : HRegion from class org.apache.hadoop.hbase.regionserver.HRegion Change Return Type HColumnDescriptor to ColumnFamilyDescriptor in method public getColumnFamilyDescriptor() : ColumnFamilyDescriptor from class org.apache.hadoop.hbase.regionserver.HStore Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public openHRegion(rootDir Path, info HRegionInfo, htd TableDescriptor, wal WAL, conf Configuration) : HRegion from class org.apache.hadoop.hbase.regionserver.HRegion Change Parameter Type desc : HTableDescriptor to desc : TableDescriptor in method public createTable(desc TableDescriptor, splitKeys byte[][]) : void from class org.apache.hadoop.hbase.client.HBaseAdmin Change Variable Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method public preStoreScannerOpen(c ObserverContext, store Store, scan Scan, targetCols NavigableSet<byte[]>, s KeyValueScanner, readPt long) : KeyValueScanner from class org.apache.hadoop.hbase.util.TestCoprocessorScanPolicy.ScanObserver Change Attribute Type htableDescriptor : HTableDescriptor to htableDescriptor : TableDescriptor in class org.apache.hadoop.hbase.regionserver.HRegion Add Method Annotation @Deprecated in method public modifyTableSync(admin Admin, desc HTableDescriptor) : void from class org.apache.hadoop.hbase.HBaseTestingUtility Add Method Annotation @Deprecated in method public getTableDescriptor() : HTableDescriptor from class org.apache.hadoop.hbase.client.Table Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public CompactionCompletionNotifyingRegion(tableDir Path, log WAL, fs FileSystem, confParam Configuration, info HRegionInfo, htd TableDescriptor, rsServices RegionServerServices) from class org.apache.hadoop.hbase.coprocessor.TestRegionObserverScannerOpenHook.CompactionCompletionNotifyingRegion Rename Method public getTableDesc() : HTableDescriptor renamed to public getTableDescriptor() : TableDescriptor in class org.apache.hadoop.hbase.regionserver.Region Change Variable Type desc : HTableDescriptor to desc : TableDescriptor in method protected configureForRegion(region HRegion) : void from class org.apache.hadoop.hbase.regionserver.IncreasingToUpperBoundRegionSplitPolicy Add Method Annotation @Deprecated in method public deleteTables(pattern Pattern) : HTableDescriptor[] from class org.apache.hadoop.hbase.client.Admin Change Parameter Type desc : HTableDescriptor to desc : TableDescriptor in method public createTable(desc TableDescriptor, startKey byte[], endKey byte[], numRegions int) : void from class org.apache.hadoop.hbase.client.HBaseAdmin Change Attribute Type blockSizeDetails : Function<HColumnDescriptor,String> to blockSizeDetails : Function<ColumnFamilyDescriptor,String> in class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2 Change Variable Type htd : HTableDescriptor to td : TableDescriptor in method package getTableDescriptor(tableName TableName, connection Connection, rpcCallerFactory RpcRetryingCallerFactory, rpcControllerFactory RpcControllerFactory, operationTimeout int, rpcTimeout int) : TableDescriptor from class org.apache.hadoop.hbase.client.HBaseAdmin Change Parameter Type column : HColumnDescriptor to column : ColumnFamilyDescriptor in method public publishReadTiming(serverName ServerName, region HRegionInfo, column ColumnFamilyDescriptor, msTime long) : void from class org.apache.hadoop.hbase.tool.Canary.StdOutSink Encapsulate Attribute private htableDescriptor : TableDescriptor from class org.apache.hadoop.hbase.regionserver.HRegion Add Method Annotation @Deprecated in method public createTable(desc HTableDescriptor) : void from class org.apache.hadoop.hbase.client.Admin Change Variable Type hcd : HColumnDescriptor to hcd : ColumnFamilyDescriptor in method private internalPreRead(c ObserverContext, query Query, opType OpType) : void from class org.apache.hadoop.hbase.security.access.AccessController Change Parameter Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method public HMobStore(region HRegion, family ColumnFamilyDescriptor, confParam Configuration) from class org.apache.hadoop.hbase.regionserver.HMobStore Extract Method public createLocalHRegion(info HRegionInfo, desc TableDescriptor) : HRegion extracted from public createLocalHRegion(info HRegionInfo, desc HTableDescriptor) : HRegion in class org.apache.hadoop.hbase.HBaseTestingUtility Change Parameter Type desc : HTableDescriptor to desc : TableDescriptor in method public createTable(desc TableDescriptor, splitKeys byte[][]) : void from class org.apache.hadoop.hbase.client.Admin Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method package getTableCoprocessorAttrsFromSchema(conf Configuration, htd TableDescriptor) : List from class org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost Change Return Type HTableDescriptor to TableDescriptor in method package getTableDescriptor(tableName TableName, connection Connection, rpcCallerFactory RpcRetryingCallerFactory, rpcControllerFactory RpcControllerFactory, operationTimeout int, rpcTimeout int) : TableDescriptor from class org.apache.hadoop.hbase.client.HBaseAdmin Add Method Annotation @Deprecated in method public createRegionAndWAL(info HRegionInfo, rootDir Path, conf Configuration, htd HTableDescriptor) : HRegion from class org.apache.hadoop.hbase.HBaseTestingUtility Extract And Move Method public createTable(desc HTableDescriptor, splitKeys byte[][]) : void extracted from package createPresplitTable(tableName TableName, splitAlgo SplitAlgorithm, columnFamilies String[], conf Configuration) : void in class org.apache.hadoop.hbase.util.RegionSplitter & moved to class org.apache.hadoop.hbase.client.Admin Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public openHRegion(rootDir Path, info HRegionInfo, htd TableDescriptor, wal WAL, conf Configuration, rsServices RegionServerServices, reporter CancelableProgressable) : HRegion from class org.apache.hadoop.hbase.regionserver.HRegion Change Variable Type tableDescriptors : List to tableDescriptors : List in method package configureIncrementalLoad(job Job, multiTableInfo List, cls Class<? extends OutputFormat<?,?>>) : void from class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2 Change Return Type HTableDescriptor to TableDescriptor in method public getTableDescriptor() : TableDescriptor from class org.apache.hadoop.hbase.regionserver.HRegion Change Parameter Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method protected createCacheConf(family ColumnFamilyDescriptor) : void from class org.apache.hadoop.hbase.regionserver.HMobStore Change Parameter Type column : HColumnDescriptor to column : ColumnFamilyDescriptor in method public publishWriteFailure(serverName ServerName, region HRegionInfo, column ColumnFamilyDescriptor, e Exception) : void from class org.apache.hadoop.hbase.tool.Canary.StdOutSink Rename Method public getFamily() : HColumnDescriptor renamed to public getColumnFamilyDescriptor() : ColumnFamilyDescriptor in class org.apache.hadoop.hbase.regionserver.Store Change Parameter Type hTableDescriptor : HTableDescriptor to hTableDescriptor : TableDescriptor in method public createHRegion(info HRegionInfo, rootDir Path, conf Configuration, hTableDescriptor TableDescriptor, wal WAL) : HRegion from class org.apache.hadoop.hbase.regionserver.HRegion Extract Method public createLocalHRegion(desc TableDescriptor, startKey byte[], endKey byte[]) : HRegion extracted from public createLocalHRegion(desc HTableDescriptor, startKey byte[], endKey byte[]) : HRegion in class org.apache.hadoop.hbase.HBaseTestingUtility Change Parameter Type column : HColumnDescriptor to column : ColumnFamilyDescriptor in method public publishWriteFailure(serverName ServerName, region HRegionInfo, column ColumnFamilyDescriptor, e Exception) : void from class org.apache.hadoop.hbase.tool.Canary.Sink Change Variable Type familyDescriptor : HColumnDescriptor to familyDescriptor : ColumnFamilyDescriptor in method package serializeColumnFamilyAttribute(fn Function<ColumnFamilyDescriptor,String>, allTables List) : String from class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2 Change Variable Type fam : HColumnDescriptor to fam : ColumnFamilyDescriptor in method private checkCompressionCodecs() : void from class org.apache.hadoop.hbase.regionserver.HRegion Change Return Type HTableDescriptor to TableDescriptor in method protected rpcCall() : TableDescriptor from class org.apache.hadoop.hbase.client.HBaseAdmin.getTableDescriptor.td.executeCallable.new MasterCallable Add Method Annotation @Deprecated in method public modifyTable(tableName TableName, htd HTableDescriptor) : void from class org.apache.hadoop.hbase.client.Admin Rename Parameter hTableDesc : HTableDescriptor to tableDesc : TableDescriptor in method public buildModifyTableRequest(tableName TableName, tableDesc TableDescriptor, nonceGroup long, nonce long) : ModifyTableRequest from class org.apache.hadoop.hbase.shaded.protobuf.RequestConverter Add Method Annotation @Deprecated in method public listTables() : HTableDescriptor[] from class org.apache.hadoop.hbase.client.Admin Change Parameter Type tableDescriptor : HTableDescriptor to tableDescriptor : TableDescriptor in method public computeHDFSBlocksDistribution(conf Configuration, tableDescriptor TableDescriptor, regionInfo HRegionInfo, tablePath Path) : HDFSBlocksDistribution from class org.apache.hadoop.hbase.regionserver.HRegion Add Method Annotation @Deprecated in method public createTable(htd HTableDescriptor, families byte[][], c Configuration) : Table from class org.apache.hadoop.hbase.HBaseTestingUtility Change Parameter Type hTableDescriptor : HTableDescriptor to tableDesctiptor : TableDescriptor in method public TableInfo(tableDesctiptor TableDescriptor, regionLocator RegionLocator) from class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.TableInfo Change Variable Type families : Collection to families : ColumnFamilyDescriptor[] in method private validateFamiliesInHFiles(table Table, queue Deque, silence boolean) : void from class org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles Extract Method public createTestRegion(tableName String, cd ColumnFamilyDescriptor) : HRegion extracted from public createTestRegion(tableName String, hcd HColumnDescriptor) : HRegion in class org.apache.hadoop.hbase.HBaseTestingUtility Encapsulate Attribute private tableDesctiptor : TableDescriptor from class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2.TableInfo Change Parameter Type family : HColumnDescriptor to family : ColumnFamilyDescriptor in method protected createCacheConf(family ColumnFamilyDescriptor) : void from class org.apache.hadoop.hbase.regionserver.HStore Add Method Annotation @Deprecated in method public createLocalHRegion(info HRegionInfo, desc HTableDescriptor) : HRegion from class org.apache.hadoop.hbase.HBaseTestingUtility Add Method Annotation @Deprecated in method public enableTables(regex String) : HTableDescriptor[] from class org.apache.hadoop.hbase.client.Admin Change Variable Type desc : HTableDescriptor to desc : TableDescriptor in method protected waitForAllRegionsOnline(deadlineTs long, splitKeys byte[][]) : void from class org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public openHRegion(conf Configuration, fs FileSystem, rootDir Path, tableDir Path, info HRegionInfo, htd TableDescriptor, wal WAL, rsServices RegionServerServices, reporter CancelableProgressable) : HRegion from class org.apache.hadoop.hbase.regionserver.HRegion Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public HRegion(fs HRegionFileSystem, wal WAL, confParam Configuration, htd TableDescriptor, rsServices RegionServerServices) from class org.apache.hadoop.hbase.regionserver.HRegion Add Method Annotation @Deprecated in method public createPreSplitLoadTestTable(conf Configuration, desc HTableDescriptor, hcd HColumnDescriptor, numRegionsPerServer int) : int from class org.apache.hadoop.hbase.HBaseTestingUtility Add Method Annotation @Deprecated in method public deleteTables(regex String) : HTableDescriptor[] from class org.apache.hadoop.hbase.client.Admin Add Method Annotation @Deprecated in method public createPreSplitLoadTestTable(conf Configuration, desc HTableDescriptor, hcd HColumnDescriptor) : int from class org.apache.hadoop.hbase.HBaseTestingUtility Change Attribute Type desc : HTableDescriptor to desc : TableDescriptor in class org.apache.hadoop.hbase.client.HBaseAdmin.CreateTableFuture Change Variable Type desc : HTableDescriptor to desc : TableDescriptor in method protected configureForRegion(region HRegion) : void from class org.apache.hadoop.hbase.regionserver.ConstantSizeRegionSplitPolicy Change Variable Type tableDescriptor : HTableDescriptor to tableDescriptor : TableDescriptor in method package serializeColumnFamilyAttribute(fn Function<ColumnFamilyDescriptor,String>, allTables List) : String from class org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2 Change Parameter Type htd : HTableDescriptor to htd : TableDescriptor in method public testTableCoprocessorAttrs(conf Configuration, htd TableDescriptor) : void from class org.apache.hadoop.hbase.regionserver.RegionCoprocessorHost

tsantalis commented 2 years ago

https://github.com/infinispan/infinispan/commit/b68a767199061e0cbb57b9e22fac72205cb54721 had no exception with the latest commit of the project.

2022-04-04 21:31:44 INFO Processing tmp1/infinispan d95ec73355ad58eaf41f87a4f997117acc882979 ... 2022-04-04 21:31:44 INFO Processing tmp1/infinispan b68a767199061e0cbb57b9e22fac72205cb54721 ... Commits: 1 Errors: 0 Total TP: 0 FP: 21 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RM TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN IM TP: 0 FP: 4 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RVWA TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN AP TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RP TP: 0 FP: 13 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN at https://github.com/infinispan/infinispan/commit/b68a767199061e0cbb57b9e22fac72205cb54721 false positives Remove Parameter cfg : Configuration in method public init(notifier CacheNotifier, cfg Configuration) : void from class org.infinispan.commands.write.ReplaceCommand Remove Parameter cfg : Configuration in method public init(notifier CacheNotifier, cfg Configuration) : void from class org.infinispan.commands.write.PutKeyValueCommand Rename Method private isClusterInvocation(ctx InvocationContext, command FlagAffectedCommand) : boolean renamed to private isUsingAsyncStore(ctx InvocationContext, command FlagAffectedCommand) : boolean in class org.infinispan.interceptors.impl.IsMarshallableInterceptor Add Parameter tx : boolean in method private generateUUID(tx boolean) : CommandInvocationId from class org.infinispan.commands.CommandsFactoryImpl Remove Parameter valueEquivalence : Equivalence in method public RemoveExpiredCommand(key Object, value Object, lifespan Long, notifier CacheNotifier, valueEquivalence Equivalence, commandInvocationId CommandInvocationId) from class org.infinispan.commands.write.RemoveExpiredCommand Remove Parameter keyEquivalence : Equivalence in method public init(icf InvocationContextFactory, commandsFactory CommandsFactory, entryFactory InternalEntryFactory, interceptorChain AsyncInterceptorChain, txTable TransactionTable, keyEquivalence Equivalence) : void from class org.infinispan.commands.remote.ClusteredGetAllCommand Remove Parameter valueEquivalence : Equivalence in method protected equal(a Object, b Object, valueEquivalence Equivalence) : boolean from class org.infinispan.commands.write.ValueMatcher Replace Variable With Attribute isTotalOrder : boolean to totalOrder : boolean in method protected shouldCommitDuringPrepare(command PrepareCommand, ctx TxInvocationContext) : boolean from class org.infinispan.interceptors.impl.EntryWrappingInterceptor Remove Parameter distManager : DistributionManager in method protected injectMarshaller(marshaller StreamingMarshaller, distManager DistributionManager) : void from class org.infinispan.interceptors.impl.IsMarshallableInterceptor Inline Method private getInvocationContextForWrite(keyCount int, isPutForExternalRead boolean) : InvocationContext inlined to private getInvocationContextWithImplicitTransaction(isPutForExternalRead boolean, keyCount int) : InvocationContext in class org.infinispan.cache.impl.CacheImpl Inline Method private getInvocationContextForWrite(keyCount int, isPutForExternalRead boolean) : InvocationContext inlined to package lock(keys Collection<? extends K>, flagsBitSet long) : boolean in class org.infinispan.cache.impl.CacheImpl Remove Parameter keyEquivalence : Equivalence in method public ClusteredGetCommand(key Object, cacheName ByteString, flags long, keyEquivalence Equivalence) from class org.infinispan.commands.remote.ClusteredGetCommand Inline Method private getInvocationContextForWrite(keyCount int, isPutForExternalRead boolean) : InvocationContext inlined to public applyDelta(deltaAwareValueKey K, delta Delta, locksToAcquire Object...) : void in class org.infinispan.cache.impl.CacheImpl Remove Parameter valueEquivalence : Equivalence in method public RemoveCommand(key Object, value Object, notifier CacheNotifier, flagsBitSet long, valueEquivalence Equivalence, commandInvocationId CommandInvocationId) from class org.infinispan.commands.write.RemoveCommand Remove Parameter valueEquivalence : Equivalence in method public PutKeyValueCommand(key Object, value Object, putIfAbsent boolean, notifier CacheNotifier, metadata Metadata, flagsBitSet long, valueEquivalence Equivalence, commandInvocationId CommandInvocationId) from class org.infinispan.commands.write.PutKeyValueCommand Remove Parameter keyEquivalence : Equivalence<? super K> in method public ClusteredGetAllCommand(cacheName ByteString, keys List<?>, flags long, gtx GlobalTransaction, keyEquivalence Equivalence<? super K>) from class org.infinispan.commands.remote.ClusteredGetAllCommand Remove Parameter valueEquivalence : Equivalence in method public ReplaceCommand(key Object, oldValue Object, newValue Object, notifier CacheNotifier, metadata Metadata, flagsBitSet long, valueEquivalence Equivalence, commandInvocationId CommandInvocationId) from class org.infinispan.commands.write.ReplaceCommand Inline Method private getInvocationContext(tx Transaction, implicitTransaction boolean) : InvocationContext inlined to private getInvocationContextWithImplicitTransaction(isPutForExternalRead boolean, keyCount int) : InvocationContext in class org.infinispan.cache.impl.CacheImpl Remove Parameter keyEquivalence : Equivalence in method public initialize(icf InvocationContextFactory, commandsFactory CommandsFactory, entryFactory InternalEntryFactory, interceptorChain AsyncInterceptorChain, keyEquivalence Equivalence) : void from class org.infinispan.commands.remote.ClusteredGetCommand Remove Parameter configuration : Configuration in method public init(notifier CacheNotifier, configuration Configuration) : void from class org.infinispan.commands.write.RemoveCommand Rename Method private filterByPrimaryOwner(keys Collection<?>, toAdd Collection) : void renamed to private filterByLockOwner(keys Collection<?>, toAdd Collection) : void in class org.infinispan.remoting.inboundhandler.action.BaseLockingAction

tsantalis commented 2 years ago

https://github.com/infinispan/infinispan/commit/4de2e7fdc35a4f5cacca56441365d0d197861dfc had no exception with the latest commit of the project.

2022-04-04 21:33:40 INFO Processing https://github.com/infinispan/infinispan.git 4de2e7fdc35a4f5cacca56441365d0d197861dfc ... 2022-04-04 21:33:42 INFO Connected to GitHub with OAuth token 2022-04-04 21:33:43 INFO Downloading archive https://github.com/infinispan/infinispan/archive/4de2e7fdc35a4f5cacca56441365d0d197861dfc.zip 2022-04-04 21:33:46 INFO Unzipping archive https://github.com/infinispan/infinispan/archive/4de2e7fdc35a4f5cacca56441365d0d197861dfc.zip 2022-04-04 21:33:46 INFO Downloading archive https://github.com/infinispan/infinispan/archive/0dc94d81f9029825f12ae767b5527c98a75c2e0d.zip 2022-04-04 21:33:48 INFO Unzipping archive https://github.com/infinispan/infinispan/archive/0dc94d81f9029825f12ae767b5527c98a75c2e0d.zip Commits: 1 Errors: 0 Total TP: 0 FP: 317 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN EM TP: 0 FP: 8 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RC TP: 0 FP: 24 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MA TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MM TP: 0 FP: 112 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MARM TP: 0 FP: 7 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN PUM TP: 0 FP: 4 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MC TP: 0 FP: 15 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MARC TP: 0 FP: 4 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN PDM TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN EI TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN ES TP: 0 FP: 13 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN EC TP: 0 FP: 3 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RP TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MP TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN EV TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RV TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CRT TP: 0 FP: 4 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CVT TP: 0 FP: 5 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CPT TP: 0 FP: 5 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CAT TP: 0 FP: 3 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN AMA TP: 0 FP: 13 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RMA TP: 0 FP: 19 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN AAA TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RAA TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN ACA TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN AP TP: 0 FP: 10 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RP TP: 0 FP: 10 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CMAM TP: 0 FP: 5 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RMM TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN AAM TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RAM TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN AVM TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN ACM TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RCM TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RAWL TP: 0 FP: 27 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MC TP: 0 FP: 4 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN at https://github.com/infinispan/infinispan/commit/4de2e7fdc35a4f5cacca56441365d0d197861dfc false positives Extract Superclass org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest from class org.hibernate.test.cache.infinispan.entity.AbstractReadOnlyAccessTestCase Add Method Annotation @Test in method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionReadOnlyAccessTest.Invalidation Move Method public unlockRegion(lock SoftLock) : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public unlockRegion(lock SoftLock) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Change Variable Type delegate : TransactionalAccessDelegate to delegate : InvalidationCacheAccessDelegate in method public call() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest.testPutFromLoadRemoveDoesNotProduceStaleData.withCacheManager.new CacheManagerCallable Change Attribute Type barney : Object to barney : AccountHolder in class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Change Variable Type dao1 : ClassLoaderTestDAO to dao1 : AccountDAO in method public testRefreshAfterExternalChange() : void from class org.hibernate.test.cache.infinispan.functional.cluster.SessionRefreshTest Remove Method Annotation @Test in method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase Move And Rename Class org.hibernate.test.cache.infinispan.functional.classloader.ClassLoaderTestDAO moved and renamed to org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Move Method protected addSettings(settings Map) : void from class org.hibernate.test.cache.infinispan.functional.ConcurrentWriteTest to protected addSettings(settings Map) : void from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Rename Class org.hibernate.test.cache.infinispan.AbstractRegionImplTestCase renamed to org.hibernate.test.cache.infinispan.AbstractRegionImplTest Move Class org.hibernate.test.cache.infinispan.functional.classloader.AccountHolder moved to org.hibernate.test.cache.infinispan.functional.entities.AccountHolder Remove Attribute Modifier final in attribute private delegate : InfinispanRegionFactory from class org.hibernate.test.cache.infinispan.functional.cluster.ClusterAwareRegionFactory Move Method protected getUseQueryCache() : boolean from class org.hibernate.test.cache.infinispan.functional.SingleNodeTestCase to protected getUseQueryCache() : boolean from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Move Class org.hibernate.test.cache.infinispan.functional.Customer moved to org.hibernate.test.cache.infinispan.functional.entities.Customer Rename Class org.hibernate.test.cache.infinispan.functional.cluster.DualNodeTestCase renamed to org.hibernate.test.cache.infinispan.functional.cluster.DualNodeTest Move Method public testEvict() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public testEvict() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Add Method Annotation @Override in method protected getRegionFactoryClass() : Class<? extends RegionFactory> from class org.hibernate.test.cache.infinispan.timestamp.TimestampsRegionImplTest Move Method public getPutFromLoadValidator() : PutFromLoadValidator from class org.hibernate.cache.infinispan.naturalid.NaturalIdRegionImpl to protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Move Method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object, minimalPutOverride boolean) : boolean from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object, minimalPutOverride boolean) : boolean from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public testUnlockItem() : void from class org.hibernate.test.cache.infinispan.collection.TransactionalExtraAPITestCase to public testUnlockItem() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Move Method public getCacheKeyId(cacheKey Object) : Object from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public getCacheKeyId(cacheKey Object) : Object from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method protected isSynchronous() : boolean from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to protected isSynchronous() : boolean from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public unlockRegion(lock SoftLock) : void from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public unlockRegion(lock SoftLock) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Extract Superclass org.hibernate.test.cache.infinispan.stress.CorrectnessTestCase.FailingInfinispanRegionFactory from class org.hibernate.test.cache.infinispan.stress.CorrectnessTestCase.ForceNonTxInfinispanRegionFactory Extract Method protected generateNextKey() : Object extracted from public testInsert() : void in class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Rename Class org.hibernate.test.cache.infinispan.functional.NoTenancyTestCase renamed to org.hibernate.test.cache.infinispan.functional.NoTenancyTest Extract Method protected isCommitted(session SessionImplementor) : boolean extracted from public unlockItem(session SessionImplementor, key Object) : void in class org.hibernate.cache.infinispan.access.NonTxInvalidationCacheAccessDelegate Add Parameter delegate : InvalidationCacheAccessDelegate in method package ReadWriteAccess(region EntityRegionImpl, delegate InvalidationCacheAccessDelegate) from class org.hibernate.cache.infinispan.entity.ReadWriteAccess Move Method public testUpdate() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testUpdate() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Add Method Annotation @Override in method public afterInsert(session SessionImplementor, key Object, value Object, version Object) : boolean from class org.hibernate.cache.infinispan.access.TxInvalidationCacheAccessDelegate Remove Parameter tm : TransactionManager in method private getCustomer(id Integer, sessionFactory SessionFactory, tm TransactionManager) : Customer from class org.hibernate.test.cache.infinispan.functional.cluster.EntityCollectionInvalidationTestCase Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTestCase.testInsertDeleteEntity.withTx.new Callable with s -> {Item found=s.load(Item.class,item.getId()); in method public testInsertDeleteEntity() : void from class org.hibernate.test.cache.infinispan.functional.ReadOnlyTest Extract Superclass org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest from class org.hibernate.test.cache.infinispan.collection.AbstractReadOnlyAccessTestCase Move Method public testPutFromLoad() : void from class org.hibernate.test.cache.infinispan.entity.AbstractReadOnlyAccessTestCase to public testPutFromLoad() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public afterUpdate(session SessionImplementor, key Object, value Object, currentVersion Object, previousVersion Object, lock SoftLock) : boolean from class org.hibernate.cache.infinispan.access.TransactionalAccessDelegate to public afterUpdate(session SessionImplementor, key Object, value Object, currentVersion Object, previousVersion Object, lock SoftLock) : boolean from class org.hibernate.cache.infinispan.access.TxInvalidationCacheAccessDelegate Move Method protected waitForClusterToForm(caches Cache...) : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to protected waitForClusterToForm(caches Cache...) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public lockRegion() : SoftLock from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public lockRegion() : SoftLock from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object) : boolean from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object) : boolean from class org.hibernate.cache.infinispan.collection.CollectionAccess Remove Method Annotation @Override in method public get(session SessionImplementor, key Object, txTimestamp long) : Object from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Move Method public abstract testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public abstract testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Add Class Modifier static in class org.hibernate.test.cache.infinispan.entity.EntityRegionExtraAPITest.ReadOnly Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testCollectionCache.withTx.new Callable with s -> {s.persist(item); in method public testCollectionCache() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Move Method public testRemove() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testRemove() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Add Parameter removeLatch : CountDownLatch in method protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testNaturalIdLoaderCached.withTx.new Callable with s -> {State france=ReadWriteTest.this.getState(s,"Ile de France"); in method public testNaturalIdLoaderCached() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Extract Superclass org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest from class org.hibernate.test.cache.infinispan.functional.cluster.DualNodeTestCase Change Variable Type dao0A : ClassLoaderTestDAO to dao0A : AccountDAO in method public testRefreshAfterExternalChange() : void from class org.hibernate.test.cache.infinispan.functional.cluster.SessionRefreshTest Change Return Type Object to AccountHolder in method public getSmith() : AccountHolder from class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Move Method protected getUseQueryCache() : boolean from class org.hibernate.test.cache.infinispan.functional.ConcurrentWriteTest to protected getUseQueryCache() : boolean from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Move Method public releaseLocalAccessStrategy() : void from class org.hibernate.test.cache.infinispan.entity.TransactionalExtraAPITestCase to public releaseLocalAccessStrategy() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testNaturalIdLoaderCached.withTx.new Callable with s -> {Citizen loadedCitizen=(Citizen)s.get(Citizen.class,citizen.getId()); in method public testNaturalIdLoaderCached() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Move Method protected abstract getAccessType() : AccessType from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to protected abstract getAccessType() : AccessType from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.EqualityTest.testEqualityFromType.withTx.new Callable with s -> {s.persist(john); in method public testEqualityFromType() : void from class org.hibernate.test.cache.infinispan.functional.EqualityTest Rename Class org.hibernate.test.cache.infinispan.timestamp.TimestampsRegionImplTestCase renamed to org.hibernate.test.cache.infinispan.timestamp.TimestampsRegionImplTest Move Method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object) : boolean from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object) : boolean from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public releaseResources() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public releaseResources() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Rename Class org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase renamed to org.hibernate.test.cache.infinispan.functional.ReadWriteTest Rename Class org.hibernate.cache.infinispan.access.TxTransactionalAccessDelegate renamed to org.hibernate.cache.infinispan.access.TxInvalidationCacheAccessDelegate Move Method public evict(key Object) : void from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public evict(key Object) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Remove Method Annotation @Override in method public lockRegion() : SoftLock from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Move Method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object, minimalPutOverride boolean) : boolean from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object, minimalPutOverride boolean) : boolean from class org.hibernate.cache.infinispan.collection.CollectionAccess Move And Rename Method protected getCacheRegionFactory() : Class<? extends RegionFactory> from class org.hibernate.test.cache.infinispan.functional.JndiRegionFactoryTestCase to protected getRegionFactoryClass() : Class<? extends RegionFactory> from class org.hibernate.test.cache.infinispan.AbstractNonFunctionalTest Move Method public unlockItem(session SessionImplementor, key Object, lock SoftLock) : void from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public unlockItem(session SessionImplementor, key Object, lock SoftLock) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public get(session SessionImplementor, key Object, txTimestamp long) : Object from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public get(session SessionImplementor, key Object, txTimestamp long) : Object from class org.hibernate.cache.infinispan.collection.CollectionAccess Add Attribute Annotation @Rule in attribute public infinispanTestIdentifier : InfinispanTestingSetup from class org.hibernate.test.cache.infinispan.tm.JBossStandaloneJtaExampleTest Move Method protected abstract getAccessType() : AccessType from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to protected abstract getAccessType() : AccessType from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase.evictOrRemoveAllTest.withinTx.new Callable with () -> {if(evict){localAccessStrategy.evictAll(); in method protected evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Remove Parameter Modifier final in parameter sf : SessionFactory in method private getCitizenWithCriteria(tm TransactionManager, sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase Move Method protected createStandardServiceRegistryBuilder() : StandardServiceRegistryBuilder from class org.hibernate.test.cache.infinispan.timestamp.TimestampsRegionImplTestCase to protected createStandardServiceRegistryBuilder() : StandardServiceRegistryBuilder from class org.hibernate.test.cache.infinispan.AbstractNonFunctionalTest Move And Rename Method package TransactionalAccess(region EntityRegionImpl) from class org.hibernate.cache.infinispan.entity.TransactionalAccess to package CollectionAccess(region CollectionRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public testPutFromLoad() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public testPutFromLoad() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Class org.hibernate.test.cache.infinispan.functional.classloader.Account moved to org.hibernate.test.cache.infinispan.functional.entities.Account Move And Rename Method package TransactionalAccess(region NaturalIdRegionImpl) from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to package CollectionAccess(region CollectionRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.collection.CollectionAccess Rename Package org.hibernate.test.cache.infinispan.functional.classloader to org.hibernate.test.cache.infinispan.functional.entities Move Method public testEvictAll() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testEvictAll() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public removeAll() : void from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public removeAll() : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Move And Rename Class org.hibernate.test.cache.infinispan.entity.ReadOnlyExtraAPITestCase moved and renamed to org.hibernate.test.cache.infinispan.entity.EntityRegionExtraAPITest.ReadOnly Remove Method Annotation @Override in method protected createStandardServiceRegistryBuilder() : StandardServiceRegistryBuilder from class org.hibernate.test.cache.infinispan.timestamp.TimestampsRegionImplTestCase Rename Class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTestCase renamed to org.hibernate.test.cache.infinispan.functional.ReadOnlyTest Move Class org.hibernate.test.cache.infinispan.stress.CorrectnessTestCase.TestInfinispanRegionFactory moved to org.hibernate.test.cache.infinispan.util.TestInfinispanRegionFactory Extract Superclass org.hibernate.test.cache.infinispan.functional.SingleNodeTest from class org.hibernate.test.cache.infinispan.functional.ConcurrentWriteTest Remove Method Annotation @Override in method protected getCacheRegionFactory() : Class<? extends RegionFactory> from class org.hibernate.test.cache.infinispan.functional.JndiRegionFactoryTestCase Add Attribute Modifier final in attribute private sessionFactory : SessionFactory from class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Move Method public testRemoveAll() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testRemoveAll() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Class org.hibernate.test.cache.infinispan.functional.Item moved to org.hibernate.test.cache.infinispan.functional.entities.Item Extract Class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest from class org.hibernate.test.cache.infinispan.entity.AbstractReadOnlyAccessTestCase Move Method public testPutFromLoadMinimal() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public testPutFromLoadMinimal() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Rename Class org.hibernate.test.cache.infinispan.entity.EntityRegionImplTestCase renamed to org.hibernate.test.cache.infinispan.entity.EntityRegionImplTest Change Attribute Type smith : Object to smith : AccountHolder in class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTestCase.testInsertClearCacheDeleteEntity.withTx.new Callable with s -> {Item found=s.load(Item.class,item.getId()); in method public testInsertClearCacheDeleteEntity() : void from class org.hibernate.test.cache.infinispan.functional.ReadOnlyTest Add Parameter jtaPlatform : Class<? extends JtaPlatform> in method public buildBaselineSettings(regionPrefix String, regionFactory Class, use2ndLevel boolean, useQueries boolean, jtaPlatform Class<? extends JtaPlatform>) : Map from class org.hibernate.test.cache.infinispan.util.CacheTestUtil Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testEntityCacheContentsAfterEvictAll.withTx.new Callable with s -> {Cache cache=s.getSessionFactory().getCache(); in method public testEntityCacheContentsAfterEvictAll() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Remove Parameter tm : TransactionManager in method private cleanup(sessionFactory SessionFactory, tm TransactionManager) : void from class org.hibernate.test.cache.infinispan.functional.cluster.EntityCollectionInvalidationTestCase Move Method public getMappings() : String[] from class org.hibernate.test.cache.infinispan.functional.SingleNodeTestCase to public getMappings() : String[] from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Change Variable Type naturalIdLoader : NaturalIdLoadAccess to naturalIdLoader : NaturalIdLoadAccess in method public testNaturalIdLoaderCached() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Move Method public generateCacheKey(id Object, persister CollectionPersister, factory SessionFactoryImplementor, tenantIdentifier String) : Object from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public generateCacheKey(id Object, persister CollectionPersister, factory SessionFactoryImplementor, tenantIdentifier String) : Object from class org.hibernate.cache.infinispan.collection.CollectionAccess Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testNaturalIdCached.withTx.new Callable with s -> {State france=ReadWriteTest.this.getState(s,"Ile de France"); in method public testNaturalIdCached() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Move Class org.hibernate.test.cache.infinispan.functional.VersionedItem moved to org.hibernate.test.cache.infinispan.functional.entities.VersionedItem Remove Method Annotation @Override in method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object) : boolean from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Add Method Annotation @Override in method public evictAll() : void from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Move Method public removeAll() : void from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public removeAll() : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public testUnlockRegion() : void from class org.hibernate.test.cache.infinispan.entity.TransactionalExtraAPITestCase to public testUnlockRegion() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Move Method public get(session SessionImplementor, key Object, txTimestamp long) : Object from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public get(session SessionImplementor, key Object, txTimestamp long) : Object from class org.hibernate.cache.infinispan.collection.CollectionAccess Add Parameter pferLatch : CountDownLatch in method protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.MultiTenancyTestCase.testMultiTenancy.id.withTx.new Callable with s -> s.persist(item) in method public testMultiTenancy() : void from class org.hibernate.test.cache.infinispan.functional.MultiTenancyTest Move Class org.hibernate.test.cache.infinispan.functional.OtherItem moved to org.hibernate.test.cache.infinispan.functional.entities.OtherItem Move Method public evictAll() : void from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public evictAll() : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Add Method Annotation @Override in method public get(session SessionImplementor, key Object, txTimestamp long) : Object from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Move Method protected addSettings(settings Map) : void from class org.hibernate.test.cache.infinispan.functional.bulk.BulkOperationsTestCase to protected addSettings(settings Map) : void from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase.evictOrRemoveTest.withinTx.new Callable with () -> {if(evict){localAccessStrategy.evictAll(); in method protected evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public afterInsert(session SessionImplementor, key Object, value Object, version Object) : boolean from class org.hibernate.cache.infinispan.access.TransactionalAccessDelegate to public afterInsert(session SessionImplementor, key Object, value Object, version Object) : boolean from class org.hibernate.cache.infinispan.access.TxInvalidationCacheAccessDelegate Move Method public remove(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public remove(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Add Parameter cache : AdvancedCache in method protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Remove Method Annotation @Override in method protected getUseQueryCache() : boolean from class org.hibernate.test.cache.infinispan.functional.ConcurrentWriteTest Move Method public prepareResources() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public prepareResources() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Change Return Type TransactionalAccessDelegate to InvalidationCacheAccessDelegate in method public create(region BaseRegion, validator PutFromLoadValidator) : InvalidationCacheAccessDelegate from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Remove Method Annotation @Test in method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.InvalidatedTransactionalTestCase Rename Class org.hibernate.test.cache.infinispan.functional.MultiTenancyTestCase renamed to org.hibernate.test.cache.infinispan.functional.MultiTenancyTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase.evictOrRemoveTest.withinTx.new Callable with () -> {if(evict){localAccessStrategy.evict(KEY); in method protected evictOrRemoveTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Extract Interface org.hibernate.cache.infinispan.access.AccessDelegate from class org.hibernate.cache.infinispan.access.TransactionalAccessDelegate Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.InvalidatedTransactionalTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionTransactionalAccessTest.Invalidation Remove Method Annotation @Override in method public testPutFromLoadMinimal() : void from class org.hibernate.test.cache.infinispan.entity.AbstractReadOnlyAccessTestCase Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase.deleteCitizenWithCriteria.withTx.new Callable with s -> {State france=getState(s,"Ile de France"); in method private deleteCitizenWithCriteria(sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTest Change Parameter Type region : EntityRegionImpl to region : CollectionRegionImpl in method package CollectionAccess(region CollectionRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Class org.hibernate.test.cache.infinispan.functional.Name moved to org.hibernate.test.cache.infinispan.functional.entities.Name Move Method public testInsert() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testInsert() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Move Method public testEvictAll() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public testEvictAll() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Merge Class [org.hibernate.cache.infinispan.collection.TransactionalAccess, org.hibernate.cache.infinispan.entity.TransactionalAccess, org.hibernate.cache.infinispan.naturalid.TransactionalAccess] merged to org.hibernate.cache.infinispan.collection.CollectionAccess Extract Class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest from class org.hibernate.test.cache.infinispan.functional.ConcurrentWriteTest Move Method public get(session SessionImplementor, key Object, txTimestamp long) : Object from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public get(session SessionImplementor, key Object, txTimestamp long) : Object from class org.hibernate.cache.infinispan.collection.CollectionAccess Pull Up Method public abstract insert(session SessionImplementor, key Object, value Object, version Object) : boolean from class org.hibernate.cache.infinispan.access.TransactionalAccessDelegate to public insert(session SessionImplementor, key Object, value Object, version Object) : boolean from class org.hibernate.cache.infinispan.access.AccessDelegate Move Class org.hibernate.test.cache.infinispan.functional.NaturalIdOnManyToOne moved to org.hibernate.test.cache.infinispan.functional.entities.NaturalIdOnManyToOne Extract Method protected saveItem(itemId ByRef) : void extracted from public testAddNewOneToManyElementNoInitFlushLeaveCacheConsistent() : void in class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Move Method private evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to protected evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public evict(key Object) : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public evict(key Object) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public evictAll() : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public evictAll() : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Change Attribute Type jones : Object to jones : AccountHolder in class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionTransactionalAccessTest.Invalidation Remove Parameter tm : TransactionManager in method private saveSomeCitizens(tm TransactionManager, sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase Extract Method protected generateNextKey() : Object extracted from public testUpdate() : void in class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Rename Class org.hibernate.test.cache.infinispan.functional.cluster.SessionRefreshTestCase renamed to org.hibernate.test.cache.infinispan.functional.cluster.SessionRefreshTest Rename Class org.hibernate.test.cache.infinispan.access.PutFromLoadValidatorUnitTestCase renamed to org.hibernate.test.cache.infinispan.access.PutFromLoadValidatorUnitTest Merge Class [org.hibernate.test.cache.infinispan.collection.InvalidatedTransactionalTestCase, org.hibernate.test.cache.infinispan.collection.ReadOnlyTestCase, org.hibernate.test.cache.infinispan.entity.InvalidatedTransactionalTestCase, org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase] merged to org.hibernate.test.cache.infinispan.collection.CollectionRegionReadOnlyAccessTest.Invalidation Rename Class org.hibernate.test.cache.infinispan.AbstractEntityCollectionRegionTestCase renamed to org.hibernate.test.cache.infinispan.AbstractEntityCollectionRegionTest Change Method Access Modifier private to protected in method protected evictOrRemoveTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Rename Variable citizen : Citizen to c : Citizen in method public testNaturalIdLoaderCached() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Merge Class [org.hibernate.test.cache.infinispan.entity.InvalidatedTransactionalTestCase, org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase] merged to org.hibernate.test.cache.infinispan.entity.EntityRegionTransactionalAccessTest.Invalidation Add Class Annotation @RunWith(CustomParameterized.class) in class org.hibernate.test.cache.infinispan.AbstractNonFunctionalTest Rename Class org.hibernate.test.cache.infinispan.entity.AbstractReadOnlyAccessTestCase renamed to org.hibernate.test.cache.infinispan.entity.EntityRegionReadOnlyAccessTest Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.ReadOnlyTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionReadOnlyAccessTest.Invalidation Move Method public unlockRegion(lock SoftLock) : void from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public unlockRegion(lock SoftLock) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Change Method Access Modifier private to protected in method protected putFromLoadTest(minimal boolean) : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionReadOnlyAccessTest Move Method public testPutFromLoadMinimal() : void from class org.hibernate.test.cache.infinispan.entity.AbstractReadOnlyAccessTestCase to public testPutFromLoadMinimal() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public testLockRegion() : void from class org.hibernate.test.cache.infinispan.entity.TransactionalExtraAPITestCase to public testLockRegion() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Move Method protected createStandardServiceRegistryBuilder() : StandardServiceRegistryBuilder from class org.hibernate.test.cache.infinispan.AbstractGeneralDataRegionTestCase to protected createStandardServiceRegistryBuilder() : StandardServiceRegistryBuilder from class org.hibernate.test.cache.infinispan.AbstractNonFunctionalTest Remove Attribute Annotation @ClassRule in attribute public infinispanTestIdentifier : InfinispanTestingSetup from class org.hibernate.test.cache.infinispan.tm.JBossStandaloneJtaExampleTest Move Method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object) : boolean from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object) : boolean from class org.hibernate.cache.infinispan.collection.CollectionAccess Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testMultipleEvictAll.withTx.new Callable with s -> {Cache cache=s.getSessionFactory().getCache(); in method public testMultipleEvictAll() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Extract Superclass org.hibernate.test.cache.infinispan.functional.SingleNodeTest from class org.hibernate.test.cache.infinispan.functional.MultiTenancyTestCase Remove Parameter Modifier final in parameter sf : SessionFactory in method private deleteCitizenWithCriteria(tm TransactionManager, sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionReadOnlyAccessTest.Invalidation Remove Method Annotation @Override in method public unlockItem(session SessionImplementor, key Object, lock SoftLock) : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Remove Method Annotation @Override in method public lockItem(session SessionImplementor, key Object, version Object) : SoftLock from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Move Method private putFromLoadTest(useMinimalAPI boolean) : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to protected putFromLoadTest(useMinimalAPI boolean) : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Move Method public lockItem(session SessionImplementor, key Object, version Object) : SoftLock from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public lockItem(session SessionImplementor, key Object, version Object) : SoftLock from class org.hibernate.cache.infinispan.collection.CollectionAccess Rename Class org.hibernate.cache.infinispan.access.NonTxTransactionalAccessDelegate renamed to org.hibernate.cache.infinispan.access.NonTxInvalidationCacheAccessDelegate Move And Rename Class org.hibernate.test.cache.infinispan.functional.bulk.BulkOperationsTestCase moved and renamed to org.hibernate.test.cache.infinispan.functional.BulkOperationsTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase.testAll.withTx.new Callable with s -> {s.createQuery("delete NaturalIdOnManyToOne").executeUpdate(); in method public testAll() : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTest Rename Class org.hibernate.cache.infinispan.access.TransactionalAccessDelegate renamed to org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Change Parameter Type region : NaturalIdRegionImpl to region : CollectionRegionImpl in method package CollectionAccess(region CollectionRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public evict(key Object) : void from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public evict(key Object) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Add Method Annotation @Override in method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object) : boolean from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Add Parameter delegate : AccessDelegate in method package ReadWriteAccess(region NaturalIdRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.naturalid.ReadWriteAccess Extract Superclass org.hibernate.test.cache.infinispan.functional.SingleNodeTest from class org.hibernate.test.cache.infinispan.functional.JndiRegionFactoryTestCase Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase.getCitizenWithCriteria.withTx.new Callable with s -> {State france=getState(s,"Ile de France"); in method private getCitizenWithCriteria(sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTest Move And Rename Method public testUnlockItem() : void from class org.hibernate.test.cache.infinispan.entity.TransactionalExtraAPITestCase to public testUnlockRegion() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Change Return Type Object to AccountHolder in method public getBarney() : AccountHolder from class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.cleanupData.withTx.new Callable with s -> {s.createQuery("delete NaturalIdOnManyToOne").executeUpdate(); in method public cleanupData() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Pull Up Method public getCacheConcurrencyStrategy() : String from class org.hibernate.test.cache.infinispan.functional.cluster.DualNodeTestCase to public getCacheConcurrencyStrategy() : String from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Move Method public testRemove() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public testRemove() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Extract Superclass org.hibernate.test.cache.infinispan.functional.SingleNodeTest from class org.hibernate.test.cache.infinispan.functional.NoTenancyTestCase Extract Superclass org.hibernate.test.cache.infinispan.entity.EntityRegionExtraAPITest from class org.hibernate.test.cache.infinispan.entity.ReadOnlyExtraAPITestCase Remove Attribute Modifier static in attribute public infinispanTestIdentifier : InfinispanTestingSetup from class org.hibernate.test.cache.infinispan.tm.JBossStandaloneJtaExampleTest Add Variable Modifier final in variable item : VersionedItem in method public testStaleWritesLeaveCacheConsistent() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Move Class org.hibernate.test.cache.infinispan.functional.Age moved to org.hibernate.test.cache.infinispan.functional.entities.Age Rename Class org.hibernate.test.cache.infinispan.functional.JndiRegionFactoryTestCase renamed to org.hibernate.test.cache.infinispan.functional.JndiRegionFactoryTest Rename Class org.hibernate.test.cache.infinispan.functional.cluster.EntityCollectionInvalidationTestCase renamed to org.hibernate.test.cache.infinispan.functional.cluster.EntityCollectionInvalidationTest Move Method public lockItem(session SessionImplementor, key Object, version Object) : SoftLock from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public lockItem(session SessionImplementor, key Object, version Object) : SoftLock from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public prepareLocalAccessStrategy() : void from class org.hibernate.test.cache.infinispan.entity.TransactionalExtraAPITestCase to public prepareLocalAccessStrategy() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Add Parameter jtaPlatform : Class<? extends JtaPlatform> in method public buildCustomQueryCacheStandardServiceRegistryBuilder(regionPrefix String, queryCacheName String, jtaPlatform Class<? extends JtaPlatform>) : StandardServiceRegistryBuilder from class org.hibernate.test.cache.infinispan.util.CacheTestUtil Change Parameter Type region : EntityRegionImpl to region : NaturalIdRegionImpl in method package ReadWriteAccess(region NaturalIdRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.naturalid.ReadWriteAccess Move Method protected isUsingInvalidation() : boolean from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to protected isUsingInvalidation() : boolean from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public getPutFromLoadValidator() : PutFromLoadValidator from class org.hibernate.cache.infinispan.entity.EntityRegionImpl to protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Add Parameter cm : EmbeddedCacheManager in method protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Extract Superclass org.hibernate.test.cache.infinispan.functional.SingleNodeTest from class org.hibernate.test.cache.infinispan.functional.bulk.BulkOperationsTestCase Add Parameter delegate : AccessDelegate in method package CollectionAccess(region CollectionRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.collection.CollectionAccess Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.NoTenancyTestCase.testNoTenancy.withTx.new Callable with s -> {Item item2=s.get(Item.class,item.getId()); in method public testNoTenancy() : void from class org.hibernate.test.cache.infinispan.functional.NoTenancyTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.NoTenancyTestCase.testNoTenancy.id.withTx.new Callable with s -> s.persist(item) in method public testNoTenancy() : void from class org.hibernate.test.cache.infinispan.functional.NoTenancyTest Extract Method protected runInvalidation(inTransaction boolean) : void extracted from public checkValid() : boolean in class org.hibernate.cache.infinispan.impl.BaseRegion Remove Parameter tm : TransactionManager in method private doGetCustomer(id Integer, session Session, tm TransactionManager) : Customer from class org.hibernate.test.cache.infinispan.functional.cluster.EntityCollectionInvalidationTestCase Rename Class org.hibernate.test.cache.infinispan.collection.CollectionRegionImplTestCase renamed to org.hibernate.test.cache.infinispan.collection.CollectionRegionImplTest Remove Method Annotation @Override in method public removeAll() : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Pull Up Method public abstract update(session SessionImplementor, key Object, value Object, currentVersion Object, previousVersion Object) : boolean from class org.hibernate.cache.infinispan.access.TransactionalAccessDelegate to public update(session SessionImplementor, key Object, value Object, currentVersion Object, previousVersion Object) : boolean from class org.hibernate.cache.infinispan.access.AccessDelegate Move Method public remove(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public remove(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method private evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to protected evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public testPutFromLoadRemoveDoesNotProduceStaleData() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public testPutFromLoadRemoveDoesNotProduceStaleData() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Move Class org.hibernate.test.cache.infinispan.functional.Citizen moved to org.hibernate.test.cache.infinispan.functional.entities.Citizen Move Method public evictAll() : void from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public evictAll() : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Pull Up Method protected getUseQueryCache() : boolean from class org.hibernate.test.cache.infinispan.functional.cluster.DualNodeTestCase to protected getUseQueryCache() : boolean from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Move And Rename Method private evictOrRemoveTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to protected evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public getCacheKeyId(cacheKey Object) : Object from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public getCacheKeyId(cacheKey Object) : Object from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public testRemoveAll() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public testRemoveAll() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public lockRegion() : SoftLock from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public lockRegion() : SoftLock from class org.hibernate.cache.infinispan.collection.CollectionAccess Add Method Annotation @Override in method public evict(key Object) : void from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Extract Superclass org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest from class org.hibernate.test.cache.infinispan.collection.AbstractTransactionalAccessTestCase Remove Parameter tm : TransactionManager in method private deleteCitizenWithCriteria(tm TransactionManager, sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase Move Method private evictOrRemoveTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to protected evictOrRemoveTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Change Variable Type dao0 : ClassLoaderTestDAO to dao0 : AccountDAO in method public testRefreshAfterExternalChange() : void from class org.hibernate.test.cache.infinispan.functional.cluster.SessionRefreshTest Move Class org.hibernate.test.cache.infinispan.functional.State moved to org.hibernate.test.cache.infinispan.functional.entities.State Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testCollectionCache.withTx.new Callable with s -> {SecondLevelCacheStatistics cStats=stats.getSecondLevelCacheStatistics(Item.class.getName() + ".items"); in method public testCollectionCache() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Move Method public releaseLocalAccessStrategy() : void from class org.hibernate.test.cache.infinispan.collection.TransactionalExtraAPITestCase to public releaseLocalAccessStrategy() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Move Method public testPutFromLoad() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testPutFromLoad() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move And Rename Method package TransactionalAccess(region CollectionRegionImpl) from class org.hibernate.cache.infinispan.collection.TransactionalAccess to package CollectionAccess(region CollectionRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.collection.CollectionAccess Merge Class [org.hibernate.test.cache.infinispan.collection.ReadOnlyTestCase, org.hibernate.test.cache.infinispan.entity.InvalidatedTransactionalTestCase, org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase] merged to org.hibernate.test.cache.infinispan.entity.EntityRegionReadOnlyAccessTest.Invalidation Extract Method protected saveItem(itemId ByRef) : void extracted from public testAddNewOneToManyElementInitFlushLeaveCacheConsistent() : void in class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Move Method public getCacheConcurrencyStrategy() : String from class org.hibernate.test.cache.infinispan.functional.bulk.BulkOperationsTestCase to public getCacheConcurrencyStrategy() : String from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Remove Method Annotation @Override in method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object, minimalPutOverride boolean) : boolean from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Move Method protected isUsingInvalidation() : boolean from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to protected isUsingInvalidation() : boolean from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public testPutFromLoadMinimal() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testPutFromLoadMinimal() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method protected addSettings(settings Map) : void from class org.hibernate.test.cache.infinispan.functional.SingleNodeTestCase to protected addSettings(settings Map) : void from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest Extract Variable cacheMode : CacheMode in method public PutFromLoadValidator(cache AdvancedCache, cacheManager EmbeddedCacheManager) from class org.hibernate.cache.infinispan.access.PutFromLoadValidator Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase.saveSomeCitizens.withTx.new Callable with s -> {s.persist(australia); in method private saveSomeCitizens(sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTest Extract Superclass org.hibernate.test.cache.infinispan.functional.SingleNodeTest from class org.hibernate.test.cache.infinispan.functional.EqualityTest Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.InvalidatedTransactionalTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.CollectionRegionReadOnlyAccessTest.Invalidation Move And Rename Method protected getCacheRegionFactory() : Class<? extends RegionFactory> from class org.hibernate.test.cache.infinispan.functional.SingleNodeTestCase to protected getRegionFactoryClass() : Class<? extends RegionFactory> from class org.hibernate.test.cache.infinispan.timestamp.TimestampsRegionImplTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testCollectionCache.withTx.new Callable with s -> {Item loaded=s.load(Item.class,item.getId()); in method public testCollectionCache() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Add Class Modifier static in class org.hibernate.test.cache.infinispan.collection.CollectionRegionReadWriteAccessTest.Invalidation Remove Method Annotation @Override in method public evictAll() : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Move Method protected isSynchronous() : boolean from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to protected isSynchronous() : boolean from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public testGetRegion() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testGetRegion() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Rename Package org.hibernate.test.cache.infinispan.functional.classloader to org.hibernate.test.cache.infinispan.functional.cluster Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.CollectionRegionReadOnlyAccessTest.Invalidation Move Method public unlockItem(session SessionImplementor, key Object, lock SoftLock) : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public unlockItem(session SessionImplementor, key Object, lock SoftLock) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Rename Class org.hibernate.test.cache.infinispan.collection.AbstractReadOnlyAccessTestCase renamed to org.hibernate.test.cache.infinispan.collection.CollectionRegionReadOnlyAccessTest Extract Superclass org.hibernate.test.cache.infinispan.functional.SingleNodeTest from class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTestCase Remove Method Annotation @Test in method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.InvalidatedTransactionalTestCase Move Method public prepareResources() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public prepareResources() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Package org.hibernate.test.cache.infinispan.functional.bulk to org.hibernate.test.cache.infinispan.functional Move Method public testAfterInsert() : void from class org.hibernate.test.cache.infinispan.entity.TransactionalExtraAPITestCase to public testAfterInsert() : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionExtraAPITest Rename Class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase renamed to org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTest Move Class org.hibernate.test.cache.infinispan.functional.Contact moved to org.hibernate.test.cache.infinispan.functional.entities.Contact Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.MultiTenancyTestCase.testMultiTenancy.withTx.new Callable with s -> {Item item2=s.get(Item.class,item.getId()); in method public testMultiTenancy() : void from class org.hibernate.test.cache.infinispan.functional.MultiTenancyTest Remove Method Annotation @Override in method public testPutFromLoad() : void from class org.hibernate.test.cache.infinispan.entity.AbstractReadOnlyAccessTestCase Move Method public releaseResources() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public releaseResources() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public testContestedPutFromLoad() : void from class org.hibernate.test.cache.infinispan.entity.AbstractTransactionalAccessTestCase to public testContestedPutFromLoad() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Change Parameter Type holder : Object to holder : AccountHolder in method public getTotalBalance(holder AccountHolder, useRegion boolean) : int from class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Move Class org.hibernate.test.cache.infinispan.functional.Person moved to org.hibernate.test.cache.infinispan.functional.entities.Person Remove Parameter tm : TransactionManager in method private createCustomer(sessionFactory SessionFactory, tm TransactionManager) : IdContainer from class org.hibernate.test.cache.infinispan.functional.cluster.EntityCollectionInvalidationTestCase Change Method Access Modifier private to protected in method protected putFromLoadTest(useMinimalAPI boolean) : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Push Down Method package ReadOnlyAccess(region EntityRegionImpl) from class org.hibernate.cache.infinispan.entity.ReadOnlyAccess to package ReadWriteAccess(region EntityRegionImpl, delegate InvalidationCacheAccessDelegate) from class org.hibernate.cache.infinispan.entity.ReadWriteAccess Move And Rename Class org.hibernate.test.cache.infinispan.entity.ReadOnlyTestCase moved and renamed to org.hibernate.test.cache.infinispan.collection.CollectionRegionReadWriteAccessTest.Invalidation Add Parameter jtaPlatform : Class<? extends JtaPlatform> in method public buildBaselineStandardServiceRegistryBuilder(regionPrefix String, regionFactory Class, use2ndLevel boolean, useQueries boolean, jtaPlatform Class<? extends JtaPlatform>) : StandardServiceRegistryBuilder from class org.hibernate.test.cache.infinispan.util.CacheTestUtil Move Method public lockRegion() : SoftLock from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public lockRegion() : SoftLock from class org.hibernate.cache.infinispan.collection.CollectionAccess Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase.evictOrRemoveAllTest.withinTx.new Callable with () -> {if(evict){localAccessStrategy.evictAll(); in method protected evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public getRegion() : CollectionRegion from class org.hibernate.cache.infinispan.collection.TransactionalAccess to public getRegion() : CollectionRegion from class org.hibernate.cache.infinispan.collection.CollectionAccess Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.saveSomeCitizens.withTx.new Callable with s -> {s.persist(australia); in method private saveSomeCitizens() : List from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Add Method Annotation @Override in method public afterUpdate(session SessionImplementor, key Object, value Object, currentVersion Object, previousVersion Object, lock SoftLock) : boolean from class org.hibernate.cache.infinispan.access.TxInvalidationCacheAccessDelegate Remove Parameter Modifier final in parameter sf : SessionFactory in method private saveSomeCitizens(tm TransactionManager, sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase Move Method public prepareLocalAccessStrategy() : void from class org.hibernate.test.cache.infinispan.collection.TransactionalExtraAPITestCase to public prepareLocalAccessStrategy() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Move Method public remove(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public remove(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Remove Method Annotation @Override in method public remove(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Remove Parameter tm : TransactionManager in method private getCitizenWithCriteria(tm TransactionManager, sf SessionFactory) : void from class org.hibernate.test.cache.infinispan.functional.cluster.NaturalIdInvalidationTestCase Move Method private createCacheManager() : EmbeddedCacheManager from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to private createCacheManager() : EmbeddedCacheManager from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Remove Class Modifier static in class org.hibernate.test.cache.infinispan.stress.CorrectnessTestCase.TestInfinispanRegionFactory Add Method Annotation @Override in method public remove(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Move Method public lockItem(session SessionImplementor, key Object, version Object) : SoftLock from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public lockItem(session SessionImplementor, key Object, version Object) : SoftLock from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public unlockItem(session SessionImplementor, key Object, lock SoftLock) : void from class org.hibernate.cache.infinispan.entity.TransactionalAccess to public unlockItem(session SessionImplementor, key Object, lock SoftLock) : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Rename Class org.hibernate.test.cache.infinispan.AbstractGeneralDataRegionTestCase renamed to org.hibernate.test.cache.infinispan.AbstractGeneralDataRegionTest Add Method Annotation @Override in method public removeAll() : void from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Change Return Type Object to AccountHolder in method public getJones() : AccountHolder from class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Move Method public testGetRegion() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to public testGetRegion() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Change Method Access Modifier public to protected in method protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Add Method Annotation @Override in method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object, minimalPutOverride boolean) : boolean from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Remove Method Annotation @Override in method public unlockRegion(lock SoftLock) : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Move Method public testUnlockRegion() : void from class org.hibernate.test.cache.infinispan.collection.TransactionalExtraAPITestCase to public testUnlockRegion() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Move Method protected assertThreadsRanCleanly() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to protected assertThreadsRanCleanly() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Remove Method Modifier abstract in method public abstract insert(session SessionImplementor, key Object, value Object, version Object) : boolean from class org.hibernate.cache.infinispan.access.TransactionalAccessDelegate Remove Class Modifier abstract in class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTestCase Move Method public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object, minimalPutOverride boolean) : boolean from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public putFromLoad(session SessionImplementor, key Object, value Object, txTimestamp long, version Object, minimalPutOverride boolean) : boolean from class org.hibernate.cache.infinispan.collection.CollectionAccess Extract Class org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTest from class org.hibernate.test.cache.infinispan.functional.bulk.BulkOperationsTestCase Move Method protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTestCase to protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Remove Method Annotation @Override in method public evict(key Object) : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess Change Parameter Type holder : Object to holder : AccountHolder in method public createAccount(holder AccountHolder, id Integer, openingBalance Integer, branch String) : void from class org.hibernate.test.cache.infinispan.functional.cluster.AccountDAO Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.InvalidatedTransactionalTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.CollectionRegionReadOnlyAccessTest.Invalidation Move Class org.hibernate.test.cache.infinispan.collection.TransactionalExtraAPITestCase.MockSoftLock moved to org.hibernate.test.cache.infinispan.AbstractExtraAPITest.MockSoftLock Move Method public removeAll() : void from class org.hibernate.cache.infinispan.naturalid.TransactionalAccess to public removeAll() : void from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.ReadOnlyTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.CollectionRegionReadOnlyAccessTest.Invalidation Rename Class org.hibernate.test.cache.infinispan.AbstractNonFunctionalTestCase renamed to org.hibernate.test.cache.infinispan.AbstractNonFunctionalTest Change Method Access Modifier private to protected in method protected evictOrRemoveAllTest(evict boolean) : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Move Method public testEvict() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public testEvict() : void from class org.hibernate.test.cache.infinispan.AbstractRegionAccessStrategyTest Add Method Annotation @Test in method public testContestedPutFromLoad() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Extract Method protected saveItem(itemId ByRef) : void extracted from public testAddNewOneToManyElementNoInitFlushInitLeaveCacheConsistent() : void in class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Extract Method protected generateNextKey() : Object extracted from private putFromLoadTest(useMinimalAPI boolean) : void in class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTest Rename Class org.hibernate.test.cache.infinispan.query.QueryRegionImplTestCase renamed to org.hibernate.test.cache.infinispan.query.QueryRegionImplTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.AbstractFunctionalTestCase.testInsertDeleteEntity.withTx.new Callable with s -> s.persist(item) in method public testInsertDeleteEntity() : void from class org.hibernate.test.cache.infinispan.functional.ReadOnlyTest Move Method public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.InvalidatedTransactionalTestCase to public testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionReadOnlyAccessTest.Invalidation Push Down Method package ReadOnlyAccess(region EntityRegionImpl) from class org.hibernate.cache.infinispan.entity.ReadOnlyAccess to package ReadWriteAccess(region NaturalIdRegionImpl, delegate AccessDelegate) from class org.hibernate.cache.infinispan.naturalid.ReadWriteAccess Remove Method Modifier abstract in method public abstract update(session SessionImplementor, key Object, value Object, currentVersion Object, previousVersion Object) : boolean from class org.hibernate.cache.infinispan.access.TransactionalAccessDelegate Rename Class org.hibernate.test.cache.infinispan.collection.AbstractTransactionalAccessTestCase renamed to org.hibernate.test.cache.infinispan.collection.CollectionRegionReadWriteAccessTest Move Method public getPutFromLoadValidator() : PutFromLoadValidator from class org.hibernate.cache.infinispan.collection.CollectionRegionImpl to protected getPutFromLoadValidator(cache AdvancedCache, cm EmbeddedCacheManager, removeLatch CountDownLatch, pferLatch CountDownLatch) : PutFromLoadValidator from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Move Method public testAfterUpdate() : void from class org.hibernate.test.cache.infinispan.entity.TransactionalExtraAPITestCase to public testAfterUpdate() : void from class org.hibernate.test.cache.infinispan.entity.EntityRegionExtraAPITest Move Attribute private region : CollectionRegionImpl from class org.hibernate.cache.infinispan.collection.TransactionalAccess to private region : CollectionRegionImpl from class org.hibernate.cache.infinispan.collection.CollectionAccess Move Method public testLockItem() : void from class org.hibernate.test.cache.infinispan.collection.TransactionalExtraAPITestCase to public testLockItem() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest Move Method public abstract testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.entity.AbstractEntityRegionAccessStrategyTestCase to public abstract testCacheConfiguration() : void from class org.hibernate.test.cache.infinispan.collection.AbstractCollectionRegionAccessStrategyTest Replace Anonymous With Lambda org.hibernate.test.cache.infinispan.functional.BasicTransactionalTestCase.testNaturalIdLoaderCached.citizen.withTx.new Callable with s -> {State france=ReadWriteTest.this.getState(s,"Ile de France"); in method public testNaturalIdLoaderCached() : void from class org.hibernate.test.cache.infinispan.functional.ReadWriteTest Add Method Annotation @Override in method public unlockItem(session SessionImplementor, key Object) : void from class org.hibernate.cache.infinispan.access.InvalidationCacheAccessDelegate Move Method public testLockRegion() : void from class org.hibernate.test.cache.infinispan.collection.TransactionalExtraAPITestCase to public testLockRegion() : void from class org.hibernate.test.cache.infinispan.AbstractExtraAPITest

tsantalis commented 2 years ago

https://github.com/infinispan/infinispan/commit/b3fc0fc8a03aa071be22d8c663d03c4b5052fc12 had no exception with the latest commit of the project.

2022-04-04 21:38:28 INFO Processing https://github.com/infinispan/infinispan.git b3fc0fc8a03aa071be22d8c663d03c4b5052fc12 ... 2022-04-04 21:38:29 INFO Connected to GitHub with OAuth token 2022-04-04 21:38:30 INFO Downloading archive https://github.com/infinispan/infinispan/archive/b3fc0fc8a03aa071be22d8c663d03c4b5052fc12.zip 2022-04-04 21:38:33 INFO Unzipping archive https://github.com/infinispan/infinispan/archive/b3fc0fc8a03aa071be22d8c663d03c4b5052fc12.zip 2022-04-04 21:38:34 INFO Downloading archive https://github.com/infinispan/infinispan/archive/a67042826b976c1350102cce1ccb86d74527c4e4.zip 2022-04-04 21:38:37 INFO Unzipping archive https://github.com/infinispan/infinispan/archive/a67042826b976c1350102cce1ccb86d74527c4e4.zip Commits: 1 Errors: 0 Total TP: 0 FP: 43 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MA TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RM TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN IM TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MM TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MARM TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN PUM TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN EV TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN IV TP: 0 FP: 6 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RV TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RP TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CRT TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CVT TP: 0 FP: 6 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CPT TP: 0 FP: 9 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CAT TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MCA TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN AP TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RP TP: 0 FP: 3 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN CMAM TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN EA TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN AAM TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN at https://github.com/infinispan/infinispan/commit/b3fc0fc8a03aa071be22d8c663d03c4b5052fc12 false positives Inline Variable removed : boolean in method private commitSingleEntryIfNoChange(seenValue Object, seenVersion EntryVersion, entry CacheEntry, ctx InvocationContext, command VisitableCommand) : boolean from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Change Parameter Type command : ApplyDeltaCommand to command : PutMapCommand in method public visitPutMapCommand(ctx InvocationContext, command PutMapCommand) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor.PrimaryResponseGenerator Inline Variable contextEntry : CacheEntry in method private handleWriteCommand(ctx InvocationContext, command T) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Change Parameter Type command : C to command : DataWriteCommand in method private handleDataWriteCommand(ctx InvocationContext, command DataWriteCommand) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor.PrimaryResponseHandler Change Parameter Type entry : CacheEntry to entry : RepeatableReadEntry in method private commitSingleEntryIfNoChange(entry RepeatableReadEntry, ctx InvocationContext, command VisitableCommand) : void from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Change Variable Type cmd : T to cmd : DataWriteCommand in method private handleWriteCommand(ctx InvocationContext, command DataWriteCommand) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Rename Parameter prevVersion : EntryVersion to nextVersion : EntryVersion in method private commitSingleEntryOnReturn(ctx InvocationContext, command DataWriteCommand, cacheEntry RepeatableReadEntry, nextVersion EntryVersion) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Remove Parameter seenVersion : EntryVersion in method private commitSingleEntryIfNoChange(seenValue Object, seenVersion EntryVersion, entry CacheEntry, ctx InvocationContext, command VisitableCommand) : boolean from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Add Attribute Modifier final in attribute private cacheEntry : CacheEntry from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor.PrimaryResponseGenerator Inline Variable created : boolean in method private commitSingleEntryIfNewer(entry CacheEntry, ctx InvocationContext, command VisitableCommand) : boolean from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Rename Method private testReadOnMissingValue(keys K[], ro FunctionalMap.ReadOnlyMap<K,String>, method ReadMethod) : void renamed to private testReadOnMissingValues(keys K[], ro FunctionalMap.ReadOnlyMap<K,String>, method ReadMethod) : void in class org.infinispan.functional.FunctionalTxInMemoryTest Inline Method protected extractAndSetMetadata(ctx InvocationContext, command PutMapCommand, originalMap Map<Object,Object>) : void inlined to public visitPutMapCommand(ctx InvocationContext, command PutMapCommand) : Object in class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Inline Variable created : boolean in method private commitSingleEntryIfNoChange(seenValue Object, seenVersion EntryVersion, entry CacheEntry, ctx InvocationContext, command VisitableCommand) : boolean from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Change Parameter Type command : T to command : DataWriteCommand in method private handleWriteOnOriginPrimary(ctx InvocationContext, command DataWriteCommand, rv Object, cacheEntry RepeatableReadEntry, seenValue Object, seenVersion EntryVersion, cacheTopology CacheTopology, info DistributionInfo) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Modify Class Annotation @InCacheMode(CacheMode.DIST_SYNC) to @InCacheMode(CacheMode.SCATTERED_SYNC) in class org.infinispan.functional.stress.ReadOnlyManyCommandStressTest Rename Variable micv : MetadataImmortalCacheValue to array : Object[] in method private handleDataWriteCommand(ctx InvocationContext, command DataWriteCommand) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor.PrimaryResponseHandler Change Parameter Type cacheEntry : CacheEntry to cacheEntry : RepeatableReadEntry in method private commitSingleEntryOnReturn(ctx InvocationContext, command DataWriteCommand, cacheEntry RepeatableReadEntry, nextVersion EntryVersion) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Change Variable Type contextEntry : CacheEntry to contextEntry : RepeatableReadEntry in method private handleWriteCommand(ctx InvocationContext, command DataWriteCommand) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Move Method public completeExceptionally(ex Throwable) : boolean from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor.PutMapFuture to public completeExceptionally(ex Throwable) : boolean from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor.SyncMergingCompletableFuture Encapsulate Attribute protected oldValue : Object from class org.infinispan.container.entries.RepeatableReadEntry Pull Up Method private testReadOnMissingValue(key K, ro FunctionalMap.ReadOnlyMap<K,String>, method ReadMethod) : void from class org.infinispan.functional.FunctionalInMemoryTest to protected testReadOnMissingValue(key K, ro FunctionalMap.ReadOnlyMap<K,String>, method ReadMethod) : void from class org.infinispan.functional.AbstractFunctionalOpTest Change Variable Type micv : MetadataImmortalCacheValue to array : Object[] in method private handleDataWriteCommand(ctx InvocationContext, command DataWriteCommand) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor.PrimaryResponseHandler Change Parameter Type command : C to command : DataWriteCommand in method private handleValueResponseCommand(ctx InvocationContext, command DataWriteCommand) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor.PrimaryResponseHandler Inline Variable originalMap : Map<Object,Object> in method public visitPutMapCommand(ctx InvocationContext, command PutMapCommand) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Remove Parameter prevValue : Object in method private commitSingleEntryOnReturn(ctx InvocationContext, command DataWriteCommand, cacheEntry CacheEntry, prevValue Object, prevVersion EntryVersion) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Move And Rename Method public visitApplyDeltaCommand(ctx InvocationContext, command ApplyDeltaCommand) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor to public visitPutMapCommand(ctx InvocationContext, command PutMapCommand) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor.PrimaryResponseGenerator Change Variable Type entry : Map.Entry<Object,Object> to entry : Map.Entry<?,?> in method public visitPutMapCommand(ctx InvocationContext, command PutMapCommand) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Change Variable Type cacheEntry : CacheEntry to cacheEntry : RepeatableReadEntry in method private handleWriteCommand(ctx InvocationContext, command DataWriteCommand) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Change Attribute Type acceptCommand : Predicate to acceptCommand : Predicate in class org.infinispan.distribution.BlockingInterceptor Add Parameter cacheName : String in method protected getKey(isOwner boolean, cacheName String) : Object from class org.infinispan.functional.AbstractFunctionalOpTest Rename Variable versionMap : Map<Object,VersionedResult> to valueMap : Map<Object,Object> in method public visitPutMapCommand(ctx InvocationContext, command PutMapCommand) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Change Parameter Type entry : CacheEntry to entry : RepeatableReadEntry in method private commitSingleEntryIfNewer(entry RepeatableReadEntry, ctx InvocationContext, command VisitableCommand) : void from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Change Parameter Type cacheEntry : CacheEntry to cacheEntry : RepeatableReadEntry in method private handleWriteOnOriginPrimary(ctx InvocationContext, command DataWriteCommand, rv Object, cacheEntry RepeatableReadEntry, seenValue Object, seenVersion EntryVersion, cacheTopology CacheTopology, info DistributionInfo) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Inline Variable removed : boolean in method private commitSingleEntryIfNewer(entry CacheEntry, ctx InvocationContext, command VisitableCommand) : boolean from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Remove Parameter seenValue : Object in method private commitSingleEntryIfNoChange(seenValue Object, seenVersion EntryVersion, entry CacheEntry, ctx InvocationContext, command VisitableCommand) : boolean from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Move Attribute private cacheEntry : CacheEntry from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor.PrimaryResponseHandler to private cacheEntry : CacheEntry from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor.PrimaryResponseGenerator Extract Variable metadata : Metadata in method private handleWriteCommand(ctx InvocationContext, command DataWriteCommand) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Rename Method private handleComputeCommand(ctx InvocationContext, command C) : Object renamed to private handleValueResponseCommand(ctx InvocationContext, command DataWriteCommand) : Object in class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor.PrimaryResponseHandler Change Return Type boolean to void in method private commitSingleEntryIfNoChange(entry RepeatableReadEntry, ctx InvocationContext, command VisitableCommand) : void from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Change Parameter Type command : T to command : DataWriteCommand in method private handleWriteCommand(ctx InvocationContext, command DataWriteCommand) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Change Variable Type versionMap : Map<Object,VersionedResult> to valueMap : Map<Object,Object> in method public visitPutMapCommand(ctx InvocationContext, command PutMapCommand) : Object from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor Change Method Access Modifier private to protected in method protected testReadOnMissingValue(key K, ro FunctionalMap.ReadOnlyMap<K,String>, method ReadMethod) : void from class org.infinispan.functional.AbstractFunctionalOpTest Change Return Type boolean to void in method private commitSingleEntryIfNewer(entry RepeatableReadEntry, ctx InvocationContext, command VisitableCommand) : void from class org.infinispan.interceptors.distribution.ScatteredDistributionInterceptor

tsantalis commented 2 years ago

https://github.com/teiid/teiid/commit/578564332d2544151aadd7bf318bc5276407b155 had no exception with the latest commit of the project.

2022-04-04 21:51:15 INFO Cloning https://github.com/teiid/teiid.git ... 2022-04-04 21:51:54 INFO Processing tmp1/teiid 485fbcdd0cf896f24abfaf0b37cbc4f9ff21f38d ... 2022-04-04 21:51:54 INFO Processing tmp1/teiid 578564332d2544151aadd7bf318bc5276407b155 ... Commits: 1 Errors: 0 Total TP: 0 FP: 21 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RC TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN RM TP: 0 FP: 2 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MM TP: 0 FP: 8 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN MARM TP: 0 FP: 9 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN ES TP: 0 FP: 1 FN: 0 TN: 0 Unk.: 0 Prec.: 0.000 Recall: NaN at https://github.com/teiid/teiid/commit/578564332d2544151aadd7bf318bc5276407b155 false positives Move And Rename Method public testMultipleSourceBulkRowInsertRollback() : void from class org.teiid.test.testcases.TwoSourceTransaction to public testMultipleSourceViewBulkRowInsertRollback() : void from class org.teiid.test.testcases.TwoSourceTransactionScenarios Move And Rename Method public testMultipleSourcePreparedUpdate() : void from class org.teiid.test.testcases.TwoSourceTransaction to public testMultipleSourceViewPreparedUpdate() : void from class org.teiid.test.testcases.TwoSourceTransactionScenarios Move And Rename Method public testMultipleSourceBulkRowInsert() : void from class org.teiid.test.testcases.TwoSourceTransaction to public testMultipleSourceViewBulkRowInsert() : void from class org.teiid.test.testcases.TwoSourceTransactionScenarios Rename Class org.teiid.test.testcases.SingleSourceTransaction renamed to org.teiid.test.testcases.SingleSourceTransactionScenarios Move And Rename Method public testMultipleSourceMultipleVirtualCommandsRollback() : void from class org.teiid.test.testcases.TwoSourceTransaction to public testMultipleSourceViewMultipleCommandsRollback() : void from class org.teiid.test.testcases.TwoSourceTransactionScenarios Move Method public testMultipleSourceMultipleCommandsExplicitRollback() : void from class org.teiid.test.testcases.TwoSourceTransaction to public testMultipleSourceMultipleCommandsExplicitRollback() : void from class org.teiid.test.testcases.TwoSourceTransactionScenarios Rename Method public xtestSingleSourceMultipleCommandsExplicitRollback() : void renamed to public testSingleSourceMultipleCommandsExplicitRollback() : void in class org.teiid.test.testcases.SingleSourceTransactionScenarios Move Method package getMultipleSourceBatch() : String[] from class org.teiid.test.testcases.TwoSourceTransaction to package getMultipleSourceBatch() : String[] from class org.teiid.test.testcases.TwoSourceTransactionScenarios Move And Rename Method public testMultipleSourcePartialProcessingUsingLimit() : void from class org.teiid.test.testcases.TwoSourceTransaction to public testMultipleSourceViewPartialProcessingUsingLimit() : void from class org.teiid.test.testcases.TwoSourceTransactionScenarios Move Method public testMultipleSourceSelect() : void from class org.teiid.test.testcases.TwoSourceTransaction to public testMultipleSourceSelect() : void from class org.teiid.test.testcases.TwoSourceTransactionScenarios Move Method public testMultipleSourceTimeout() : void from class org.teiid.test.testcases.TwoSourceTransaction to public testMultipleSourceTimeout() : void from class org.teiid.test.testcases.TwoSourceTransactionScenarios Move Method public testMultipleSourcePartialProcessingUsingMakedep() : void from class org.teiid.test.testcases.TwoSourceTransaction to public testMultipleSourcePartialProcessingUsingMakedep() : void from class org.teiid.test.testcases.TwoSourceTransactionScenarios Move And Rename Method public testMultipleSourceUpdate() : void from class org.teiid.test.testcases.TwoSourceTransaction to public testMultipleSourceViewUpdate() : void from class org.teiid.test.testcases.TwoSourceTransactionScenarios Move And Rename Method public testMultipleSourceSelectInto() : void from class org.teiid.test.testcases.TwoSourceTransaction to public testMultipleSourceViewSelectInto() : void from class org.teiid.test.testcases.TwoSourceTransactionScenarios Move And Rename Method public testMultipleSourceVirtualSelect() : void from class org.teiid.test.testcases.TwoSourceTransaction to public testMultipleSourceViewSelect() : void from class org.teiid.test.testcases.TwoSourceTransactionScenarios Move And Rename Method public testMultipleSourceMultipleVirtualCommands() : void from class org.teiid.test.testcases.TwoSourceTransaction to public testMultipleSourceViewMultipleCommands() : void from class org.teiid.test.testcases.TwoSourceTransactionScenarios Move Method public testMultipleSourceMultipleCommands() : void from class org.teiid.test.testcases.TwoSourceTransaction to public testMultipleSourceMultipleCommands() : void from class org.teiid.test.testcases.TwoSourceTransactionScenarios Extract Superclass org.teiid.test.testcases.TwoSourceTransactionScenarios from class org.teiid.test.testcases.LocalTransactionDriverTrueOffTest Move Method public testMultipleSourceMultipleCommandsReferentialIntegrityRollback() : void from class org.teiid.test.testcases.TwoSourceTransaction to public testMultipleSourceMultipleCommandsReferentialIntegrityRollback() : void from class org.teiid.test.testcases.TwoSourceTransactionScenarios Rename Method public xtestSingleSourceMultipleCommandsReferentialIntegrityRollback() : void renamed to public testSingleSourceMultipleCommandsReferentialIntegrityRollback() : void in class org.teiid.test.testcases.SingleSourceTransactionScenarios Move Method public testMultipleSourceMultipleCommandsCancel() : void from class org.teiid.test.testcases.TwoSourceTransaction to public testMultipleSourceMultipleCommandsCancel() : void from class org.teiid.test.testcases.TwoSourceTransactionScenarios

feifeiniu-se commented 2 years ago

I want to run the tool for project: https://github.com/weld/core.git and detect all the refactoring types between commit b447a885d2aff65e7e95f4d35088f0d0489a3516 and c2cf7893759f15618ab25ca208050d880a245216. But with the latest code, I encountered more errors than last version.