a82f7fc94a52e941b139367f1e67c03229213247
Files Diff
- Added: 0
- Removed: 7
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 4 | ||
Rename Method package getNamespace(name String) : NamespaceDescriptor renamed to public getNamespaceDescriptor(name String) : NamespaceDescriptor in class org.apache.hadoop.hbase.master.HMaster | From | To | |
Rename Method package getNamespaces() : List<NamespaceDescriptor> renamed to public listNamespaceDescriptors() : List<NamespaceDescriptor> in class org.apache.hadoop.hbase.master.HMaster | From | To | |
Rename Method public getClusterSchema() : ClusterSchema renamed to public getNamespaceDescriptor(name String) : NamespaceDescriptor in class org.apache.hadoop.hbase.master.MasterServices | From | To | |
Rename Method public getClusterSchema() : ClusterSchema renamed to public getNamespaceDescriptor(name String) : NamespaceDescriptor in class org.apache.hadoop.hbase.master.TestCatalogJanitor.MockMasterServices | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public getNamespace(name String) : NamespaceDescriptor from class org.apache.hadoop.hbase.master.ClusterSchemaServiceImpl to private ensureNamespaceExists(name String) : void from class org.apache.hadoop.hbase.master.HMaster | From | To | |
Move Method | 1 | ||
Move Method public getTableNamespaceManager() : TableNamespaceManager from class org.apache.hadoop.hbase.master.ClusterSchemaServiceImpl to public getTableNamespaceManager() : TableNamespaceManager from class org.apache.hadoop.hbase.master.HMaster | From | To | |
Rename Variable | 2 | ||
Rename Variable nsds : List<NamespaceDescriptor> to descriptors : List<NamespaceDescriptor> in method public listNamespaceDescriptors() : List<NamespaceDescriptor> in class org.apache.hadoop.hbase.master.HMaster | From | To | |
Rename Variable htds : List<HTableDescriptor> to descriptors : List<HTableDescriptor> in method public listTableNames(namespace String, regex String, includeSysTables boolean) : List<TableName> in class org.apache.hadoop.hbase.master.HMaster | From | To | |
Change Return Type | 3 | ||
Change Return Type ClusterSchema to NamespaceDescriptor in method public getNamespaceDescriptor(name String) : NamespaceDescriptor in class org.apache.hadoop.hbase.master.MasterServices | From | To | |
Change Return Type ClusterSchema to NamespaceDescriptor in method public getNamespaceDescriptor(name String) : NamespaceDescriptor in class org.apache.hadoop.hbase.master.TestCatalogJanitor.MockMasterServices | From | To | |
Change Return Type NamespaceDescriptor to void in method private ensureNamespaceExists(name String) : void in class org.apache.hadoop.hbase.master.HMaster | From | To | |
Move Attribute | 1 | ||
Move Attribute private tableNamespaceManager : TableNamespaceManager from class org.apache.hadoop.hbase.master.ClusterSchemaServiceImpl to private tableNamespaceManager : TableNamespaceManager from class org.apache.hadoop.hbase.master.HMaster | From | To | |
Extract Method | 5 | ||
Extract Method package checkNamespaceManagerReady() : void extracted from package getNamespace(name String) : NamespaceDescriptor in class org.apache.hadoop.hbase.master.HMaster | From | To | |
Extract Method package checkNamespaceManagerReady() : void extracted from package createNamespace(namespaceDescriptor NamespaceDescriptor, nonceGroup long, nonce long) : void in class org.apache.hadoop.hbase.master.HMaster | From | To | |
Extract Method package checkNamespaceManagerReady() : void extracted from package modifyNamespace(namespaceDescriptor NamespaceDescriptor, nonceGroup long, nonce long) : void in class org.apache.hadoop.hbase.master.HMaster | From | To | |
Extract Method package checkNamespaceManagerReady() : void extracted from package getNamespaces() : List<NamespaceDescriptor> in class org.apache.hadoop.hbase.master.HMaster | From | To | |
Extract Method package checkNamespaceManagerReady() : void extracted from package deleteNamespace(name String, nonceGroup long, nonce long) : void in class org.apache.hadoop.hbase.master.HMaster | From | To | |
Rename Parameter | 2 | ||
Rename Parameter namespaceDescriptor : NamespaceDescriptor to descriptor : NamespaceDescriptor in method public createNamespace(descriptor NamespaceDescriptor, nonceGroup long, nonce long) : void in class org.apache.hadoop.hbase.master.HMaster | From | To | |
Rename Parameter namespaceDescriptor : NamespaceDescriptor to descriptor : NamespaceDescriptor in method public modifyNamespace(descriptor NamespaceDescriptor, nonceGroup long, nonce long) : void in class org.apache.hadoop.hbase.master.HMaster | From | To |