76362a52b1c04d9ff5644514123f3c62c32d2d1b
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 34
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 3 | ||
| Rename Method public testGracefulLeave() : void renamed to public testConcurrentLeaves8() : void in class org.jgroups.tests.LeaveTest | From | To | |
| Rename Method protected setup() : void renamed to public testParticipantLeave() : void in class org.jgroups.tests.LeaveTest | From | To | |
| Rename Method protected sendLeaveReqTo(coord Address) : void renamed to protected sendLeaveReqToCoord(coord Address) : boolean in class org.jgroups.protocols.pbcast.ServerGmsImpl | From | To | |
| Pull Up Method | 1 | ||
| Pull Up Method public handleLeaveResponse() : void from class org.jgroups.protocols.pbcast.ServerGmsImpl to public handleLeaveResponse(sender Address) : void from class org.jgroups.protocols.pbcast.GmsImpl | From | To | |
| Rename Variable | 1 | ||
| Rename Variable result : Boolean to sender : Address in method protected sendLeaveReqToCoord(coord Address) : boolean in class org.jgroups.protocols.pbcast.ServerGmsImpl | From | To | |
| Change Return Type | 1 | ||
| Change Return Type void to boolean in method protected sendLeaveReqToCoord(coord Address) : boolean in class org.jgroups.protocols.pbcast.ServerGmsImpl | From | To | |
| Rename Class | 1 | ||
| Rename Class org.jgroups.tests.ConcurrentLeaversTest renamed to org.jgroups.tests.LeaveTest | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type result : Boolean to sender : Address in method protected sendLeaveReqToCoord(coord Address) : boolean in class org.jgroups.protocols.pbcast.ServerGmsImpl | From | To | |
| Extract Method | 4 | ||
| Extract Method protected addAndSendIfSizeExceeded(msg Message) : void extracted from public run() : void in class org.jgroups.protocols.TransferQueueBundler | From | To | |
| Extract Method protected testConcurrentLeaves(num_leavers int) : void extracted from public testGracefulLeave() : void in class org.jgroups.tests.LeaveTest | From | To | |
| Extract Method protected setup(num int) : void extracted from protected setup() : void in class org.jgroups.tests.LeaveTest | From | To | |
| Extract And Move Method | 6 | ||
| Extract And Move Method public setLeaving(flag boolean) : GMS extracted from public start() : void in class org.jgroups.protocols.pbcast.GmsImpl & moved to class org.jgroups.protocols.pbcast.GMS | From | To | |
| Extract And Move Method public setLeaving(flag boolean) : GMS extracted from public init() : void in class org.jgroups.protocols.pbcast.GmsImpl & moved to class org.jgroups.protocols.pbcast.GMS | From | To | |
| Extract And Move Method public setLeaving(flag boolean) : GMS extracted from protected joinInternal(mbr Address, joinWithStateTransfer boolean, useFlushIfPresent boolean) : void in class org.jgroups.protocols.pbcast.ClientGmsImpl & moved to class org.jgroups.protocols.pbcast.GMS | From | To | |
| Extract And Move Method public setLeaving(flag boolean) : GMS extracted from protected sendLeaveReqTo(coord Address) : void in class org.jgroups.protocols.pbcast.ServerGmsImpl & moved to class org.jgroups.protocols.pbcast.GMS | From | To | |
| Extract And Move Method public setLeaving(flag boolean) : GMS extracted from public stop() : void in class org.jgroups.protocols.pbcast.GmsImpl & moved to class org.jgroups.protocols.pbcast.GMS | From | To | |
| Extract And Move Method public setLeaving(flag boolean) : GMS extracted from public leave(mbr Address) : void in class org.jgroups.protocols.pbcast.ClientGmsImpl & moved to class org.jgroups.protocols.pbcast.GMS | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter new_view : View to view : View in method public handleViewChange(view View, digest Digest) : void in class org.jgroups.protocols.pbcast.ParticipantGmsImpl | From | To |