Import cleanup

This commit is contained in:
md_5 2013-07-04 10:03:41 +10:00
parent bd42fb23a0
commit cac35116c3
3 changed files with 2 additions and 4 deletions

View File

@ -41,7 +41,7 @@ public class PacketC9PlayerListItem extends DefinedPacket
{
writeString( username, buf );
buf.writeBoolean( online );
buf.writeShort(ping );
buf.writeShort( ping );
}
@Override

View File

@ -1,10 +1,8 @@
package net.md_5.bungee;
import com.google.common.base.Preconditions;
import com.google.common.io.ByteArrayDataInput;
import com.google.common.io.ByteArrayDataOutput;
import com.google.common.io.ByteStreams;
import io.netty.buffer.ByteBuf;
import java.io.DataInput;
import java.security.PublicKey;
import java.util.Objects;

View File

@ -51,7 +51,7 @@ public class CipherBase
byte[] heapIn = bufToByte( in );
ByteBuf heapOut = ctx.alloc().heapBuffer( cipher.getOutputSize( readableBytes ) );
heapOut.writerIndex( cipher.update( heapIn, 0, readableBytes, heapOut.array(), heapOut.arrayOffset() ));
heapOut.writerIndex( cipher.update( heapIn, 0, readableBytes, heapOut.array(), heapOut.arrayOffset() ) );
return heapOut;
}