ae096d0ec6ac622e8f2308444f68c844fefddd25
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 30
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 2 | ||
Pull Up Method public size() : int from class org.infinispan.interceptors.impl.CacheLoaderInterceptor.WrappedKeySet to public size() : int from class org.infinispan.interceptors.impl.CacheLoaderInterceptor.AbstractLoaderSet | From | To | |
Pull Up Method public size() : int from class org.infinispan.interceptors.impl.CacheLoaderInterceptor.WrappedEntrySet to public size() : int from class org.infinispan.interceptors.impl.CacheLoaderInterceptor.AbstractLoaderSet | From | To | |
Change Parameter Type | 8 | ||
Change Parameter Type entry : CacheEntry<A,B> to entry : Entry<A,B> in method package EntryWrapper(storageEntry Entry<A,B>, entry Entry<A,B>) in class org.infinispan.cache.impl.EncoderCache.EntryWrapper | From | To | |
Change Parameter Type previousEntry : CacheEntry<A,B> to storageEntry : Entry<A,B> in method package EntryWrapper(storageEntry Entry<A,B>, entry Entry<A,B>) in class org.infinispan.cache.impl.EncoderCache.EntryWrapper | From | To | |
Change Parameter Type key : K to key : Object in method public loadAndCheckExpiration(persistenceManager PersistenceManager, key Object, context InvocationContext, timeService TimeService) : MarshalledEntry<K,V> in class org.infinispan.persistence.PersistenceUtil | From | To | |
Change Parameter Type iterator : CloseableIterator<? extends E> to iterator : Iterator<? extends E> in method public CloseableIteratorMapper(iterator Iterator<? extends E>, function Function<? super E,? extends S>) in class org.infinispan.commons.util.CloseableIteratorMapper | From | To | |
Change Parameter Type context : InvocationContext to localInvocation : boolean in method public loadFromAllStores(key Object, localInvocation boolean) : MarshalledEntry in class org.infinispan.persistence.manager.PersistenceManager | From | To | |
Change Parameter Type context : InvocationContext to localContext : boolean in method public loadFromAllStores(key Object, localContext boolean) : MarshalledEntry in class org.infinispan.persistence.manager.PersistenceManagerStub | From | To | |
Change Parameter Type spliterator : CloseableSpliterator<E> to spliterator : Spliterator<E> in method public CloseableSpliteratorMapper(spliterator Spliterator<E>, mapper Function<? super E,? extends S>) in class org.infinispan.commons.util.CloseableSpliteratorMapper | From | To | |
Change Parameter Type context : InvocationContext to localInvocation : boolean in method public loadFromAllStores(key Object, localInvocation boolean) : MarshalledEntry in class org.infinispan.persistence.manager.PersistenceManagerImpl | From | To | |
Move Method | 3 | ||
Move Method protected delegate() : CacheEntry<A,B> from class org.infinispan.cache.impl.EncoderCache.EntryWrapper to protected delegate() : CacheEntry<A,B> from class org.infinispan.cache.impl.EncoderCache.CacheEntryWrapper | From | To | |
Move Method public spliterator() : CloseableSpliterator<K> from class org.infinispan.cache.impl.EncoderCache.EncodedKeySet to public spliterator() : CloseableSpliterator<K> from class org.infinispan.cache.impl.SimpleCacheImpl.KeySet | From | To | |
Move Method package toEntry(o Object) : Map.Entry from class org.infinispan.cache.impl.EncoderCache.EncoderEntrySet to package toEntry(o Object) : Map.Entry<K,V> from class org.infinispan.cache.impl.EncoderCache | From | To | |
Change Return Type | 2 | ||
Change Return Type Map.Entry to Map.Entry<K,V> in method package toEntry(o Object) : Map.Entry<K,V> in class org.infinispan.cache.impl.EncoderCache | From | To | |
Change Return Type CacheSet<Entry<K,V>> to CacheSet<Map.Entry<K,V>> in method public entrySet() : CacheSet<Map.Entry<K,V>> in class org.infinispan.cache.impl.EncoderCache | From | To | |
Move Attribute | 4 | ||
Move Attribute private isRemoteIteration : boolean from class org.infinispan.commands.read.EntrySetCommand to private isRemoteIteration : boolean from class org.infinispan.interceptors.impl.CacheLoaderInterceptor.WrappedKeySet | From | To | |
Move Attribute private isRemoteIteration : boolean from class org.infinispan.commands.read.EntrySetCommand to private isRemoteIteration : boolean from class org.infinispan.interceptors.impl.CacheLoaderInterceptor.WrappedEntrySet | From | To | |
Move Attribute private isRemoteIteration : boolean from class org.infinispan.commands.read.EntrySetCommand to private isRemoteIteration : boolean from class org.infinispan.commands.read.KeySetCommand.BackingKeySet | From | To | |
Move Attribute private previousEntry : CacheEntry<A,B> from class org.infinispan.cache.impl.EncoderCache.EntryWrapper to private previousEntry : CacheEntry<A,B> from class org.infinispan.cache.impl.EncoderCache.CacheEntryWrapper | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.infinispan.interceptors.impl.CacheLoaderInterceptor.AbstractLoaderSet from classes [org.infinispan.interceptors.impl.CacheLoaderInterceptor.WrappedEntrySet, org.infinispan.interceptors.impl.CacheLoaderInterceptor.WrappedKeySet] | From | To | |
Rename Attribute | 1 | ||
Rename Attribute previousEntry : CacheEntry<A,B> to storageEntry : Entry<A,B> in class org.infinispan.cache.impl.EncoderCache.EntryWrapper | From | To | |
Change Variable Type | 1 | ||
Change Variable Type value : V to value : InternalCacheEntry<K,V> in method public contains(o Object) : boolean in class org.infinispan.commands.read.EntrySetCommand.BackingEntrySet | From | To | |
Extract Method | 2 | ||
Extract Method protected innerIterator() : CloseableIterator<K> extracted from public iterator() : CloseableIterator<K> in class org.infinispan.interceptors.impl.CacheLoaderInterceptor.WrappedKeySet | From | To | |
Extract Method protected innerIterator() : CloseableIterator<CacheEntry<K,V>> extracted from public iterator() : CloseableIterator<CacheEntry<K,V>> in class org.infinispan.interceptors.impl.CacheLoaderInterceptor.WrappedEntrySet | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type previousEntry : CacheEntry<A,B> to storageEntry : Entry<A,B> in class org.infinispan.cache.impl.EncoderCache.EntryWrapper | From | To | |
Change Attribute Type entry : CacheEntry<A,B> to entry : Entry<A,B> in class org.infinispan.cache.impl.EncoderCache.EntryWrapper | From | To | |
Change Attribute Type iterator : CloseableIterator<? extends E> to iterator : Iterator<? extends E> in class org.infinispan.commons.util.CloseableIteratorMapper | From | To | |
Rename Parameter | 4 | ||
Rename Parameter previousEntry : CacheEntry<A,B> to storageEntry : Entry<A,B> in method package EntryWrapper(storageEntry Entry<A,B>, entry Entry<A,B>) in class org.infinispan.cache.impl.EncoderCache.EntryWrapper | From | To | |
Rename Parameter context : InvocationContext to localInvocation : boolean in method public loadFromAllStores(key Object, localInvocation boolean) : MarshalledEntry in class org.infinispan.persistence.manager.PersistenceManagerImpl | From | To | |
Rename Parameter context : InvocationContext to localContext : boolean in method public loadFromAllStores(key Object, localContext boolean) : MarshalledEntry in class org.infinispan.persistence.manager.PersistenceManagerStub | From | To | |
Rename Parameter context : InvocationContext to localInvocation : boolean in method public loadFromAllStores(key Object, localInvocation boolean) : MarshalledEntry in class org.infinispan.persistence.manager.PersistenceManager | From | To |