b3f8be8caa7a36672ab4ab782974e075400a8a07
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Push Down Method | 3 | ||
Push Down Method public abstract seek(position long) : void from class alluxio.underfs.SeekableUnderFileInputStream to public seek(pos long) : void from class alluxio.worker.block.CachedSeekableInputStream | From | To | |
Push Down Method public getResourceId() : long from class alluxio.underfs.SeekableUnderFileInputStream to public getResourceId() : long from class alluxio.worker.block.CachedSeekableInputStream | From | To | |
Push Down Method public getFilePath() : String from class alluxio.underfs.SeekableUnderFileInputStream to public getFilePath() : String from class alluxio.worker.block.CachedSeekableInputStream | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public setFilePath(filePath String) : void moved from class alluxio.underfs.SeekableUnderFileInputStream to class alluxio.worker.block.UfsInputStreamManager & inlined to public acquire(ufs UnderFileSystem, path String, openOptions OpenOptions, reuse boolean) : InputStream | From | To | |
Extract Subclass | 1 | ||
Extract Subclass alluxio.worker.block.CachedSeekableInputStream from class alluxio.underfs.SeekableUnderFileInputStream | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type inputStream : SeekableUnderFileInputStream to inputStream : CachedSeekableInputStream in method public invalidate(inputStream CachedSeekableInputStream) : void in class alluxio.worker.block.UfsInputStreamManager | From | To | |
Push Down Attribute | 2 | ||
Push Down Attribute private mFilePath : String from class alluxio.underfs.SeekableUnderFileInputStream to private mFilePath : String from class alluxio.worker.block.CachedSeekableInputStream | From | To | |
Push Down Attribute private mResourceId : Long from class alluxio.underfs.SeekableUnderFileInputStream to private mResourceId : Long from class alluxio.worker.block.CachedSeekableInputStream | From | To | |
Change Variable Type | 2 | ||
Change Variable Type inputStream : SeekableUnderFileInputStream to inputStream : CachedSeekableInputStream in method public acquire(ufs UnderFileSystem, path String, openOptions OpenOptions, reuse boolean) : InputStream in class alluxio.worker.block.UfsInputStreamManager | From | To | |
Change Variable Type inputStream : SeekableUnderFileInputStream to inputStream : CachedSeekableInputStream in method public UfsInputStreamManager() in class alluxio.worker.block.UfsInputStreamManager | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type mUnderFileInputStreamCache : Cache<Long,SeekableUnderFileInputStream> to mUnderFileInputStreamCache : Cache<Long,CachedSeekableInputStream> in class alluxio.worker.block.UfsInputStreamManager | From | To | |
Rename Parameter | 2 | ||
Rename Parameter inputStream : InputStream to in : InputStream in method protected SeekableUnderFileInputStream(in InputStream) in class alluxio.underfs.SeekableUnderFileInputStream | From | To | |
Rename Parameter position : long to pos : long in method public seek(pos long) : void in class alluxio.worker.block.CachedSeekableInputStream | From | To |