37642c12df402cb7ee27c0f87d3ba9a93a2e5804
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 17
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable bucketNameString : String to bucketName : String in method public createBucket(args KsmBucketArgs) : void in class org.apache.hadoop.ozone.ksm.BucketManagerImpl | From | To | |
Rename Variable volumeNameString : String to volumeName : String in method public createBucket(args KsmBucketArgs) : void in class org.apache.hadoop.ozone.ksm.BucketManagerImpl | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable e : IOException to ex : IOException in method private exceptionToResponseStatus(ex IOException) : Status in class org.apache.hadoop.ozone.protocolPB.KeySpaceManagerProtocolServerSideTranslatorPB | From | To | |
Extract Method | 2 | ||
Extract Method private addVolumeToOwnerList(volume String, owner String, putBatch List<Map.Entry<byte[],byte[]>>) : void extracted from public createVolume(args KsmVolumeArgs) : void in class org.apache.hadoop.ozone.ksm.VolumeManagerImpl | From | To | |
Extract Method private exceptionToResponseStatus(ex IOException) : Status extracted from public createVolume(controller RpcController, request CreateVolumeRequest) : CreateVolumeResponse in class org.apache.hadoop.ozone.protocolPB.KeySpaceManagerProtocolServerSideTranslatorPB | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public getBucketKey(volume String, bucket String) : byte[] extracted from public createBucket(args KsmBucketArgs) : void in class org.apache.hadoop.ozone.ksm.BucketManagerImpl & moved to class org.apache.hadoop.ozone.ksm.MetadataManagerImpl | From | To | |
Rename Parameter | 1 | ||
Rename Parameter list : List<Map.Entry<byte[],byte[]>> to putList : List<Map.Entry<byte[],byte[]>> in method public batchPut(putList List<Map.Entry<byte[],byte[]>>) : void in class org.apache.hadoop.ozone.ksm.MetadataManager | From | To |