5f61f9cc5c9333d474ceb1e3cae555f5fd7ab623
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private checkContains(key byte[], keyOffset int, keyLength int, block int) : boolean renamed to public contains(keyCell Cell, bloom ByteBuff, type BloomType) : boolean in class org.apache.hadoop.hbase.io.hfile.CompoundBloomFilter | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public hash(bytes byte[], offset int, length int, initval int) : int moved from class org.apache.hadoop.hbase.util.Hash to class org.apache.hadoop.hbase.util.BloomFilterChunk & inlined to package add(buf byte[], offset int, len int) : void | From | To | |
Change Parameter Type | 4 | ||
Change Parameter Type hashKey : HashKey to hashKey : HashKey<T> in method public hash(hashKey HashKey<T>, seed int) : int in class org.apache.hadoop.hbase.util.MurmurHash | From | To | |
Change Parameter Type hashKey : HashKey to hashKey : HashKey<T> in method public hash(hashKey HashKey<T>, initval int) : int in class org.apache.hadoop.hbase.util.JenkinsHash | From | To | |
Change Parameter Type hashKey : HashKey to hashKey : HashKey<T> in method public hash(hashKey HashKey<T>, initval int) : int in class org.apache.hadoop.hbase.util.MurmurHash3 | From | To | |
Change Parameter Type hashKey : HashKey to hashKey : HashKey<T> in method public abstract hash(hashKey HashKey<T>, initval int) : int in class org.apache.hadoop.hbase.util.Hash | From | To | |
Merge Variable | 1 | ||
Merge Variable [buf : byte[], offset : int, len : int] to hashKey : HashKey<byte[]> in method package add(buf byte[], offset int, len int) : void in class org.apache.hadoop.hbase.util.BloomFilterChunk | From | To | |
Change Variable Type | 1 | ||
Change Variable Type hashKey : ByteArrayHashKey to hashKey : HashKey<byte[]> in method public contains(buf byte[], offset int, length int, bloomBuf ByteBuff, bloomOffset int, bloomSize int, hash Hash, hashCount int) : boolean in class org.apache.hadoop.hbase.util.BloomFilterUtil | From | To | |
Extract Method | 2 | ||
Extract Method private getBloomBlock(block int) : HFileBlock extracted from private checkContains(key byte[], keyOffset int, keyLength int, block int) : boolean in class org.apache.hadoop.hbase.io.hfile.CompoundBloomFilter | From | To | |
Extract Method private contains(bloomBuf ByteBuff, bloomOffset int, bloomSize int, hash Hash, hashCount int, hashKey HashKey<T>) : boolean extracted from public contains(buf byte[], offset int, length int, bloomBuf ByteBuff, bloomOffset int, bloomSize int, hash Hash, hashCount int) : boolean in class org.apache.hadoop.hbase.util.BloomFilterUtil | From | To |