44b255889cfb168aaac8adc162f740beb61a7221
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Pull Up Method | 2 | ||
| Pull Up Method public size() : int from class org.apache.hadoop.hbase.util.WeakObjectPool to public size() : int from class org.apache.hadoop.hbase.util.ObjectPool | From | To | |
| Pull Up Method public get(key K) : V from class org.apache.hadoop.hbase.util.WeakObjectPool to public get(key K) : V from class org.apache.hadoop.hbase.util.ObjectPool | From | To | |
| Pull Up Attribute | 4 | ||
| Pull Up Attribute public DEFAULT_INITIAL_CAPACITY : int from class org.apache.hadoop.hbase.util.WeakObjectPool to public DEFAULT_INITIAL_CAPACITY : int from class org.apache.hadoop.hbase.util.ObjectPool | From | To | |
| Pull Up Attribute private staleRefQueue : ReferenceQueue<V> from class org.apache.hadoop.hbase.util.WeakObjectPool to protected staleRefQueue : ReferenceQueue<V> from class org.apache.hadoop.hbase.util.ObjectPool | From | To | |
| Pull Up Attribute private objectFactory : ObjectFactory<K,V> from class org.apache.hadoop.hbase.util.WeakObjectPool to private objectFactory : ObjectFactory<K,V> from class org.apache.hadoop.hbase.util.ObjectPool | From | To | |
| Pull Up Attribute public DEFAULT_CONCURRENCY_LEVEL : int from class org.apache.hadoop.hbase.util.WeakObjectPool to public DEFAULT_CONCURRENCY_LEVEL : int from class org.apache.hadoop.hbase.util.ObjectPool | From | To | |
| Move Class | 1 | ||
| Move Class org.apache.hadoop.hbase.util.WeakObjectPool.ObjectFactory moved to org.apache.hadoop.hbase.util.ObjectPool.ObjectFactory | From | To | |
| Extract Superclass | 1 | ||
| Extract Superclass org.apache.hadoop.hbase.util.ObjectPool from classes [org.apache.hadoop.hbase.util.WeakObjectPool] | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type ref : ObjectReference to ref : WeakObjectReference in method public purge() : void in class org.apache.hadoop.hbase.util.WeakObjectPool | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type pool : WeakObjectPool<String,Object> to pool : ObjectPool<String,Object> in class org.apache.hadoop.hbase.util.TestWeakObjectPool | From | To | |
| Change Attribute Type lockPool : WeakObjectPool<Long,ReentrantReadWriteLock> to lockPool : ObjectPool<Long,ReentrantReadWriteLock> in class org.apache.hadoop.hbase.util.IdReadWriteLock | From | To |