6ba9587d370fbf39c129c08c00ebbb894ccc1389
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 32
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public getShareDeleteFileInputStream(f File, seekOffset long) : FileInputStream renamed to public getShareDeleteFileDescriptor(f File, seekOffset long) : FileDescriptor in class org.apache.hadoop.io.nativeio.NativeIO | From | To | |
Rename Method public createTmpFile(b Block, f File) : File renamed to public createFileWithExistsCheck(volume FsVolumeSpi, b Block, f File, fileIoProvider FileIoProvider) : File in class org.apache.hadoop.hdfs.server.datanode.DatanodeUtil | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public writeToDisk(b byte[], off int, len int) : long moved from class org.apache.hadoop.hdfs.server.datanode.fsdataset.ReplicaOutputStreams to class org.apache.hadoop.hdfs.server.datanode.BlockReceiver & inlined to private receivePacket() : int | From | To | |
Inline Method | 1 | ||
Inline Method private copyBytes(in InputStream, out OutputStream, buffSize int) : void inlined to private breakHardlinks(file File, b Block) : void in class org.apache.hadoop.hdfs.server.datanode.LocalReplica | From | To | |
Change Return Type | 2 | ||
Change Return Type FileInputStream to FileDescriptor in method public openAndSeek(file File, offset long) : FileDescriptor in class org.apache.hadoop.hdfs.server.datanode.fsdataset.impl.FsDatasetUtil | From | To | |
Change Return Type FileInputStream to FileDescriptor in method public getShareDeleteFileDescriptor(f File, seekOffset long) : FileDescriptor in class org.apache.hadoop.io.nativeio.NativeIO | From | To |