Archived
0

optimize imports

This commit is contained in:
2018-05-01 22:55:28 +03:00
parent b97cccb0ac
commit 81aa26c593
6 changed files with 1 additions and 15 deletions

View File

@@ -9,7 +9,6 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.Calendar;
import java.util.Random;
@Slf4j
public class GameLoop extends Thread {

View File

@@ -5,10 +5,8 @@
package mc.core.network.proto_125;
import lombok.extern.slf4j.Slf4j;
import mc.core.network.NetStream;
import java.io.ByteArrayOutputStream;
import java.nio.charset.StandardCharsets;
@Slf4j
public class ByteArrayOutputNetStream extends NetStream_p125 {

View File

@@ -11,8 +11,6 @@ import mc.core.network.proto_125.ByteArrayOutputNetStream;
import mc.core.world.Chunk;
import java.nio.ByteBuffer;
import java.nio.IntBuffer;
import java.util.Arrays;
import java.util.zip.Deflater;
@Setter

View File

@@ -7,21 +7,16 @@ package mc.core.network.proto_125.netty;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.channel.ChannelHandler;
import io.netty.channel.ChannelInitializer;
import io.netty.channel.ChannelPipeline;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.SocketChannel;
import io.netty.channel.socket.nio.NioServerSocketChannel;
import io.netty.handler.logging.LoggingHandler;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import mc.core.network.Server;
import mc.core.network.StartServerException;
import org.springframework.beans.BeansException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.context.ApplicationContextAware;
import org.springframework.stereotype.Component;
import java.util.Map;

View File

@@ -15,9 +15,9 @@ import mc.core.*;
import mc.core.network.CSPacket;
import mc.core.network.proto_125.netty.wrappers.WrapperNetChannel;
import mc.core.network.proto_125.packets.*;
import mc.core.world.World;
import org.slf4j.Marker;
import org.slf4j.helpers.BasicMarkerFactory;
import mc.core.world.World;
import org.springframework.beans.factory.annotation.Autowired;
import java.lang.reflect.Method;

View File

@@ -6,12 +6,8 @@ package mc.core.network.proto_125.netty.wrappers;
import io.netty.buffer.ByteBuf;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import mc.core.network.NetStream;
import mc.core.network.proto_125.NetStream_p125;
import java.nio.charset.StandardCharsets;
@RequiredArgsConstructor
public class WrapperNetStream extends NetStream_p125 {
private final ByteBuf byteBuf;