9272e1021d19161cd4da136d1af454a2254c7e88
Files Diff
- Added: 2
- Removed: 2
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type chunkInputStream : InputStream to chunkInputStream : ChunkInputStream in method public ChunkInputStreamEntry(chunkInputStream ChunkInputStream, length long) in class org.apache.hadoop.ozone.client.io.ChunkGroupInputStream.ChunkInputStreamEntry | From | To | |
Change Parameter Type stream : InputStream to stream : ChunkInputStream in method public addStream(stream ChunkInputStream, streamLength long) : void in class org.apache.hadoop.ozone.client.io.ChunkGroupInputStream | From | To | |
Move Method | 2 | ||
Move Method public available() : int from class org.apache.hadoop.fs.ozone.OzoneInputStream to public available() : int from class org.apache.hadoop.ozone.client.io.ChunkGroupInputStream | From | To | |
Move Method public seekToNewSource(l long) : boolean from class org.apache.hadoop.fs.ozone.OzoneInputStream to public seekToNewSource(targetPos long) : boolean from class org.apache.hadoop.ozone.client.io.ChunkGroupInputStream | From | To | |
Rename Variable | 3 | ||
Rename Variable stream : OzoneOutputStream to ozoneOutputStream : OzoneOutputStream in method public create(f Path, permission FsPermission, overwrite boolean, bufferSize int, replication short, blockSize long, progress Progressable) : FSDataOutputStream in class org.apache.hadoop.fs.ozone.OzoneFileSystem | From | To | |
Rename Variable oe : OzoneException to ioe : IOException in method private deleteObject(keyName String) : boolean in class org.apache.hadoop.fs.ozone.OzoneFileSystem | From | To | |
Rename Variable oe : OzoneException to ioe : IOException in method private createDirectory(keyName String) : boolean in class org.apache.hadoop.fs.ozone.OzoneFileSystem | From | To | |
Change Return Type | 1 | ||
Change Return Type boolean to void in method private rename(src String, dst String) : void in class org.apache.hadoop.fs.ozone.OzoneFileSystem.RenameIterator | From | To | |
Rename Attribute | 4 | ||
Rename Attribute recursive : boolean to keyIterator : Iterator<OzoneKey> in class org.apache.hadoop.fs.ozone.OzoneFileSystem.OzoneListingIterator | From | To | |
Rename Attribute inputStream : InputStream to chunkInputStream : ChunkInputStream in class org.apache.hadoop.ozone.client.io.ChunkGroupInputStream.ChunkInputStreamEntry | From | To | |
Rename Attribute bufferOffset : int to bufferIndex : int in class org.apache.hadoop.scm.storage.ChunkInputStream | From | To | |
Rename Attribute ozone : OzoneRestClient to ozoneClient : OzoneClient in class org.apache.hadoop.fs.ozone.OzoneFileSystem | From | To | |
Change Variable Type | 4 | ||
Change Variable Type oe : OzoneException to ioe : IOException in method private createDirectory(keyName String) : boolean in class org.apache.hadoop.fs.ozone.OzoneFileSystem | From | To | |
Change Variable Type inputStreams : ArrayList<InputStream> to inputStreams : ArrayList<ChunkInputStream> in method public testErrorReadGroupInputStream() : void in class org.apache.hadoop.ozone.ksm.TestChunkStreams | From | To | |
Change Variable Type inputStreams : ArrayList<InputStream> to inputStreams : ArrayList<ChunkInputStream> in method public testReadGroupInputStream() : void in class org.apache.hadoop.ozone.ksm.TestChunkStreams | From | To | |
Change Variable Type oe : OzoneException to ioe : IOException in method private deleteObject(keyName String) : boolean in class org.apache.hadoop.fs.ozone.OzoneFileSystem | From | To | |
Change Attribute Type | 4 | ||
Change Attribute Type recursive : boolean to keyIterator : Iterator<OzoneKey> in class org.apache.hadoop.fs.ozone.OzoneFileSystem.OzoneListingIterator | From | To | |
Change Attribute Type chunkOffset : int to chunkOffset : long[] in class org.apache.hadoop.scm.storage.ChunkInputStream | From | To | |
Change Attribute Type inputStream : InputStream to chunkInputStream : ChunkInputStream in class org.apache.hadoop.ozone.client.io.ChunkGroupInputStream.ChunkInputStreamEntry | From | To | |
Change Attribute Type ozone : OzoneRestClient to ozoneClient : OzoneClient in class org.apache.hadoop.fs.ozone.OzoneFileSystem | From | To | |
Rename Parameter | 2 | ||
Rename Parameter l : long to targetPos : long in method public seekToNewSource(targetPos long) : boolean in class org.apache.hadoop.ozone.client.io.ChunkGroupInputStream | From | To | |
Rename Parameter length : long to streamLength : long in method public addStream(stream ChunkInputStream, streamLength long) : void in class org.apache.hadoop.ozone.client.io.ChunkGroupInputStream | From | To |