Just some whitespace changes.

experimental
Paul Speed 10 years ago
parent c1670e7509
commit 42105f4c4b
  1. 2
      jme3-networking/src/main/java/com/jme3/network/base/DefaultServer.java
  2. 2
      jme3-networking/src/main/java/com/jme3/network/kernel/udp/UdpConnector.java

@ -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);

@ -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 );

Loading…
Cancel
Save