acecfdeed1933b8b03b334f12faf7db7f963bfb1
Files Diff
- Added: 19
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method private safeCopy(original V) : V from class org.infinispan.jcache.embedded.JCache to private copy(original V) : V from class org.infinispan.jcache.embedded.functions.Invoke | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type keysToLoad : List<K> to keysToLoad : Collection<? extends K> in method protected loadAllKeys(keysToLoad Collection<? extends K>) : Map<K,V> in class org.infinispan.jcache.AbstractJCache | From | To | |
Inline Method | 6 | ||
Inline Method private doGet(key K) : V inlined to public get(key K) : V in class org.infinispan.jcache.embedded.JCache | From | To | |
Inline Method private doPut(key K, value V) : void inlined to public put(key K, value V) : void in class org.infinispan.jcache.embedded.JCache | From | To | |
Inline Method private doPut(key K, value V) : void inlined to public putAll(inputMap Map<? extends K,? extends V>) : void in class org.infinispan.jcache.embedded.JCache | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable keysToLoad : List<K> to keys : Set<? extends K> in method private loadAllFromInfinispanCacheLoader(keys Set<? extends K>, replaceExistingValues boolean, listener CompletionListener) : void in class org.infinispan.jcache.embedded.JCache | From | To | |
Change Variable Type | 2 | ||
Change Variable Type keysToLoad : List<K> to keys : Set<? extends K> in method private loadAllFromInfinispanCacheLoader(keys Set<? extends K>, replaceExistingValues boolean, listener CompletionListener) : void in class org.infinispan.jcache.embedded.JCache | From | To | |
Change Variable Type futures : List<Future<V>> to futures : List<CompletableFuture<V>> in method public removeAll() : void in class org.infinispan.jcache.embedded.JCache | From | To | |
Inline Variable | 1 | ||
Inline Variable asyncCache : AsyncCache<K,V> in method private loadAllFromInfinispanCacheLoader(keys Set<? extends K>, replaceExistingValues boolean, listener CompletionListener) : void from class org.infinispan.jcache.embedded.JCache | From | To | |
Extract Method | 1 | ||
Extract Method private readMap() : ReadWriteMap<K,V> extracted from public getAll(keys Set<? extends K>) : Map<K,V> in class org.infinispan.jcache.embedded.JCache | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public launderException(e CompletionException) : CacheException extracted from public removeAll() : void in class org.infinispan.jcache.embedded.JCache & moved to class org.infinispan.jcache.Exceptions | From | To |