13d3f99b37c505a2b7366f8a1a5c9dc11e5dd7b1
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 3 | ||
Rename Variable request : ListKeysRequest to req : ListKeysRequest in method public listKeys(volumeName String, bucketName String, startKey String, prefix String, maxKeys int) : List<OmKeyInfo> in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Rename Variable request : S3BucketRequest to req : S3CreateBucketRequest in method public createS3Bucket(userName String, s3BucketName String) : void in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Rename Variable request : ServiceListRequest to req : ServiceListRequest in method public getServiceList() : List<ServiceInfo> in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Change Variable Type | 1 | ||
Change Variable Type request : S3BucketRequest to req : S3CreateBucketRequest in method public createS3Bucket(userName String, s3BucketName String) : void in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method | 26 | ||
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public getVolumeInfo(volume String) : OmVolumeArgs in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public getBucketInfo(volume String, bucket String) : OmBucketInfo in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public deleteBucket(volume String, bucket String) : void in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public commitKey(args OmKeyArgs, clientID long) : void in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public checkVolumeAccess(volume String, userAcl OzoneAclInfo) : boolean in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public deleteKey(args OmKeyArgs) : void in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public listBuckets(volumeName String, startKey String, prefix String, count int) : List<OmBucketInfo> in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public createVolume(args OmVolumeArgs) : void in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public createBucket(bucketInfo OmBucketInfo) : void in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public openKey(args OmKeyArgs) : OpenKeySession in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public setOwner(volume String, owner String) : void in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public getOzoneBucketMapping(s3BucketName String) : String in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public deleteS3Bucket(s3BucketName String) : void in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public listS3Buckets(userName String, startKey String, prefix String, count int) : List<OmBucketInfo> in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public commitMultipartUploadPart(omKeyArgs OmKeyArgs, clientID long) : OmMultipartCommitUploadPartInfo in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public allocateBlock(args OmKeyArgs, clientID long) : OmKeyLocationInfo in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from private listVolume(request ListVolumeRequest) : List<OmVolumeArgs> in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public setQuota(volume String, quota long) : void in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public createS3Bucket(userName String, s3BucketName String) : void in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public getServiceList() : List<ServiceInfo> in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public deleteVolume(volume String) : void in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public initiateMultipartUpload(omKeyArgs OmKeyArgs) : OmMultipartInfo in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public listKeys(volumeName String, bucketName String, startKey String, prefix String, maxKeys int) : List<OmKeyInfo> in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public setBucketProperty(args OmBucketArgs) : void in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public renameKey(args OmKeyArgs, toKeyName String) : void in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Extract Method private submitRequest(omRequest OMRequest) : OMResponse extracted from public lookupKey(args OmKeyArgs) : OmKeyInfo in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Rename Parameter | 3 | ||
Rename Parameter clientID : long to clientId : long in method public allocateBlock(args OmKeyArgs, clientId long) : OmKeyLocationInfo in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Rename Parameter clientID : long to clientId : long in method public commitMultipartUploadPart(omKeyArgs OmKeyArgs, clientId long) : OmMultipartCommitUploadPartInfo in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
Rename Parameter clientID : long to clientId : long in method public commitKey(args OmKeyArgs, clientId long) : void in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To |