c1d7d68c78aed3ef800e877c2d3a926a68539f16
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 23
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type response : FileStatusProto to response : OzoneFileStatusProto in method public getFromProtobuf(response OzoneFileStatusProto) : OzoneFileStatus in class org.apache.hadoop.ozone.om.helpers.OzoneFileStatus | From | To | |
| Move Method | 1 | ||
| Move Method private addTrailingSlashIfNeeded(key String) : String from class org.apache.hadoop.ozone.om.KeyManagerImpl to public addTrailingSlashIfNeeded(key String) : String from class org.apache.hadoop.ozone.om.helpers.OzoneFSUtils | From | To | |
| Change Return Type | 2 | ||
| Change Return Type FileStatusProto to OzoneFileStatusProto in method public getProtobuf() : OzoneFileStatusProto in class org.apache.hadoop.ozone.om.helpers.OzoneFileStatus | From | To | |
| Change Return Type void to OzoneFileStatus in method private verifyNoFilesInPath(volumeName String, bucketName String, path Path, directoryMustExist boolean) : OzoneFileStatus in class org.apache.hadoop.ozone.om.KeyManagerImpl | From | To | |
| Extract Variable | 1 | ||
| Extract Variable keyPath : Path in method public createDirectory(args OmKeyArgs) : void from class org.apache.hadoop.ozone.om.KeyManagerImpl | From | To | |
| Change Variable Type | 4 | ||
| Change Variable Type lookupFileRequest : OzoneManagerProtocolProtos.LookupFileRequest to lookupFileRequest : LookupFileRequest in method public lookupFile(args OmKeyArgs) : OmKeyInfo in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
| Change Variable Type resp : OzoneManagerProtocolProtos.CreateFileResponse to resp : CreateFileResponse in method public createFile(args OmKeyArgs, overWrite boolean, recursive boolean) : OpenKeySession in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
| Change Variable Type resp : OzoneManagerProtocolProtos.LookupFileResponse to resp : LookupFileResponse in method public lookupFile(args OmKeyArgs) : OmKeyInfo in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
| Change Variable Type createFileRequest : OzoneManagerProtocolProtos.CreateFileRequest to createFileRequest : CreateFileRequest in method public createFile(args OmKeyArgs, overWrite boolean, recursive boolean) : OpenKeySession in class org.apache.hadoop.ozone.om.protocolPB.OzoneManagerProtocolClientSideTranslatorPB | From | To | |
| Extract Method | 1 | ||
| Extract Method private createDirectoryKey(volumeName String, bucketName String, keyName String) : OmKeyInfo extracted from public createDirectory(args OmKeyArgs) : void in class org.apache.hadoop.ozone.om.KeyManagerImpl | From | To |