0278ce2321f4fce2fb09484ddbe9f2b6318e66c0
Files Diff
- Added: 2
- Removed: 2
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 5 | ||
Rename Method public hasException() : boolean renamed to public hasStatus() : boolean in class alluxio.proto.dataserver.Protocol.Response | From | To | |
Rename Method public setException(value Exception.PException) : Builder renamed to public setStatus(value Status.PStatus) : Builder in class alluxio.proto.dataserver.Protocol.Response.Builder | From | To | |
Rename Method public hasException() : boolean renamed to public hasStatus() : boolean in class alluxio.proto.dataserver.Protocol.ResponseOrBuilder | From | To | |
Rename Method public hasException() : boolean renamed to public hasStatus() : boolean in class alluxio.proto.dataserver.Protocol.Response.Builder | From | To | |
Rename Method public clearException() : Builder renamed to public clearMessage() : Builder in class alluxio.proto.dataserver.Protocol.Response.Builder | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type value : Exception.PException to value : Status.PStatus in method public setStatus(value Status.PStatus) : Builder in class alluxio.proto.dataserver.Protocol.Response.Builder | From | To | |
Move Method | 9 | ||
Move Method public setMessageBytes(value ByteString) : Builder from class alluxio.proto.exception.Exception.PException.Builder to public setMessageBytes(value ByteString) : Builder from class alluxio.proto.dataserver.Protocol.Response.Builder | From | To | |
Move Method public getMessageBytes() : ByteString from class alluxio.proto.exception.Exception.PException to public getMessageBytes() : ByteString from class alluxio.proto.dataserver.Protocol.Response | From | To | |
Move Method public clearStatus() : Builder from class alluxio.proto.exception.Exception.PException.Builder to public clearStatus() : Builder from class alluxio.proto.dataserver.Protocol.Response.Builder | From | To | |
Move Method public hasMessage() : boolean from class alluxio.proto.exception.Exception.PException to public hasMessage() : boolean from class alluxio.proto.dataserver.Protocol.Response | From | To | |
Move Method public hasMessage() : boolean from class alluxio.proto.exception.Exception.PException.Builder to public hasMessage() : boolean from class alluxio.proto.dataserver.Protocol.Response | From | To | |
Move Method public getMessageBytes() : ByteString from class alluxio.proto.exception.Exception.PException.Builder to public getMessageBytes() : ByteString from class alluxio.proto.dataserver.Protocol.Response.Builder | From | To | |
Move Method public getMessage() : String from class alluxio.proto.exception.Exception.PException to public getMessage() : String from class alluxio.proto.dataserver.Protocol.Response | From | To | |
Move Method public getMessage() : String from class alluxio.proto.exception.Exception.PException.Builder to public getMessage() : String from class alluxio.proto.dataserver.Protocol.Response.Builder | From | To | |
Move Method public setMessage(value String) : Builder from class alluxio.proto.exception.Exception.PException.Builder to public setMessage(value String) : Builder from class alluxio.proto.dataserver.Protocol.Response.Builder | From | To | |
Inline Method | 1 | ||
Inline Method public mergeException(value Exception.PException) : Builder inlined to public mergeFrom(other Protocol.Response) : Builder in class alluxio.proto.dataserver.Protocol.Response.Builder | From | To | |
Change Return Type | 4 | ||
Change Return Type TExceptionStatus to TStatus in method public toThrift(status Status) : TStatus in class alluxio.exception.status.Status | From | To | |
Change Return Type Status to PStatus in method public valueOf(value int) : PStatus in class alluxio.proto.status.Status.PStatus | From | To | |
Change Return Type Status to PStatus in method public valueOf(desc Descriptors.EnumValueDescriptor) : PStatus in class alluxio.proto.status.Status.PStatus | From | To | |
Change Return Type Internal.EnumLiteMap<Status> to Internal.EnumLiteMap<PStatus> in method public internalGetValueMap() : Internal.EnumLiteMap<PStatus> in class alluxio.proto.status.Status.PStatus | From | To | |
Move And Rename Class | 2 | ||
Move And Rename Class alluxio.proto.exception.Exception moved and renamed to alluxio.proto.status.Status | From | To | |
Move And Rename Class alluxio.proto.exception.Exception.Status moved and renamed to alluxio.proto.status.Status.PStatus | From | To | |
Replace Variable With Attribute | 1 | ||
Replace Variable With Attribute subBuilder : Exception.PException.Builder to message_ : Object in method private Response(input CodedInputStream, extensionRegistry ExtensionRegistryLite) in class alluxio.proto.dataserver.Protocol.Response | From | To | |
Rename Attribute | 1 | ||
Rename Attribute exception_ : Exception.PException to status_ : Status.PStatus in class alluxio.proto.dataserver.Protocol.Response | From | To | |
Change Variable Type | 1 | ||
Change Variable Type subBuilder : Exception.PException.Builder to message_ : Object in method private Response(input CodedInputStream, extensionRegistry ExtensionRegistryLite) in class alluxio.proto.dataserver.Protocol.Response | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type VALUES : Status[] to VALUES : PStatus[] in class alluxio.proto.status.Status.PStatus | From | To | |
Change Attribute Type exception_ : Exception.PException to status_ : Status.PStatus in class alluxio.proto.dataserver.Protocol.Response | From | To | |
Change Attribute Type internalValueMap : Internal.EnumLiteMap<Status> to internalValueMap : Internal.EnumLiteMap<PStatus> in class alluxio.proto.status.Status.PStatus | From | To |