230b85d5865b7e08fb7aaeab45295b5b966011ef
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Return Type | 1 | ||
| Change Return Type Set<DatanodeAdminProperties> to DatanodeAdminProperties[] in method public readFile(hostsFile String) : DatanodeAdminProperties[] in class org.apache.hadoop.hdfs.util.CombinedHostsFileReader | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute EXISTING_FILE : File to jsonFile : File in class org.apache.hadoop.hdfs.util.TestCombinedHostsFileReader | From | To | |
| Rename Attribute NEW_FILE : File to newFile : File in class org.apache.hadoop.hdfs.util.TestCombinedHostsFileReader | From | To | |
| Change Variable Type | 3 | ||
| Change Variable Type all : Set<DatanodeAdminProperties> to all : DatanodeAdminProperties[] in method public testEmptyCombinedHostsFileReader() : void in class org.apache.hadoop.hdfs.util.TestCombinedHostsFileReader | From | To | |
| Change Variable Type all : Set<DatanodeAdminProperties> to all : DatanodeAdminProperties[] in method public testLoadExistingJsonFile() : void in class org.apache.hadoop.hdfs.util.TestCombinedHostsFileReader | From | To | |
| Change Variable Type all : Set<DatanodeAdminProperties> to all : DatanodeAdminProperties[] in method private refresh(hostsFile String) : void in class org.apache.hadoop.hdfs.server.blockmanagement.CombinedHostFileManager | From | To |