02c9efcb8174140c75d26dfd3ee0c280bde58fc8
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Replace Variable With Attribute | 2 | ||
Replace Variable With Attribute pos : long to bufferPosition : long in method private adjustBufferIndex() : void in class org.apache.hadoop.hdds.scm.storage.BlockInputStream | From | To | |
Replace Variable With Attribute readChunkResponse : ReadChunkResponseProto to chunkIndexOfCurrentBuffer : int in method private readChunkFromContainer() : void in class org.apache.hadoop.hdds.scm.storage.BlockInputStream | From | To | |
Change Variable Type | 1 | ||
Change Variable Type readChunkResponse : ReadChunkResponseProto to chunkIndexOfCurrentBuffer : int in method private readChunkFromContainer() : void in class org.apache.hadoop.hdds.scm.storage.BlockInputStream | From | To | |
Extract Variable | 1 | ||
Extract Variable bufferPos : long in method public getPos() : long from class org.apache.hadoop.hdds.scm.storage.BlockInputStream | From | To | |
Extract Method | 3 | ||
Extract Method protected readChunk(chunkInfo ChunkInfo, excludeDns List<DatanodeDetails>, dnListFromReply List<DatanodeDetails>) : ByteString extracted from private readChunkFromContainer() : void in class org.apache.hadoop.hdds.scm.storage.BlockInputStream | From | To | |
Extract Method protected getDatanodeList() : List<DatanodeDetails> extracted from private readChunkFromContainer() : void in class org.apache.hadoop.hdds.scm.storage.BlockInputStream | From | To | |
Extract Method private buffersAllocated() : boolean extracted from private buffersHaveData() : boolean in class org.apache.hadoop.hdds.scm.storage.BlockInputStream | From | To |