07ed15598bcc618df74f51c3c3950c543daea788
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method protected bypassRegion(regionInfo HRegionInfo) : boolean renamed to public evaluate(regionInfo HRegionInfo) : boolean in class org.apache.hadoop.hbase.snapshot.TestMobExportSnapshot.getBypassRegionPredicate | From | To | |
Move Method | 4 | ||
Move Method public testSnapshotWithRefsExportFileSystemState() : void from class org.apache.hadoop.hbase.snapshot.TestExportSnapshot to public testSnapshotWithRefsExportFileSystemState() : void from class org.apache.hadoop.hbase.snapshot.TestExportSnapshotNoCluster | From | To | |
Move Method private testSnapshotWithRefsExportFileSystemState(builder SnapshotMock.SnapshotBuilder) : void from class org.apache.hadoop.hbase.snapshot.TestExportSnapshot to private testSnapshotWithRefsExportFileSystemState(builder SnapshotMock.SnapshotBuilder) : void from class org.apache.hadoop.hbase.snapshot.TestExportSnapshotNoCluster | From | To | |
Move Method public testBalanceSplit() : void from class org.apache.hadoop.hbase.snapshot.TestExportSnapshot to public testBalanceSplit() : void from class org.apache.hadoop.hbase.snapshot.TestExportSnapshotHelpers | From | To | |
Move Method private verifyBalanceSplit(split List<Pair<SnapshotFileInfo,Long>>, expected String[], expectedSize long) : void from class org.apache.hadoop.hbase.snapshot.TestExportSnapshot to private verifyBalanceSplit(split List<Pair<SnapshotFileInfo,Long>>, expected String[], expectedSize long) : void from class org.apache.hadoop.hbase.snapshot.TestExportSnapshotHelpers | From | To | |
Extract Class | 2 | ||
Extract Class org.apache.hadoop.hbase.snapshot.TestExportSnapshotHelpers from class org.apache.hadoop.hbase.snapshot.TestExportSnapshot | From | To | |
Extract Class org.apache.hadoop.hbase.snapshot.TestExportSnapshotNoCluster from class org.apache.hadoop.hbase.snapshot.TestExportSnapshot | From | To | |
Inline Variable | 1 | ||
Inline Variable copyDir : Path in method private testExportFileSystemState(tableName TableName, snapshotName byte[], targetName byte[], filesExpected int) : void from class org.apache.hadoop.hbase.snapshot.TestExportSnapshot | From | To | |
Extract Method | 3 | ||
Extract Method protected testExportFileSystemState(conf Configuration, tableName TableName, snapshotName byte[], targetName byte[], filesExpected int, sourceDir Path, copyDir Path, overwrite boolean, bypassregionPredicate RegionPredicate) : void extracted from private testExportFileSystemState(tableName TableName, snapshotName byte[], targetName byte[], filesExpected int, copyDir Path, overwrite boolean) : void in class org.apache.hadoop.hbase.snapshot.TestExportSnapshot | From | To | |
Extract Method protected getBypassRegionPredicate() : RegionPredicate extracted from private verifySnapshot(fs FileSystem, rootDir Path, tableName TableName, snapshotName String) : Set<String> in class org.apache.hadoop.hbase.snapshot.TestExportSnapshot | From | To | |
Extract Method protected verifySnapshot(conf Configuration, fs FileSystem, rootDir Path, tableName TableName, snapshotName String, bypassregionPredicate RegionPredicate) : Set<String> extracted from private verifySnapshot(fs FileSystem, rootDir Path, tableName TableName, snapshotName String) : Set<String> in class org.apache.hadoop.hbase.snapshot.TestExportSnapshot | From | To |