4630a41cd91363c46b8f3d88c6d3e8a81c1ea593
Files Diff
- Added: 41
- Removed: 4
- Renamed: 0
- Modified: 75
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getConf() : AlluxioConfiguration renamed to public getClusterConf() : AlluxioConfiguration in class alluxio.client.file.FileSystemContext | From | To | |
Rename Variable | 2 | ||
Rename Variable clusterProps : Properties to props : Properties in method private loadClientProperties(properties List<ConfigProperty>, logMessage BiFunction<PropertyKey,String,String>) : Properties in class alluxio.util.ConfigurationUtils | From | To | |
Rename Variable clusterConfig : List<alluxio.grpc.ConfigProperty> to response : GetConfigurationPResponse in method private loadConfiguration(address InetSocketAddress, conf AlluxioConfiguration) : GetConfigurationPResponse in class alluxio.util.ConfigurationUtils | From | To | |
Change Return Type | 1 | ||
Change Return Type List<ConfigProperty> to Configuration in method public getConfiguration() : Configuration in class alluxio.client.meta.RetryHandlingMetaMasterConfigClient | From | To | |
Move Class | 3 | ||
Move Class alluxio.client.RetryHandlingMetaMasterConfigClient moved to alluxio.client.meta.RetryHandlingMetaMasterConfigClient | From | To | |
Move Class alluxio.client.MetaMasterClient moved to alluxio.client.meta.MetaMasterClient | From | To | |
Move Class alluxio.client.RetryHandlingMetaMasterClient moved to alluxio.client.meta.RetryHandlingMetaMasterClient | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable clusterConfig : List<alluxio.grpc.ConfigProperty> to properties : List<ConfigProperty> in method private loadClientProperties(properties List<ConfigProperty>, logMessage BiFunction<PropertyKey,String,String>) : Properties in class alluxio.util.ConfigurationUtils | From | To | |
Change Variable Type | 3 | ||
Change Variable Type clusterConfig : List<alluxio.grpc.ConfigProperty> to response : GetConfigurationPResponse in method private loadConfiguration(address InetSocketAddress, conf AlluxioConfiguration) : GetConfigurationPResponse in class alluxio.util.ConfigurationUtils | From | To | |
Change Variable Type info : ConfigProperty to info : Property in method public getConfigurationWebPort() : void in class alluxio.client.meta.MetaMasterIntegrationTest | From | To | |
Change Variable Type configList : List<ConfigProperty> to configList : List<Property> in method public getConfigurationWebPort() : void in class alluxio.client.meta.MetaMasterIntegrationTest | From | To | |
Extract Variable | 1 | ||
Extract Variable uri : AlluxioURI in method package verifyBlockLocations(blockWorkers List<WorkerNetAddress>, ufsLocations List<String>, allWorkers List<WorkerNetAddress>, expectedWorkers List<WorkerNetAddress>) : void from class alluxio.hadoop.AbstractFileSystemTest | From | To | |
Extract Method | 6 | ||
Extract Method private loadClientProperties(properties List<ConfigProperty>, logMessage BiFunction<PropertyKey,String,String>) : Properties extracted from public loadClusterDefaults(address InetSocketAddress, conf AlluxioConfiguration) : AlluxioConfiguration in class alluxio.util.ConfigurationUtils | From | To | |
Extract Method public isSetByUser(key PropertyKey) : boolean extracted from public isSet(key PropertyKey) : boolean in class alluxio.conf.AlluxioProperties | From | To | |
Extract Method private isResolvable(key PropertyKey) : boolean extracted from public isSet(key PropertyKey) : boolean in class alluxio.conf.InstancedConfiguration | From | To | |
Extract Method private loadClusterConfiguration(response GetConfigurationPResponse, conf AlluxioConfiguration) : AlluxioConfiguration extracted from public loadClusterDefaults(address InetSocketAddress, conf AlluxioConfiguration) : AlluxioConfiguration in class alluxio.util.ConfigurationUtils | From | To | |
Extract Method private loadConfiguration(address InetSocketAddress, conf AlluxioConfiguration) : GetConfigurationPResponse extracted from public loadClusterDefaults(address InetSocketAddress, conf AlluxioConfiguration) : AlluxioConfiguration in class alluxio.util.ConfigurationUtils | From | To | |
Extract Method private shouldLoadClusterConfiguration(conf AlluxioConfiguration) : boolean extracted from public loadClusterDefaults(address InetSocketAddress, conf AlluxioConfiguration) : AlluxioConfiguration in class alluxio.util.ConfigurationUtils | From | To |