Just some whitespace changes.

This commit is contained in:
Paul Speed 2015-05-02 00:41:47 -04:00
parent c1670e7509
commit 42105f4c4b
2 changed files with 1 additions and 3 deletions

View File

@ -223,7 +223,7 @@ public class DefaultServer implements Server
{
if( connections.isEmpty() )
return;
ByteBuffer buffer = MessageProtocol.messageToBuffer(message, null);
FilterAdapter adapter = filter == null ? null : new FilterAdapter(filter);

View File

@ -113,7 +113,6 @@ public class UdpConnector implements Connector
public ByteBuffer read()
{
checkClosed();
try {
DatagramPacket packet = new DatagramPacket( buffer, buffer.length );
sock.receive(packet);
@ -132,7 +131,6 @@ public class UdpConnector implements Connector
public void write( ByteBuffer data )
{
checkClosed();
try {
DatagramPacket p = new DatagramPacket( data.array(), data.position(), data.remaining(),
remoteAddress );