From 48e5b8107709c10cbaf9b34e84dba24f88ebdfed Mon Sep 17 00:00:00 2001 From: pmupkin <399284508@qq.com> Date: Wed, 10 May 2023 15:16:34 +0800 Subject: [PATCH] fix mvn issue --- .../netty-ark-plugin/src/main/java/NettyPluginActivator.java | 3 +-- .../com/alipay/sofa/ark/netty/EmbeddedServerServiceImpl.java | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sofa-ark-plugin/netty-ark-plugin/src/main/java/NettyPluginActivator.java b/sofa-ark-plugin/netty-ark-plugin/src/main/java/NettyPluginActivator.java index 10a4eb6f1..901f4617c 100644 --- a/sofa-ark-plugin/netty-ark-plugin/src/main/java/NettyPluginActivator.java +++ b/sofa-ark-plugin/netty-ark-plugin/src/main/java/NettyPluginActivator.java @@ -14,7 +14,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - import com.alipay.sofa.ark.common.log.ArkLoggerFactory; import com.alipay.sofa.ark.netty.EmbeddedServerServiceImpl; import com.alipay.sofa.ark.spi.model.PluginContext; @@ -39,7 +38,7 @@ public void stop(PluginContext context) { } if (webServer != null) { try { - //webServer.stop(); + //webServer.stop(); } catch (Exception ex) { ArkLoggerFactory.getDefaultLogger().error("Unable to stop embedded Netty", ex); } diff --git a/sofa-ark-plugin/netty-ark-plugin/src/main/java/com/alipay/sofa/ark/netty/EmbeddedServerServiceImpl.java b/sofa-ark-plugin/netty-ark-plugin/src/main/java/com/alipay/sofa/ark/netty/EmbeddedServerServiceImpl.java index bd564742b..7eebab836 100644 --- a/sofa-ark-plugin/netty-ark-plugin/src/main/java/com/alipay/sofa/ark/netty/EmbeddedServerServiceImpl.java +++ b/sofa-ark-plugin/netty-ark-plugin/src/main/java/com/alipay/sofa/ark/netty/EmbeddedServerServiceImpl.java @@ -16,13 +16,12 @@ */ package com.alipay.sofa.ark.netty; - import com.alipay.sofa.ark.spi.web.EmbeddedServerService; import reactor.netty.http.server.HttpServer; public class EmbeddedServerServiceImpl implements EmbeddedServerService { private HttpServer httpServer; - private Object lock = new Object(); + private Object lock = new Object(); @Override public HttpServer getEmbedServer() {