693169ef34f856a27dc09d90a45fb4ec5b66ed2c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 29
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Inline Method | 2 | ||
| Inline Method public getInodeId() : long inlined to public bytes() : ByteBuffer in class org.apache.hadoop.hdfs.protocol.HdfsPathHandle | From | To | |
| Inline Method public getInodeId() : long inlined to public toString() : String in class org.apache.hadoop.hdfs.protocol.HdfsPathHandle | From | To | |
| Rename Variable | 4 | ||
| Rename Variable fd : PathHandle to fd1 : PathHandle in method public testOpenFileByPath() : void in class org.apache.hadoop.fs.contract.AbstractContractOpenTest | From | To | |
| Rename Variable fd : PathHandle to fd1 : PathHandle in method public testOpenFileByExact() : void in class org.apache.hadoop.fs.contract.AbstractContractOpenTest | From | To | |
| Rename Variable stat : FileStatus to stat1 : FileStatus in method public testOpenFileByExact() : void in class org.apache.hadoop.fs.contract.AbstractContractOpenTest | From | To | |
| Rename Variable stat : FileStatus to stat1 : FileStatus in method public testOpenFileByPath() : void in class org.apache.hadoop.fs.contract.AbstractContractOpenTest | From | To | |
| Change Return Type | 1 | ||
| Change Return Type PathHandle to HdfsPathHandle in method protected createPathHandle(st FileStatus, opts HandleOpt...) : HdfsPathHandle in class org.apache.hadoop.hdfs.DistributedFileSystem | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type inodeId : long to inodeId : Long in class org.apache.hadoop.hdfs.protocol.HdfsPathHandle | From | To | |
| Extract Method | 1 | ||
| Extract Method private openInternal(locatedBlocks LocatedBlocks, src String, verifyChecksum boolean) : DFSInputStream extracted from public open(src String, buffersize int, verifyChecksum boolean) : DFSInputStream in class org.apache.hadoop.hdfs.DFSClient | From | To |