76be6cbf6c33f866794f27ca2560ca7c7b2fa0e7
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 9
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Inline Method | 1 | ||
Move And Inline Method public get(clazz Class<T>, sub String) : QueryResult<T> moved from class org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreZooKeeperImpl to class org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreFileBaseImpl & inlined to public get(clazz Class<T>) : QueryResult<T> | From | To | |
Rename Variable | 3 | ||
Rename Variable updatedRecord : T to entry : Entry<String,T> in method public putAll(records List<T>, allowUpdate boolean, errorIfExists boolean) : boolean in class org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreFileBaseImpl | From | To | |
Rename Variable ex : IOException to e : IOException in method protected getWriter(filename String) : BufferedWriter in class org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreFileImpl | From | To | |
Rename Variable writeList : Map<Object,T> to toWrite : Map<String,T> in method public putAll(records List<T>, allowUpdate boolean, errorIfExists boolean) : boolean in class org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreFileBaseImpl | From | To | |
Inline Method | 2 | ||
Inline Method public writeAll(records Collection<T>, recordClass Class<T>) : boolean inlined to public putAll(records List<T>, allowUpdate boolean, errorIfExists boolean) : boolean in class org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreFileBaseImpl | From | To | |
Inline Method public get(clazz Class<T>, sub String) : QueryResult<T> inlined to public get(clazz Class<T>) : QueryResult<T> in class org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreZooKeeperImpl | From | To | |
Change Variable Type | 2 | ||
Change Variable Type writeList : Map<Object,T> to toWrite : Map<String,T> in method public putAll(records List<T>, allowUpdate boolean, errorIfExists boolean) : boolean in class org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreFileBaseImpl | From | To | |
Change Variable Type updatedRecord : T to entry : Entry<String,T> in method public putAll(records List<T>, allowUpdate boolean, errorIfExists boolean) : boolean in class org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreFileBaseImpl | From | To | |
Extract Variable | 1 | ||
Extract Variable success : boolean in method public putAll(records List<T>, allowUpdate boolean, errorIfExists boolean) : boolean from class org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreFileBaseImpl | From | To | |
Rename Parameter | 6 | ||
Rename Parameter sub : String to filename : String in method protected getWriter(filename String) : BufferedWriter in class org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreFileImpl | From | To | |
Rename Parameter sub : String to path : String in method protected abstract getReader(path String) : BufferedReader in class org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreFileBaseImpl | From | To | |
Rename Parameter sub : String to pathName : String in method protected getWriter(pathName String) : BufferedWriter in class org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreFileSystemImpl | From | To | |
Rename Parameter sub : String to filename : String in method protected getReader(filename String) : BufferedReader in class org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreFileImpl | From | To | |
Rename Parameter sub : String to pathName : String in method protected getReader(pathName String) : BufferedReader in class org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreFileSystemImpl | From | To | |
Rename Parameter sub : String to path : String in method protected abstract getWriter(path String) : BufferedWriter in class org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreFileBaseImpl | From | To |