3be49d00243b41bcd01ce11facdd9c4730573f80
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 19
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Pull Up Method | 2 | ||
Pull Up Method public socketFactory() : SocketFactory from class org.jgroups.blocks.cs.TcpBaseServer to public socketFactory() : SocketFactory from class org.jgroups.blocks.cs.BaseServer | From | To | |
Pull Up Method public socketFactory(factory SocketFactory) : TcpBaseServer from class org.jgroups.blocks.cs.TcpBaseServer to public socketFactory(factory SocketFactory) : BaseServer from class org.jgroups.blocks.cs.BaseServer | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute protected socket_factory : SocketFactory from class org.jgroups.blocks.cs.TcpBaseServer to protected socket_factory : SocketFactory from class org.jgroups.blocks.cs.BaseServer | From | To | |
Change Return Type | 3 | ||
Change Return Type short to int in method public getNextTcpPort(bind_addr InetAddress) : int in class org.jgroups.util.ResourceManager | From | To | |
Change Return Type List<Short> to List<Integer> in method public getNextTcpPorts(bind_addr InetAddress, num_requested_ports int) : List<Integer> in class org.jgroups.util.ResourceManager | From | To | |
Change Return Type TcpBaseServer to BaseServer in method public socketFactory(factory SocketFactory) : BaseServer in class org.jgroups.blocks.cs.BaseServer | From | To | |
Extract Attribute | 1 | ||
Extract Attribute protected socket_factory : SocketFactory in class org.jgroups.stack.GossipRouter | From | To | |
Change Variable Type | 5 | ||
Change Variable Type port : short to port : int in method public getNextTcpPort(bind_addr InetAddress) : int in class org.jgroups.util.ResourceManager | From | To | |
Change Variable Type retval : List<Short> to retval : List<Integer> in method public getNextTcpPorts(bind_addr InetAddress, num_requested_ports int) : List<Integer> in class org.jgroups.util.ResourceManager | From | To | |
Change Variable Type ports : List<Short> to ports : List<Integer> in method public main(args String[]) : void in class org.jgroups.util.ResourceManager | From | To | |
Change Variable Type port : short to port : int in method public getNextTcpPorts(bind_addr InetAddress, num_requested_ports int) : List<Integer> in class org.jgroups.util.ResourceManager | From | To | |
Change Variable Type ports : List<Short> to ports : List<Integer> in method protected makeUnique(channel Channel, num int, mcast_address String) : void in class org.jgroups.tests.ChannelTestBase.DefaultChannelTestFactory | From | To | |
Extract Method | 4 | ||
Extract Method public bind(srv_sock ServerSocket, bind_addr InetAddress, start_port int, end_port int, backlog int) : void extracted from public createServerSocket(factory SocketFactory, service_name String, bind_addr InetAddress, start_port int) : ServerSocket in class org.jgroups.util.Util | From | To | |
Extract Method public bind(srv_sock ServerSocket, bind_addr InetAddress, start_port int, end_port int) : void extracted from public createServerSocketChannel(bind_addr InetAddress, start_port int, end_port int) : ServerSocketChannel in class org.jgroups.util.Util | From | To | |
Extract Method public bind(srv_sock ServerSocket, bind_addr InetAddress, start_port int, end_port int) : void extracted from public createServerSocket(factory SocketFactory, service_name String, bind_addr InetAddress, start_port int, end_port int) : ServerSocket in class org.jgroups.util.Util | From | To | |
Extract Method protected getNextTCPPort(bind_addr InetAddress, start_port int) : int extracted from public getNextTcpPort(bind_addr InetAddress) : short in class org.jgroups.util.ResourceManager | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type tcp_port : short to tcp_port : int in class org.jgroups.util.ResourceManager | From | To |