Renamed TcpConfig static factories back to of()

This commit is contained in:
leventov
2014-11-11 17:16:57 +03:00
parent 308abc5b72
commit 59f53fd115
14 changed files with 47 additions and 60 deletions
@@ -63,7 +63,7 @@ public class PostChannelCreationTest {
{
final TcpTransportAndNetworkConfig tcpConfig = TcpTransportAndNetworkConfig
.forSendingNode(8086, new InetSocketAddress("localhost", 8087))
.of(8086, new InetSocketAddress("localhost", 8087))
.heartBeatInterval(1, SECONDS);
hubA = ReplicationHub.builder().tcpTransportAndNetwork(tcpConfig)
@@ -82,7 +82,7 @@ public class PostChannelCreationTest {
{
final TcpTransportAndNetworkConfig tcpConfig = TcpTransportAndNetworkConfig
.forSendingNode(8087, new InetSocketAddress("localhost", 8086))
.of(8087, new InetSocketAddress("localhost", 8086))
.heartBeatInterval(1, SECONDS);
hubB = ReplicationHub.builder().tcpTransportAndNetwork(tcpConfig)