84dd84fc581d2984daf5e523276b76181c1de5e7
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method protected postOpeartionFailure(exception IOException, deadlineTs long) : V renamed to protected postOperationFailure(exception IOException, deadlineTs long) : V in class org.apache.hadoop.hbase.client.HBaseAdmin.ProcedureFuture | From | To | |
Pull Up Method | 2 | ||
Pull Up Method private waitForTableEnabled(deadlineTs long) : void from class org.apache.hadoop.hbase.client.HBaseAdmin.CreateTableFuture to protected waitForTableEnabled(deadlineTs long) : void from class org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture | From | To | |
Pull Up Method private waitTableNotFound(deadlineTs long) : void from class org.apache.hadoop.hbase.client.HBaseAdmin.DeleteTableFuture to protected waitTableNotFound(deadlineTs long) : void from class org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture | From | To | |
Move And Rename Method | 2 | ||
Move And Rename Method private waitTableEnabled(deadlineTs long) : void from class org.apache.hadoop.hbase.client.HBaseAdmin.EnableTableFuture to protected waitForTableDisabled(deadlineTs long) : void from class org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture | From | To | |
Move And Rename Method private waitTableDisabled(deadlineTs long) : void from class org.apache.hadoop.hbase.client.HBaseAdmin.DisableTableFuture to protected waitTableNotFound(deadlineTs long) : void from class org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture | From | To | |
Move Method | 1 | ||
Move Method private waitForAllRegionsOnline(deadlineTs long) : void from class org.apache.hadoop.hbase.client.HBaseAdmin.CreateTableFuture to protected waitForAllRegionsOnline(deadlineTs long, splitKeys byte[][]) : void from class org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture | From | To | |
Pull Up Attribute | 3 | ||
Pull Up Attribute private tableName : TableName from class org.apache.hadoop.hbase.client.HBaseAdmin.DisableTableFuture to private tableName : TableName from class org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture | From | To | |
Pull Up Attribute private tableName : TableName from class org.apache.hadoop.hbase.client.HBaseAdmin.EnableTableFuture to private tableName : TableName from class org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture | From | To | |
Pull Up Attribute private tableName : TableName from class org.apache.hadoop.hbase.client.HBaseAdmin.DeleteTableFuture to private tableName : TableName from class org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture | From | To | |
Change Return Type | 2 | ||
Change Return Type void to long in method public truncateTable(tableName TableName, preserveSplits boolean) : long in class org.apache.hadoop.hbase.master.MasterServices | From | To | |
Change Return Type void to long in method public truncateTable(tableName TableName, preserveSplits boolean) : long in class org.apache.hadoop.hbase.master.HMaster | From | To | |
Extract Superclass | 1 | ||
Extract Superclass org.apache.hadoop.hbase.client.HBaseAdmin.TableFuture from classes [org.apache.hadoop.hbase.client.HBaseAdmin.CreateTableFuture, org.apache.hadoop.hbase.client.HBaseAdmin.DeleteTableFuture, org.apache.hadoop.hbase.client.HBaseAdmin.EnableTableFuture, org.apache.hadoop.hbase.client.HBaseAdmin.DisableTableFuture] | From | To | |
Extract Method | 1 | ||
Extract Method public truncateTableAsync(tableName TableName, preserveSplits boolean) : Future<Void> extracted from public truncateTable(tableName TableName, preserveSplits boolean) : void in class org.apache.hadoop.hbase.client.HBaseAdmin | From | To |