mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Remove blank lines at the start of methods and loops.
This commit is contained in:
@@ -109,7 +109,6 @@ class UdpChannelReplicator extends AbstractChannelReplicator implements Replica.
|
||||
|
||||
try {
|
||||
while (selector.isOpen()) {
|
||||
|
||||
registerPendingRegistrations();
|
||||
|
||||
// this may block for a long time, upon return the
|
||||
@@ -127,7 +126,6 @@ class UdpChannelReplicator extends AbstractChannelReplicator implements Replica.
|
||||
|
||||
final Set<SelectionKey> selectionKeys = selector.selectedKeys();
|
||||
for (final SelectionKey key : selectionKeys) {
|
||||
|
||||
try {
|
||||
|
||||
if (key.isReadable()) {
|
||||
@@ -207,7 +205,6 @@ class UdpChannelReplicator extends AbstractChannelReplicator implements Replica.
|
||||
}
|
||||
|
||||
private void enableWrites() {
|
||||
|
||||
if (writeChannel == null)
|
||||
return;
|
||||
|
||||
@@ -223,7 +220,6 @@ class UdpChannelReplicator extends AbstractChannelReplicator implements Replica.
|
||||
}
|
||||
|
||||
void disableWrites() {
|
||||
|
||||
if (writeChannel == null)
|
||||
return;
|
||||
|
||||
@@ -272,7 +268,6 @@ class UdpChannelReplicator extends AbstractChannelReplicator implements Replica.
|
||||
addPendingRegistration(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
try {
|
||||
server.register(selector, OP_WRITE);
|
||||
writeChannel = server;
|
||||
|
||||
Reference in New Issue
Block a user