044dcbb47356a30b1f400121e6231641c06d980f
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 16
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type in : ByteArrayDataInputStream to in : DataInput in method protected readRequest(in DataInput) : GossipData in class org.jgroups.stack.GossipRouter | From | To | |
| Change Parameter Type request : GossipData to in : DataInput in method protected handleRegister(sender Address, in DataInput) : void in class org.jgroups.stack.GossipRouter | From | To | |
| Rename Variable | 1 | ||
| Rename Variable request : GossipData to req : GossipData in method protected handleRegister(sender Address, in DataInput) : void in class org.jgroups.stack.GossipRouter | From | To | |
| Inline Method | 1 | ||
| Inline Method protected handleMessageBatch(sender Address, data byte[], offset int, length int) : void inlined to public receive(sender Address, data byte[], offset int, length int) : void in class org.jgroups.protocols.TP | From | To | |
| Change Return Type | 1 | ||
| Change Return Type GossipData to void in method public addPingData(data PingData) : void in class org.jgroups.stack.GossipData | From | To | |
| Parameterize Variable | 17 | ||
| Parameterize Variable addr2 : Address to dest : Address in method protected send(request byte[], server BaseServer, dest Address) : void in class org.jgroups.tests.ServerUnitTest | From | To | |
| Parameterize Variable addr1 : Address to dest : Address in method protected send(request byte[], server BaseServer, dest Address) : void in class org.jgroups.tests.ServerUnitTest | From | To | |
| Parameterize Variable b : BaseServer to server : BaseServer in method protected send(request byte[], server BaseServer, dest Address) : void in class org.jgroups.tests.ServerUnitTest | From | To | |
| Parameterize Variable a : BaseServer to server : BaseServer in method protected send(request byte[], server BaseServer, dest Address) : void in class org.jgroups.tests.ServerUnitTest | From | To | |
| Parameterize Variable other : Address to dest : Address in method protected send(request byte[], server BaseServer, dest Address) : void in class org.jgroups.tests.ServerUnitTest | From | To | |
| Parameterize Variable myself : Address to dest : Address in method protected send(request byte[], server BaseServer, dest Address) : void in class org.jgroups.tests.ServerUnitTest | From | To | |
| Extract Method | 14 | ||
| Extract Method protected send(request byte[], server BaseServer, dest Address) : void extracted from public testReuseOfConnection() : void in class org.jgroups.tests.ServerUnitTest | From | To | |
| Extract Method protected send(request byte[], server BaseServer, dest Address) : void extracted from public testSendToAll() : void in class org.jgroups.tests.ServerUnitTest | From | To | |
| Extract Method protected send(request byte[], server BaseServer, dest Address) : void extracted from public testSendEmptyData() : void in class org.jgroups.tests.ServerUnitTest | From | To | |
| Extract Method protected send(request byte[], server BaseServer, dest Address) : void extracted from public testSendToOther() : void in class org.jgroups.tests.ServerUnitTest | From | To | |
| Extract Method protected dump(data GossipData) : void extracted from public receive(sender Address, buf byte[], offset int, length int) : void in class org.jgroups.stack.GossipRouter | From | To | |
| Extract Method protected send(request byte[], server BaseServer, dest Address) : void extracted from public testSendToSelf() : void in class org.jgroups.tests.ServerUnitTest | From | To | |
| Extract Method protected send(str String, server BaseServer, dest Address) : void extracted from public testSimpleSend(a BaseServer, b BaseServer) : void in class org.jgroups.tests.byteman.ServerTest | From | To | |
| Extract Method protected readFrom(in DataInput, read_type boolean) : void extracted from public readFrom(in DataInput) : void in class org.jgroups.stack.GossipData | From | To | |
| Extract Method protected send(request byte[], server BaseServer, dest Address) : void extracted from public testConnectionCountOnStop() : void in class org.jgroups.tests.ServerUnitTest | From | To | |
| Extract Method protected send(request byte[], server BaseServer, dest Address) : void extracted from public testSendToOtherGetResponse() : void in class org.jgroups.tests.ServerUnitTest | From | To | |
| Extract And Move Method | 2 | ||
| Extract And Move Method public receive(sender Address, in DataInput, len int) : void extracted from public run() : void in class org.jgroups.blocks.cs.TcpConnection.Receiver & moved to class org.jgroups.blocks.cs.BaseServer | From | To | |
| Extract And Move Method protected send(str String, server BaseServer, dest Address) : void extracted from public run() : void in class org.jgroups.tests.byteman.ServerTest.Sender & moved to class org.jgroups.tests.byteman.ServerTest | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter request : GossipData to in : DataInput in method protected handleRegister(sender Address, in DataInput) : void in class org.jgroups.stack.GossipRouter | From | To |