mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Remove double and triple blank lines
This commit is contained in:
@@ -35,11 +35,9 @@ public class NodeDiscoveryBroadcasterTest extends TestCase {
|
||||
public static final int SERVER2_IDENTIFER = 10;
|
||||
public static final int PROPOSED_IDENTIFIER = 5;
|
||||
|
||||
|
||||
@Test
|
||||
public void testsTheSerializationOfTheNodeDiscovery() throws IOException, InterruptedException {
|
||||
|
||||
|
||||
AtomicReference ref = new AtomicReference();
|
||||
final AddressAndPort ourAddressAndPort1 = new AddressAndPort(InetAddress.getLocalHost()
|
||||
.getAddress(),
|
||||
@@ -81,7 +79,6 @@ public class NodeDiscoveryBroadcasterTest extends TestCase {
|
||||
|
||||
// add our identifier and host:port to the list of known identifiers
|
||||
|
||||
|
||||
// SERVER 2 - is the node already in the cluster
|
||||
// read the bootstrap along with the host and port it came from
|
||||
{
|
||||
@@ -101,7 +98,6 @@ public class NodeDiscoveryBroadcasterTest extends TestCase {
|
||||
|
||||
// RemoteNodes remoteNodes = new RemoteNodes(bitSetBytes);
|
||||
|
||||
|
||||
udpData.clear();
|
||||
|
||||
// broadcasts in response to the bootstrap all the host:ports and identifiers that it knows about
|
||||
@@ -111,7 +107,6 @@ public class NodeDiscoveryBroadcasterTest extends TestCase {
|
||||
|
||||
}
|
||||
|
||||
|
||||
// SERER1
|
||||
// receive
|
||||
|
||||
@@ -160,7 +155,6 @@ public class NodeDiscoveryBroadcasterTest extends TestCase {
|
||||
(new DiscoveryNodeBytesMarshallable.ProposedNodes(server1AddressAndPort, (byte) PROPOSED_IDENTIFIER)));
|
||||
}
|
||||
|
||||
|
||||
// SERVER 2
|
||||
// write/broadcast the the response to receiving a bootstrap message
|
||||
{
|
||||
@@ -169,7 +163,6 @@ public class NodeDiscoveryBroadcasterTest extends TestCase {
|
||||
|
||||
// RemoteNodes remoteNodes = new RemoteNodes(bitSetBytes);
|
||||
|
||||
|
||||
udpData.clear();
|
||||
|
||||
// broadcasts in response to the bootstrap all the host:ports and identifiers that it knows about
|
||||
@@ -179,7 +172,6 @@ public class NodeDiscoveryBroadcasterTest extends TestCase {
|
||||
|
||||
}
|
||||
|
||||
|
||||
// SERVER 1
|
||||
// read the bootstrap along with all the proposed identifiers ( this will include our
|
||||
// PROPOSED_IDENTIFIER and any that come from other server
|
||||
@@ -198,8 +190,6 @@ public class NodeDiscoveryBroadcasterTest extends TestCase {
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user