Remove double and triple blank lines

This commit is contained in:
Peter Lawrey
2014-11-30 22:43:32 +02:00
parent 6dc1792f19
commit 6d4b143903
83 changed files with 9 additions and 621 deletions
@@ -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 {
}
}
}