a9b671b31f07ade8968b42956aa60c722032dcc8
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 59
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 11 | ||
Push Down Method public getBuffer() : byte[] from class org.apache.hadoop.hbase.Tag to public getValueArray() : byte[] from class org.apache.hadoop.hbase.ArrayBackedTag | From | To | |
Push Down Method public Tag(bytes byte[], offset int) from class org.apache.hadoop.hbase.Tag to public ArrayBackedTag(bytes byte[], offset int) from class org.apache.hadoop.hbase.ArrayBackedTag | From | To | |
Push Down Method public Tag(tagType byte, tag byte[]) from class org.apache.hadoop.hbase.Tag to public ArrayBackedTag(tagType byte, tag byte[]) from class org.apache.hadoop.hbase.ArrayBackedTag | From | To | |
Push Down Method public Tag(bytes byte[], offset int, length int) from class org.apache.hadoop.hbase.Tag to public ArrayBackedTag(bytes byte[], offset int, length int) from class org.apache.hadoop.hbase.ArrayBackedTag | From | To | |
Push Down Method public getTagOffset() : int from class org.apache.hadoop.hbase.Tag to public getValueOffset() : int from class org.apache.hadoop.hbase.ArrayBackedTag | From | To | |
Push Down Method public getTagOffset() : int from class org.apache.hadoop.hbase.Tag to public getValueOffset() : int from class org.apache.hadoop.hbase.OffheapTag | From | To | |
Push Down Method public Tag(tagType byte, tag String) from class org.apache.hadoop.hbase.Tag to public ArrayBackedTag(tagType byte, tag String) from class org.apache.hadoop.hbase.ArrayBackedTag | From | To | |
Push Down Method private getLength(bytes byte[], offset int) : int from class org.apache.hadoop.hbase.Tag to private getLength(bytes byte[], offset int) : int from class org.apache.hadoop.hbase.ArrayBackedTag | From | To | |
Push Down Method public getType() : byte from class org.apache.hadoop.hbase.Tag to public getType() : byte from class org.apache.hadoop.hbase.ArrayBackedTag | From | To | |
Push Down Method public getTagLength() : int from class org.apache.hadoop.hbase.Tag to public getValueLength() : int from class org.apache.hadoop.hbase.OffheapTag | From | To | |
Push Down Method public getTagLength() : int from class org.apache.hadoop.hbase.Tag to public getValueLength() : int from class org.apache.hadoop.hbase.ArrayBackedTag | From | To | |
Extract Subclass | 1 | ||
Extract Subclass org.apache.hadoop.hbase.ArrayBackedTag from class org.apache.hadoop.hbase.Tag | From | To | |
Move Method | 3 | ||
Move Method public asList(b byte[], offset int, length int) : List<Tag> from class org.apache.hadoop.hbase.Tag to public asList(b byte[], offset int, length int) : List<Tag> from class org.apache.hadoop.hbase.TagUtil | From | To | |
Move Method public getTag(b byte[], offset int, length int, type byte) : Tag from class org.apache.hadoop.hbase.Tag to public getTag(cell Cell, type byte) : Tag from class org.apache.hadoop.hbase.CellUtil | From | To | |
Move Method public fromList(tags List<Tag>) : byte[] from class org.apache.hadoop.hbase.Tag to public fromList(tags List<Tag>) : byte[] from class org.apache.hadoop.hbase.TagUtil | From | To | |
Rename Variable | 2 | ||
Rename Variable tagArray : Tag[] to tagsArray : Tag[] in method public toPut(proto MutationProto, cellScanner CellScanner) : Put in class org.apache.hadoop.hbase.protobuf.ProtobufUtil | From | To | |
Rename Variable tags : byte[] to allTagsBytes : byte[] in method public toPut(proto MutationProto, cellScanner CellScanner) : Put in class org.apache.hadoop.hbase.protobuf.ProtobufUtil | From | To | |
Push Down Attribute | 4 | ||
Push Down Attribute private bytes : byte[] from class org.apache.hadoop.hbase.Tag to private bytes : byte[] from class org.apache.hadoop.hbase.ArrayBackedTag | From | To | |
Push Down Attribute private offset : int from class org.apache.hadoop.hbase.Tag to private offset : int from class org.apache.hadoop.hbase.ArrayBackedTag | From | To | |
Push Down Attribute private type : byte from class org.apache.hadoop.hbase.Tag to private type : byte from class org.apache.hadoop.hbase.ArrayBackedTag | From | To | |
Push Down Attribute private length : int from class org.apache.hadoop.hbase.Tag to private length : int from class org.apache.hadoop.hbase.ArrayBackedTag | From | To | |
Extract Class | 1 | ||
Extract Class org.apache.hadoop.hbase.TagUtil from class org.apache.hadoop.hbase.Tag | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public tagsIterator(cell Cell) : Iterator<Tag> extracted from public isVisibilityTagsPresent(cell Cell) : boolean in class org.apache.hadoop.hbase.security.visibility.VisibilityUtils & moved to class org.apache.hadoop.hbase.CellUtil | From | To |