Formatting change

This commit is contained in:
Collin Smith 2020-06-27 16:32:15 -07:00
parent 65e14b7514
commit 98521ad40c

View File

@ -131,10 +131,9 @@ public class Main extends ApplicationAdapter implements PacketProcessor {
public void processPacket(ChannelHandlerContext ctx, SocketAddress from, Netty netty) { public void processPacket(ChannelHandlerContext ctx, SocketAddress from, Netty netty) {
Gdx.app.debug(TAG, " " + "dataType=" + NettyData.name(netty.dataType())); Gdx.app.debug(TAG, " " + "dataType=" + NettyData.name(netty.dataType()));
switch (netty.dataType()) { switch (netty.dataType()) {
case NettyData.Connection: { case NettyData.Connection:
Connection(ctx, from, netty); Connection(ctx, from, netty);
break; break;
}
default: default:
Gdx.app.debug(TAG, "unknown data type: " + netty.dataType()); Gdx.app.debug(TAG, "unknown data type: " + netty.dataType());
ctx.close(); ctx.close();