3af890134b2eef951056eb03ec11c14fb1ca75fe
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 13
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public isDiagnosticsHandlerRunning() : boolean renamed to public isDiagnosticsRunning() : boolean in class org.jgroups.protocols.TP | From | To | |
| Rename Method public run() : void renamed to protected runUDP() : void in class org.jgroups.stack.DiagnosticsHandler | From | To | |
| Inline Method | 2 | ||
| Inline Method protected isAuthorizationRequired() : boolean inlined to protected runUDP() : void in class org.jgroups.stack.DiagnosticsHandler | From | To | |
| Change Return Type | 3 | ||
| Change Return Type void to Runner in method public stop() : Runner in class org.jgroups.util.Runner | From | To | |
| Change Return Type void to Runner in method public start() : Runner in class org.jgroups.util.Runner | From | To | |
| Change Return Type Collection<InetAddress> to Collection<SocketAddress> in method protected parseAddresses(input String, port int) : Collection<SocketAddress> in class org.jgroups.tests.Probe | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute diag_sock : MulticastSocket to udp_sock : MulticastSocket in class org.jgroups.stack.DiagnosticsHandler | From | To | |
| Rename Attribute thread : Thread to udp_runner : Runner in class org.jgroups.stack.DiagnosticsHandler | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type retval : Collection<InetAddress> to retval : Collection<SocketAddress> in method protected parseAddresses(input String, port int) : Collection<SocketAddress> in class org.jgroups.tests.Probe | From | To | |
| Change Variable Type diag_rsp : byte[] to diag_rsp : String in method protected handleDiagnosticProbe(sender SocketAddress, request String, rsp_sender BiConsumer<SocketAddress,String>) : void in class org.jgroups.stack.DiagnosticsHandler | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type thread : Thread to udp_runner : Runner in class org.jgroups.stack.DiagnosticsHandler | From | To | |
| Extract Method | 1 | ||
| Extract Method protected startUDP() : DiagnosticsHandler extracted from public start() : void in class org.jgroups.stack.DiagnosticsHandler | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public setDiagnosticsPortRange(r int) : DiagnosticsHandler extracted from public init() : void in class org.jgroups.protocols.TP & moved to class org.jgroups.stack.DiagnosticsHandler | From | To |