ecec35ae4e6867da3b42d674f6eccbe8a9f7d533
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Extract Variable | 1 | ||
| Extract Variable cell : KeyValue in method private createTestEntry(table TableName, region byte[], row byte[], family byte[], qualifier byte[], value byte[], seq long) : Entry from class org.apache.hadoop.hbase.wal.TestWALSplit | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type entry : Map.Entry<byte[],List<Path>> to entry : Entry<byte[],List<Path>> in method public toRegionEventDescriptor(eventType EventType, tableNameAsBytes byte[], encodedNameAsBytes byte[], regionNameAsBytes byte[], seqId long, server ServerName, storeFiles Map<byte[],List<Path>>) : RegionEventDescriptor in class org.apache.hadoop.hbase.protobuf.ProtobufUtil | From | To | |
| Split Parameter | 1 | ||
| Split Parameter hri : HRegionInfo to [regionNameAsBytes : byte[], encodedNameAsBytes : byte[]] in method public toRegionEventDescriptor(eventType EventType, tableNameAsBytes byte[], encodedNameAsBytes byte[], regionNameAsBytes byte[], seqId long, server ServerName, storeFiles Map<byte[],List<Path>>) : RegionEventDescriptor in class org.apache.hadoop.hbase.protobuf.ProtobufUtil | From | To | |
| Extract Method | 2 | ||
| Extract Method private generateWALs(writers int, entries int, leaveOpen int, regionEvents int) : Writer extracted from private generateWALs(writers int, entries int, leaveOpen int) : Writer in class org.apache.hadoop.hbase.wal.TestWALSplit | From | To | |
| Extract Method public toRegionEventDescriptor(eventType EventType, tableNameAsBytes byte[], encodedNameAsBytes byte[], regionNameAsBytes byte[], seqId long, server ServerName, storeFiles Map<byte[],List<Path>>) : RegionEventDescriptor extracted from public toRegionEventDescriptor(eventType EventType, hri HRegionInfo, seqId long, server ServerName, storeFiles Map<byte[],List<Path>>) : RegionEventDescriptor in class org.apache.hadoop.hbase.protobuf.ProtobufUtil | From | To |