6312a16fa2fedd380483a0929229746b9a00ae01
Files Diff
- Added: 4
- Removed: 0
- Renamed: 0
- Modified: 26
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 4 | ||
Change Parameter Type listener : OAbstractCommandResultListener to listener : SimpleValueFetchPlanCommandListener in method public serializeValue(channel OChannelBinary, listener SimpleValueFetchPlanCommandListener, result Object, load boolean, isRecordResultSet boolean, protocolVersion int, recordSerializer String) : void in class com.orientechnologies.orient.client.remote.message.OCommandResponseServer | From | To | |
Change Parameter Type response : OBinaryResponse<T> to response : X in method public asyncNetworkOperation(request OBinaryRequest, response X, mode int, recordId ORecordId, callback ORecordCallback<X>, errorMessage String) : T in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Change Parameter Type callback : ORecordCallback<T> to callback : ORecordCallback<X> in method public asyncNetworkOperation(request OBinaryRequest, response X, mode int, recordId ORecordId, callback ORecordCallback<X>, errorMessage String) : T in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Change Parameter Type listener : OAbstractCommandResultListener to listener : SimpleValueFetchPlanCommandListener in method private writeSimpleValue(channel OChannelBinary, listener SimpleValueFetchPlanCommandListener, result Object, protocolVersion int, recordSerializer String) : void in class com.orientechnologies.orient.client.remote.message.OCommandResponseServer | From | To | |
Move Method | 2 | ||
Move Method public serializeValue(connection OClientConnection, listener OAbstractCommandResultListener, result Object, load boolean, isRecordResultSet boolean) : void from class com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary to public serializeValue(channel OChannelBinary, listener SimpleValueFetchPlanCommandListener, result Object, load boolean, isRecordResultSet boolean, protocolVersion int, recordSerializer String) : void from class com.orientechnologies.orient.client.remote.message.OCommandResponseServer | From | To | |
Move Method private writeSimpleValue(connection OClientConnection, listener OAbstractCommandResultListener, result Object) : void from class com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary to private writeSimpleValue(channel OChannelBinary, listener SimpleValueFetchPlanCommandListener, result Object, protocolVersion int, recordSerializer String) : void from class com.orientechnologies.orient.client.remote.message.OCommandResponseServer | From | To | |
Change Return Type | 1 | ||
Change Return Type OPhysicalPosition to Long in method public read(network OChannelBinaryAsynchClient, session OStorageRemoteSession) : Long in class com.orientechnologies.orient.client.remote.message.OCreateRecordResponse | From | To | |
Rename Attribute | 11 | ||
Rename Attribute iRid : ORecordId to rid : ORecordId in class com.orientechnologies.orient.client.remote.message.ODeleteRecordRequest | From | To | |
Rename Attribute iFetchPlan : String to fetchPlan : String in class com.orientechnologies.orient.client.remote.message.OReadRecordRequest | From | To | |
Rename Attribute iContent : byte[] to content : byte[] in class com.orientechnologies.orient.client.remote.message.OUpdateRecordRequest | From | To | |
Rename Attribute iRid : ORecordId to rid : ORecordId in class com.orientechnologies.orient.client.remote.message.OUpdateRecordRequest | From | To | |
Rename Attribute iCommand : OCommandRequestText to query : OCommandRequestText in class com.orientechnologies.orient.client.remote.message.OCommandRequest | From | To | |
Rename Attribute collectionManager : OSBTreeCollectionManager to changes : Map<UUID,OBonsaiCollectionPointer> in class com.orientechnologies.orient.client.remote.message.OUpdateRecordResponse | From | To | |
Rename Attribute iRid : ORecordId to rid : ORecordId in class com.orientechnologies.orient.client.remote.message.OReadRecordRequest | From | To | |
Rename Attribute iVersion : int to version : int in class com.orientechnologies.orient.client.remote.message.ODeleteRecordRequest | From | To | |
Rename Attribute iIgnoreCache : boolean to ignoreCache : boolean in class com.orientechnologies.orient.client.remote.message.OReadRecordRequest | From | To | |
Rename Attribute iRecordType : byte to recordType : byte in class com.orientechnologies.orient.client.remote.message.OUpdateRecordRequest | From | To | |
Rename Attribute iVersion : int to version : int in class com.orientechnologies.orient.client.remote.message.OUpdateRecordRequest | From | To | |
Change Variable Type | 2 | ||
Change Variable Type iParameter : Object to iParameter : OBinaryResponse<Object> in method public testAsyncRead() : void in class com.orientechnologies.orient.client.remote.OStorageRemoteAsyncOperationTest | From | To | |
Change Variable Type realCallback : ORecordCallback<OPhysicalPosition> to realCallback : ORecordCallback<OCreateRecordResponse> in method public createRecord(iRid ORecordId, iContent byte[], iRecordVersion int, iRecordType byte, iMode int, iCallback ORecordCallback<Long>) : OStorageOperationResult<OPhysicalPosition> in class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Variable | 9 | ||
Extract Variable request : OUpdateRecordRequest in method public updateRecord(iRid ORecordId, updateContent boolean, iContent byte[], iVersion int, iRecordType byte, iMode int, iCallback ORecordCallback<Integer>) : OStorageOperationResult<Integer> from class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Variable request : ODeleteRecordRequest in method public deleteRecord(iRid ORecordId, iVersion int, iMode int, iCallback ORecordCallback<Boolean>) : OStorageOperationResult<Boolean> from class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Variable response : OHideRecordResponse in method public hideRecord(recordId ORecordId, mode int, callback ORecordCallback<Boolean>) : OStorageOperationResult<Boolean> from class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Variable response : OCleanOutRecordResponse in method public cleanOutRecord(recordId ORecordId, recordVersion int, iMode int, callback ORecordCallback<Boolean>) : boolean from class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Variable request : OCreateRecordRequest in method public createRecord(iRid ORecordId, iContent byte[], iRecordVersion int, iRecordType byte, iMode int, iCallback ORecordCallback<Long>) : OStorageOperationResult<OPhysicalPosition> from class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Variable request : OCleanOutRecordRequest in method public cleanOutRecord(recordId ORecordId, recordVersion int, iMode int, callback ORecordCallback<Boolean>) : boolean from class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Variable request : OHideRecordRequest in method public hideRecord(recordId ORecordId, mode int, callback ORecordCallback<Boolean>) : OStorageOperationResult<Boolean> from class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Variable response : OUpdateRecordResponse in method public updateRecord(iRid ORecordId, updateContent boolean, iContent byte[], iVersion int, iRecordType byte, iMode int, iCallback ORecordCallback<Integer>) : OStorageOperationResult<Integer> from class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Variable response : ODeleteRecordResponse in method public deleteRecord(iRid ORecordId, iVersion int, iMode int, iCallback ORecordCallback<Boolean>) : OStorageOperationResult<Boolean> from class com.orientechnologies.orient.client.remote.OStorageRemote | From | To | |
Extract Interface | 2 | ||
Extract Interface com.orientechnologies.orient.client.remote.SimpleValueFetchPlanCommandListener from classes [com.orientechnologies.orient.server.network.protocol.binary.OAbstractCommandResultListener] | From | To | |
Extract Interface com.orientechnologies.orient.client.remote.OFetchPlanResults from classes [com.orientechnologies.orient.server.network.protocol.binary.OSyncCommandResultListener] | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type collectionManager : OSBTreeCollectionManager to changes : Map<UUID,OBonsaiCollectionPointer> in class com.orientechnologies.orient.client.remote.message.OUpdateRecordResponse | From | To |