002b175e6610520bc800f076cd2bc71730eb9b79
Files Diff
- Added: 8
- Removed: 8
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public sendTo(node String, id OLogId, request ONodeMessage) : void renamed to public sendRequest(id OLogId, request ONodeRequest) : void in class com.orientechnologies.orient.server.distributed.impl.coordinator.ODistributedCoordinatorTest.MockChannel | From | To | |
Change Parameter Type | 5 | ||
Change Parameter Type nodeFrom : String to nodeFrom : ODistributedMember in method public execute(nodeFrom ODistributedMember, opId OLogId, executor ODistributedExecutor) : ONodeResponse in class com.orientechnologies.orient.server.distributed.impl.coordinator.ODistributedCoordinatorTest.MockNodeRequest | From | To | |
Change Parameter Type request : ONodeMessage to request : ONodeRequest in method public sendRequest(id OLogId, request ONodeRequest) : void in class com.orientechnologies.orient.server.distributed.impl.coordinator.ODistributedCoordinatorTest.MockChannel | From | To | |
Change Parameter Type nodeFrom : String to nodeFrom : ODistributedMember in method public execute(nodeFrom ODistributedMember, opId OLogId, executor ODistributedExecutor) : ONodeResponse in class com.orientechnologies.orient.server.distributed.impl.coordinator.ONodeRequest | From | To | |
Change Parameter Type nodeFrom : String to nodeFrom : ODistributedMember in method public execute(nodeFrom ODistributedMember, opId OLogId, executor ODistributedExecutor) : ONodeResponse in class com.orientechnologies.orient.server.distributed.impl.coordinator.mocktx.OPhase1Tx | From | To | |
Change Parameter Type nodeFrom : String to nodeFrom : ODistributedMember in method public execute(nodeFrom ODistributedMember, opId OLogId, executor ODistributedExecutor) : ONodeResponse in class com.orientechnologies.orient.server.distributed.impl.coordinator.mocktx.OPhase2Tx | From | To | |
Rename Variable | 2 | ||
Rename Variable sender : MockOSender to channel : MockChannel in method public simpleOperationTest() : void in class com.orientechnologies.orient.server.distributed.impl.coordinator.ODistributedCoordinatorTest | From | To | |
Rename Variable sender : MockOSender to channel : MockChannel in method public testTwoPhase() : void in class com.orientechnologies.orient.server.distributed.impl.coordinator.ODistributedCoordinatorTest | From | To | |
Rename Class | 1 | ||
Rename Class com.orientechnologies.orient.server.distributed.impl.coordinator.ODistributedCoordinatorTest.MockOSender renamed to com.orientechnologies.orient.server.distributed.impl.coordinator.ODistributedCoordinatorTest.MockChannel | From | To | |
Move Class | 5 | ||
Move Class com.orientechnologies.orient.server.distributed.impl.coordinator.CoordinatorTxTest moved to com.orientechnologies.orient.server.distributed.impl.coordinator.mocktx.CoordinatorTxTest | From | To | |
Move Class com.orientechnologies.orient.server.distributed.impl.coordinator.OPhase2TxOk moved to com.orientechnologies.orient.server.distributed.impl.coordinator.mocktx.OPhase2TxOk | From | To | |
Move Class com.orientechnologies.orient.server.distributed.impl.coordinator.OPhase1TxOk moved to com.orientechnologies.orient.server.distributed.impl.coordinator.mocktx.OPhase1TxOk | From | To | |
Move Class com.orientechnologies.orient.server.distributed.impl.coordinator.OPhase2Tx moved to com.orientechnologies.orient.server.distributed.impl.coordinator.mocktx.OPhase2Tx | From | To | |
Move Class com.orientechnologies.orient.server.distributed.impl.coordinator.OPhase1Tx moved to com.orientechnologies.orient.server.distributed.impl.coordinator.mocktx.OPhase1Tx | From | To | |
Rename Attribute | 1 | ||
Rename Attribute nodes : List<String> to members : Map<String,ODistributedMember> in class com.orientechnologies.orient.server.distributed.impl.coordinator.ODistributedCoordinator | From | To | |
Extract Variable | 1 | ||
Extract Variable submit : OSubmitTx in method public testTxCoordinator() : void from class com.orientechnologies.orient.server.distributed.impl.coordinator.mocktx.CoordinatorTxTest | From | To | |
Change Variable Type | 3 | ||
Change Variable Type sender : MockOSender to channel : MockChannel in method public testTwoPhase() : void in class com.orientechnologies.orient.server.distributed.impl.coordinator.ODistributedCoordinatorTest | From | To | |
Change Variable Type sender : MockOSender to channel : MockChannel in method public simpleOperationTest() : void in class com.orientechnologies.orient.server.distributed.impl.coordinator.ODistributedCoordinatorTest | From | To | |
Change Variable Type nodeFrom : String to nodeFrom : ODistributedMember in method public testTwoPhase() : void in class com.orientechnologies.orient.server.distributed.impl.coordinator.ODistributedCoordinatorTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type nodes : List<String> to members : Map<String,ODistributedMember> in class com.orientechnologies.orient.server.distributed.impl.coordinator.ODistributedCoordinator | From | To |