Add Javadoc and remove all Checkstyle issues from API and natives.

This commit is contained in:
Andrew Steinborn
2018-11-15 19:04:39 -05:00
parent a4cdc4884a
commit 868976e09c
15 changed files with 149 additions and 18 deletions

View File

@@ -248,7 +248,7 @@ public class MinecraftConnection extends ChannelInboundHandlerAdapter {
}
int level = server.getConfiguration().getCompressionLevel();
VelocityCompressor compressor = Natives.compressor.get().create(level);
VelocityCompressor compressor = Natives.compress.get().create(level);
MinecraftCompressEncoder encoder = new MinecraftCompressEncoder(threshold, compressor);
MinecraftCompressDecoder decoder = new MinecraftCompressDecoder(threshold, compressor);

View File

@@ -39,7 +39,7 @@ public final class ConnectionManager {
public void logChannelInformation() {
LOGGER.info("Connections will use {} channels, {} compression, {} ciphers", this.transportType,
Natives.compressor.getLoadedVariant(), Natives.cipher.getLoadedVariant());
Natives.compress.getLoadedVariant(), Natives.cipher.getLoadedVariant());
}
public void bind(final InetSocketAddress address) {