13eda5000304099d1145631f9be13ce8a00b600d
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Inline Method | 3 | ||
Inline Method private writeInternal(data byte[], offset int, length int) : void inlined to public write(data byte[], offset int, length int) : void in class org.apache.hadoop.fs.azure.BlockBlobAppendStream | From | To | |
Inline Method private getBytesFromLong(value long) : byte[] inlined to private generateOlderVersionBlockId(id long) : String in class org.apache.hadoop.fs.azure.BlockBlobAppendStream | From | To | |
Inline Method private cleanup() : void inlined to public close() : void in class org.apache.hadoop.fs.azure.BlockBlobAppendStream | From | To | |
Rename Variable | 2 | ||
Rename Variable appendStream : BlockBlobAppendStream to blockBlobOutputStream : BlockBlobAppendStream in method public retrieveAppendStream(key String, bufferSize int) : DataOutputStream in class org.apache.hadoop.fs.azure.AzureNativeFileSystemStore | From | To | |
Rename Variable tempArray : byte[] to blockIdInBytes : byte[] in method private generateOlderVersionBlockId(id long) : String in class org.apache.hadoop.fs.azure.BlockBlobAppendStream | From | To | |
Extract Attribute | 1 | ||
Extract Attribute private CLOSE_UPLOAD_DELAY : int in class org.apache.hadoop.fs.azure.BlockBlobAppendStream | From | To | |
Rename Attribute | 1 | ||
Rename Attribute blockId : String to command : UploadCommand in class org.apache.hadoop.fs.azure.BlockBlobAppendStream.WriteRequest | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type outBuffer : ByteArrayOutputStream to outBuffer : ByteBuffer in class org.apache.hadoop.fs.azure.BlockBlobAppendStream | From | To | |
Change Attribute Type uncommittedBlockEntries : List<BlockEntry> to uncommittedBlockEntries : ConcurrentLinkedDeque<BlockEntry> in class org.apache.hadoop.fs.azure.BlockBlobAppendStream | From | To | |
Change Attribute Type blockId : String to command : UploadCommand in class org.apache.hadoop.fs.azure.BlockBlobAppendStream.WriteRequest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter key : String to keyEncoded : String in method public storefile(keyEncoded String, permissionStatus PermissionStatus, key String) : DataOutputStream in class org.apache.hadoop.fs.azure.AzureNativeFileSystemStore | From | To |