From 6825648e1d13f72aee641313e85664ca9062aa51 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期一, 24 三月 2025 10:06:23 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/glccwcs' into glccwcs --- src/main/java/com/zy/core/netty/OnlineServer.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/zy/core/netty/OnlineServer.java b/src/main/java/com/zy/core/netty/OnlineServer.java index f6e68ec..5450a1f 100644 --- a/src/main/java/com/zy/core/netty/OnlineServer.java +++ b/src/main/java/com/zy/core/netty/OnlineServer.java @@ -33,18 +33,18 @@ private EventLoopGroup bossGroup; private EventLoopGroup workerGroup; - @Autowired - public OnlineServer(TcpProperties tcpProperties, HandlerInitializer handlerInitializer) { ; - this.tcpProperties = tcpProperties; - this.handlerInitializer = handlerInitializer; - } - { bootstrap = new ServerBootstrap(); bossGroup = new NioEventLoopGroup(1); workerGroup = new NioEventLoopGroup(); } + @Autowired + public OnlineServer(TcpProperties tcpProperties, HandlerInitializer handlerInitializer) { + ; + this.tcpProperties = tcpProperties; + this.handlerInitializer = handlerInitializer; + } /** * tcp server init -- Gitblit v1.9.1