40c2050c233c6fbfc382bd4208dbfdf1a6a9a0a4
Files Diff
- Added: 6
- Removed: 2
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 5 | ||
Change Parameter Type entry : InternalCacheEntry to entry : Entry<K,InternalCacheEntry<K,V>> in method public onEntryChosenForEviction(entry Entry<K,InternalCacheEntry<K,V>>) : void in class org.infinispan.container.DefaultDataContainer.DefaultEvictionListener | From | To | |
Change Parameter Type key : Object to entry : Entry<K,InternalCacheEntry<K,V>> in method public onEntryRemoved(entry Entry<K,InternalCacheEntry<K,V>>) : void in class org.infinispan.container.DefaultDataContainer.DefaultEvictionListener | From | To | |
Change Parameter Type nodeEq : NodeEquivalence<K,V> to map : BoundedEquivalentConcurrentHashMapV8<K,V> in method package TreeBin(b TreeNode<K,V>, map BoundedEquivalentConcurrentHashMapV8<K,V>) in class org.infinispan.commons.util.concurrent.jdk8backported.BoundedEquivalentConcurrentHashMapV8.TreeBin | From | To | |
Change Parameter Type action : BiAction<? super K,? super V> to action : KeyValueAction<? super K,? super V> in method public forEach(parallelismThreshold long, action KeyValueAction<? super K,? super V>) : void in class org.infinispan.commons.util.concurrent.jdk8backported.BoundedEquivalentConcurrentHashMapV8 | From | To | |
Change Parameter Type action : BiAction<? super K,? super V> to action : KeyValueAction<? super K,? super V> in method package ForEachMappingTask(p BulkTask<K,V,?>, b int, i int, f int, t Node<K,V>[], action KeyValueAction<? super K,? super V>) in class org.infinispan.commons.util.concurrent.jdk8backported.BoundedEquivalentConcurrentHashMapV8.ForEachMappingTask | From | To | |
Rename Variable | 1 | ||
Rename Variable p : Node<K,V> to k : K in method public next() : V in class org.infinispan.commons.util.concurrent.jdk8backported.BoundedEquivalentConcurrentHashMapV8.ValueIterator | From | To | |
Extract Attribute | 1 | ||
Extract Attribute private MAX_ENTRIES : int in class org.infinispan.container.versioning.AbstractClusteredWriteSkewTest | From | To | |
Rename Class | 1 | ||
Rename Class org.infinispan.container.DefaultDataContainer.BoundedConcurrentExtendedMap renamed to org.infinispan.container.DefaultDataContainer.BoundedEquivalentConcurrentExtendedMap | From | To | |
Rename Attribute | 1 | ||
Rename Attribute lastReturned : Node<K,V> to lastKey : K in class org.infinispan.commons.util.concurrent.jdk8backported.BoundedEquivalentConcurrentHashMapV8.BaseIterator | From | To | |
Change Variable Type | 3 | ||
Change Variable Type action : BiAction<? super K,? super V> to action : KeyValueAction<? super K,? super V> in method public compute() : void in class org.infinispan.commons.util.concurrent.jdk8backported.BoundedEquivalentConcurrentHashMapV8.ForEachMappingTask | From | To | |
Change Variable Type p : Node<K,V> to p : K in method public remove() : void in class org.infinispan.commons.util.concurrent.jdk8backported.BoundedEquivalentConcurrentHashMapV8.BaseIterator | From | To | |
Change Variable Type p : Node<K,V> to k : K in method public next() : V in class org.infinispan.commons.util.concurrent.jdk8backported.BoundedEquivalentConcurrentHashMapV8.ValueIterator | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type action : BiAction<? super K,? super V> to action : KeyValueAction<? super K,? super V> in class org.infinispan.commons.util.concurrent.jdk8backported.BoundedEquivalentConcurrentHashMapV8.ForEachMappingTask | From | To | |
Change Attribute Type lastReturned : Node<K,V> to lastKey : K in class org.infinispan.commons.util.concurrent.jdk8backported.BoundedEquivalentConcurrentHashMapV8.BaseIterator | From | To | |
Extract Method | 1 | ||
Extract Method package replaceNode(key Object, value V, cv Object, isEvict boolean) : V extracted from package replaceNode(key Object, value V, cv Object) : V in class org.infinispan.commons.util.concurrent.jdk8backported.BoundedEquivalentConcurrentHashMapV8 | From | To | |
Rename Parameter | 3 | ||
Rename Parameter initialCapacity : int to maxSize : int in method public newKeySet(maxSize int, keyEquivalence Equivalence<K>) : KeySetView<K,Boolean> in class org.infinispan.commons.util.concurrent.jdk8backported.BoundedEquivalentConcurrentHashMapV8 | From | To | |
Rename Parameter nodeEq : NodeEquivalence<K,V> to map : BoundedEquivalentConcurrentHashMapV8<K,V> in method package TreeBin(b TreeNode<K,V>, map BoundedEquivalentConcurrentHashMapV8<K,V>) in class org.infinispan.commons.util.concurrent.jdk8backported.BoundedEquivalentConcurrentHashMapV8.TreeBin | From | To | |
Rename Parameter key : Object to entry : Entry<K,InternalCacheEntry<K,V>> in method public onEntryRemoved(entry Entry<K,InternalCacheEntry<K,V>>) : void in class org.infinispan.container.DefaultDataContainer.DefaultEvictionListener | From | To |