61a37c57d668f067c495ed227e1ca24e71c02332
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method protected createUndoTasks(iTx OTransaction) : List<OAbstractRemoteTask> renamed to protected createUndoTasksFromTx(iTx OTransaction) : List<OAbstractRemoteTask> in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type result : Object to dResponse : ODistributedResponse in method protected processCommitResult(localNodeName String, iTx OTransaction, txTask OTxTask, involvedClusters Set<String>, tmpEntries Iterable<ORecordOperation>, nodes Collection<String>, autoRetryDelay int, reqId ODistributedRequestId, dResponse ODistributedResponse) : boolean in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Rename Variable | 5 | ||
Rename Variable response : ODistributedResponse to dResponse : ODistributedResponse in method public run() : void in class com.orientechnologies.orient.server.distributed.ODistributedStorage.ODistributedStorage | From | To | |
Rename Variable result : Object to dResult : Object in method public readRecord(iRecordId ORecordId, iFetchPlan String, iIgnoreCache boolean, iCallback ORecordCallback<ORawBuffer>) : OStorageOperationResult<ORawBuffer> in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Rename Variable undo : ORemoteTask to undoTask : ORemoteTask in method private executeUndoOnLocalServer(reqId ODistributedRequestId, task OAbstractReplicatedTask) : void in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Rename Variable masterResult : Object to payload : Object in method public call(unlockCallback OCallable<Void,ODistributedRequestId>) : Object in class com.orientechnologies.orient.server.distributed.ODistributedStorage.createRecord.executeRecordOperationInLock | From | To | |
Rename Variable response : ODistributedResponse to dResponse : ODistributedResponse in method public command(iCommand OCommandRequestText) : Object in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Extract Variable | 4 | ||
Extract Variable dResponse : ODistributedResponse in method public call(unlockCallback OCallable<Void,ODistributedRequestId>) : Object from class com.orientechnologies.orient.server.distributed.ODistributedStorage.deleteRecord.executeRecordOperationInLock | From | To | |
Extract Variable dResponse : ODistributedResponse in method public call(unlockCallback OCallable<Void,ODistributedRequestId>) : Object from class com.orientechnologies.orient.server.distributed.ODistributedStorage.updateRecord.executeRecordOperationInLock | From | To | |
Extract Variable dResponse : ODistributedResponse in method public call(unlockCallback OCallable<Void,ODistributedRequestId>) : Object from class com.orientechnologies.orient.server.distributed.ODistributedStorage.createRecord.executeRecordOperationInLock | From | To | |
Extract Variable task : OCreateRecordTask in method public call(unlockCallback OCallable<Void,ODistributedRequestId>) : Object from class com.orientechnologies.orient.server.distributed.ODistributedStorage.createRecord.executeRecordOperationInLock | From | To | |
Extract Method | 2 | ||
Extract Method private executeUndoOnLocalServer(reqId ODistributedRequestId, task OAbstractReplicatedTask) : void extracted from public commit(iTx OTransaction, callback Runnable) : List<ORecordOperation> in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To | |
Extract Method private composeConflictMessage() : String extracted from protected manageConflicts() : RuntimeException in class com.orientechnologies.orient.server.distributed.ODistributedResponseManager | From | To | |
Rename Parameter | 1 | ||
Rename Parameter result : Object to dResponse : ODistributedResponse in method protected processCommitResult(localNodeName String, iTx OTransaction, txTask OTxTask, involvedClusters Set<String>, tmpEntries Iterable<ORecordOperation>, nodes Collection<String>, autoRetryDelay int, reqId ODistributedRequestId, dResponse ODistributedResponse) : boolean in class com.orientechnologies.orient.server.distributed.ODistributedStorage | From | To |