278597ce4864e9e857ef5ab2650af5c08badae9d
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 127
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Subclass | 1 | ||
Extract Subclass org.infinispan.query.blackbox.IndexedEntityAutodetectTest from class org.infinispan.query.blackbox.LocalCacheTest | From | To | |
Change Parameter Type | 4 | ||
Change Parameter Type searchManager : SearchManager to isIndexed : boolean in method public RemoteQueryEngine(cache AdvancedCache<?,?>, isIndexed boolean, isCompatMode boolean, serCtx SerializationContext) in class org.infinispan.query.remote.impl.RemoteQueryEngine | From | To | |
Change Parameter Type searchManager : SearchManager to isIndexed : boolean in method public QueryEngine(cache AdvancedCache<?,?>, isIndexed boolean) in class org.infinispan.query.dsl.embedded.impl.QueryEngine | From | To | |
Change Parameter Type types : Class... to types : Class<?>... in method private assertIndexingKnows(cache Cache<Object,Object>, types Class<?>...) : void in class org.infinispan.query.blackbox.IndexedEntityAutodetectTest | From | To | |
Change Parameter Type properties : Properties to indexingConfiguration : IndexingConfiguration in method private addCacheDependencyIfNeeded(cacheStarting String, cacheManager EmbeddedCacheManager, indexingConfiguration IndexingConfiguration) : void in class org.infinispan.query.impl.LifecycleManager | From | To | |
Move Attribute | 1 | ||
Move Attribute private cacheListener : Object from class org.infinispan.query.backend.QueryKnownClasses to private cacheListener : Object from class org.infinispan.query.backend.SearchFactoryHandler | From | To | |
Move Class | 1 | ||
Move Class org.infinispan.query.backend.QueryKnownClasses.CacheListener moved to org.infinispan.query.backend.SearchFactoryHandler.CacheListener | From | To | |
Change Variable Type | 1 | ||
Change Variable Type initializer : CommandInitializer to searchFactory : SearchIntegrator in method public cacheStarted(cr ComponentRegistry, cacheName String) : void in class org.infinispan.query.impl.LifecycleManager | From | To | |
Extract Variable | 5 | ||
Extract Variable action : GetCacheComponentRegistryAction in method package getCacheComponentRegistry(cache AdvancedCache<?,?>) : ComponentRegistry from class org.infinispan.query.SecurityActions | From | To | |
Extract Variable isIndexed : boolean in method public cacheStarting(cr ComponentRegistry, cfg Configuration, cacheName String) : void from class org.infinispan.query.impl.LifecycleManager | From | To | |
Extract Variable indexedEntities : Class<?>[] in method private getSearchFactory(cacheName String, indexingConfiguration IndexingConfiguration, cr ComponentRegistry) : SearchIntegrator from class org.infinispan.query.impl.LifecycleManager | From | To | |
Extract Variable isIndexed : boolean in method public cacheStarting(cr ComponentRegistry, cfg Configuration, cacheName String) : void from class org.infinispan.query.remote.impl.LifecycleManager | From | To | |
Extract Variable isCompatMode : boolean in method public cacheStarting(cr ComponentRegistry, cfg Configuration, cacheName String) : void from class org.infinispan.query.remote.impl.LifecycleManager | From | To | |
Inline Variable | 3 | ||
Inline Variable isIndexed : boolean in method public cacheStarted(cr ComponentRegistry, cacheName String) : void from class org.infinispan.query.remote.impl.LifecycleManager | From | To | |
Inline Variable isCompatMode : boolean in method public cacheStarted(cr ComponentRegistry, cacheName String) : void from class org.infinispan.query.remote.impl.LifecycleManager | From | To | |
Inline Variable indexingEnabled : boolean in method public cacheStarted(cr ComponentRegistry, cacheName String) : void from class org.infinispan.query.impl.LifecycleManager | From | To | |
Extract Method | 1 | ||
Extract Method private parseProperty(reader XMLExtendedStreamReader, properties Properties) : void extracted from public parseProperties(reader XMLExtendedStreamReader) : Properties in class org.infinispan.configuration.parsing.Parser80 | From | To | |
Rename Method | 3 | ||
Rename Method package getCacheConfiguration(cache AdvancedCache<?,?>) : Configuration renamed to package getCacheComponentRegistry(cache AdvancedCache<?,?>) : ComponentRegistry in class org.infinispan.query.SecurityActions | From | To | |
Rename Method public isIndexed(c Class<?>) : boolean renamed to public hasIndex(c Class<?>) : boolean in class org.infinispan.query.backend.QueryInterceptor | From | To | |
Rename Method package isIndexed(c Class<?>) : boolean renamed to package hasIndex(c Class<?>) : boolean in class org.infinispan.query.backend.SearchFactoryHandler | From | To | |
Push Down Method | 6 | ||
Push Down Method public testEntityDiscovery() : void from class org.infinispan.all.embeddedquery.LocalCacheTest to public testEntityDiscovery() : void from class org.infinispan.query.blackbox.IndexedEntityAutodetectTest | From | To | |
Push Down Method public testEntityDiscovery() : void from class org.infinispan.all.embeddedquery.LocalCacheTest to public testEntityDiscovery() : void from class org.infinispan.all.embeddedquery.IndexedEntityAutodetectTest | From | To | |
Push Down Method protected getQueryFactory() : QueryFactory from class org.infinispan.all.embeddedquery.AbstractQueryTest to protected getQueryFactory() : QueryFactory from class org.infinispan.all.embeddedquery.QueryDslConditionsTest | From | To | |
Push Down Method public testEntityDiscovery() : void from class org.infinispan.query.blackbox.LocalCacheTest to public testEntityDiscovery() : void from class org.infinispan.query.blackbox.IndexedEntityAutodetectTest | From | To | |
Push Down Method private assertIndexingKnows(cache Cache<Object,Object>, types Class...) : void from class org.infinispan.query.blackbox.LocalCacheTest to private assertIndexingKnows(cache Cache<Object,Object>, types Class<?>...) : void from class org.infinispan.query.blackbox.IndexedEntityAutodetectTest | From | To | |
Push Down Method protected getCacheForQuery() : BasicCache<Object,Object> from class org.infinispan.all.embeddedquery.AbstractQueryTest to protected getCacheForQuery() : BasicCache<Object,Object> from class org.infinispan.all.embeddedquery.QueryDslConditionsTest | From | To | |
Inline Method | 1 | ||
Inline Method private updateClusterRegistry(classes Class<?>...) : void inlined to private handleOnDemandRegistration(allowUndeclared boolean, classes Class<?>...) : void in class org.infinispan.query.backend.SearchFactoryHandler | From | To | |
Rename Variable | 4 | ||
Rename Variable p : Properties to properties : Properties in method public parseProperties(reader XMLExtendedStreamReader) : Properties in class org.infinispan.configuration.parsing.Parser80 | From | To | |
Rename Variable keys : Set<Class<?>> to classes : Set<Class<?>> in method protected start() : void in class org.infinispan.query.backend.QueryInterceptor | From | To | |
Rename Variable array : Class<?>[] to classesArray : Class<?>[] in method protected start() : void in class org.infinispan.query.backend.QueryInterceptor | From | To | |
Rename Variable initializer : CommandInitializer to searchFactory : SearchIntegrator in method public cacheStarted(cr ComponentRegistry, cacheName String) : void in class org.infinispan.query.impl.LifecycleManager | From | To | |
Change Return Type | 1 | ||
Change Return Type Configuration to ComponentRegistry in method package getCacheComponentRegistry(cache AdvancedCache<?,?>) : ComponentRegistry in class org.infinispan.query.SecurityActions | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable p : Properties to properties : Properties in method private parseProperty(reader XMLExtendedStreamReader, properties Properties) : void in class org.infinispan.configuration.parsing.Parser80 | From | To | |
Rename Parameter | 3 | ||
Rename Parameter properties : Properties to indexingConfiguration : IndexingConfiguration in method private addCacheDependencyIfNeeded(cacheStarting String, cacheManager EmbeddedCacheManager, indexingConfiguration IndexingConfiguration) : void in class org.infinispan.query.impl.LifecycleManager | From | To | |
Rename Parameter searchManager : SearchManager to isIndexed : boolean in method public RemoteQueryEngine(cache AdvancedCache<?,?>, isIndexed boolean, isCompatMode boolean, serCtx SerializationContext) in class org.infinispan.query.remote.impl.RemoteQueryEngine | From | To | |
Rename Parameter searchManager : SearchManager to isIndexed : boolean in method public QueryEngine(cache AdvancedCache<?,?>, isIndexed boolean) in class org.infinispan.query.dsl.embedded.impl.QueryEngine | From | To |