285e104176bf848dc81657ac5358ad3beb49cc57
Files Diff
- Added: 8
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 4 | ||
Change Parameter Type data : byte[] to hashKey : HashKey in method public hash(hashKey HashKey, offset int, length int, seed int) : int in class org.apache.hadoop.hbase.util.MurmurHash | From | To | |
Change Parameter Type bytes : byte[] to hashKey : HashKey in method public abstract hash(hashKey HashKey, offset int, length int, initval int) : int in class org.apache.hadoop.hbase.util.Hash | From | To | |
Change Parameter Type key : byte[] to hashKey : HashKey in method public hash(hashKey HashKey, off int, nbytes int, initval int) : int in class org.apache.hadoop.hbase.util.JenkinsHash | From | To | |
Change Parameter Type bytes : byte[] to hashKey : HashKey in method public hash(hashKey HashKey, offset int, length int, initval int) : int in class org.apache.hadoop.hbase.util.MurmurHash3 | From | To | |
Rename Variable | 1 | ||
Rename Variable buf : byte[] to hashKey : ByteArrayHashKey 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 | |
Move Attribute | 1 | ||
Move Attribute private lastCell : Cell from class org.apache.hadoop.hbase.regionserver.StoreFileWriter to protected lastCell : Cell from class org.apache.hadoop.hbase.util.BloomContext | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.hadoop.hbase.util.BloomContext from class org.apache.hadoop.hbase.regionserver.StoreFileWriter | From | To | |
Rename Attribute | 1 | ||
Rename Attribute lastCell : Cell to bloomContext : BloomContext in class org.apache.hadoop.hbase.regionserver.StoreFileWriter | From | To | |
Change Variable Type | 1 | ||
Change Variable Type buf : byte[] to hashKey : ByteArrayHashKey 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 | |
Change Attribute Type | 1 | ||
Change Attribute Type lastCell : Cell to bloomContext : BloomContext in class org.apache.hadoop.hbase.regionserver.StoreFileWriter | From | To | |
Extract Method | 2 | ||
Extract Method private setHashLoc(hash1 int, hash2 int) : void extracted from public add(buf byte[], offset int, len int) : void in class org.apache.hadoop.hbase.util.BloomFilterChunk | From | To | |
Extract Method private allocateNewChunk() : void extracted from public add(bloomKey byte[], keyOffset int, keyLength int) : void in class org.apache.hadoop.hbase.io.hfile.CompoundBloomFilterWriter | From | To | |
Rename Parameter | 4 | ||
Rename Parameter data : byte[] to hashKey : HashKey in method public hash(hashKey HashKey, offset int, length int, seed int) : int in class org.apache.hadoop.hbase.util.MurmurHash | From | To | |
Rename Parameter bytes : byte[] to hashKey : HashKey in method public abstract hash(hashKey HashKey, offset int, length int, initval int) : int in class org.apache.hadoop.hbase.util.Hash | From | To | |
Rename Parameter bytes : byte[] to hashKey : HashKey in method public hash(hashKey HashKey, offset int, length int, initval int) : int in class org.apache.hadoop.hbase.util.MurmurHash3 | From | To | |
Rename Parameter key : byte[] to hashKey : HashKey in method public hash(hashKey HashKey, off int, nbytes int, initval int) : int in class org.apache.hadoop.hbase.util.JenkinsHash | From | To |