From df0f77f5c6a72f9792bc83516ee6560de8136eca Mon Sep 17 00:00:00 2001 From: nicklausliu Date: Fri, 20 Sep 2024 17:07:16 +0800 Subject: [PATCH] feat:fix * import issue --- .../trpc/core/filter/ConsumerInvokerHeadFilter.java | 8 +++++++- .../trpc/proto/standard/common/TRpcServerTest.java | 8 ++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/trpc-core/src/main/java/com/tencent/trpc/core/filter/ConsumerInvokerHeadFilter.java b/trpc-core/src/main/java/com/tencent/trpc/core/filter/ConsumerInvokerHeadFilter.java index 944cf8df4a..74aeb77444 100644 --- a/trpc-core/src/main/java/com/tencent/trpc/core/filter/ConsumerInvokerHeadFilter.java +++ b/trpc-core/src/main/java/com/tencent/trpc/core/filter/ConsumerInvokerHeadFilter.java @@ -14,7 +14,13 @@ import com.tencent.trpc.core.filter.spi.Filter; import com.tencent.trpc.core.logger.Logger; import com.tencent.trpc.core.logger.LoggerFactory; -import com.tencent.trpc.core.rpc.*; +import com.tencent.trpc.core.rpc.ConsumerInvoker; +import com.tencent.trpc.core.rpc.Invoker; +import com.tencent.trpc.core.rpc.Request; +import com.tencent.trpc.core.rpc.RequestMeta; +import com.tencent.trpc.core.rpc.Response; +import com.tencent.trpc.core.rpc.RpcContext; +import com.tencent.trpc.core.rpc.RpcContextValueKeys; import com.tencent.trpc.core.utils.RpcContextUtils; import java.util.Optional; diff --git a/trpc-proto/trpc-proto-standard/src/test/java/com/tencent/trpc/proto/standard/common/TRpcServerTest.java b/trpc-proto/trpc-proto-standard/src/test/java/com/tencent/trpc/proto/standard/common/TRpcServerTest.java index 8d7c4a87fa..f4301fe20b 100644 --- a/trpc-proto/trpc-proto-standard/src/test/java/com/tencent/trpc/proto/standard/common/TRpcServerTest.java +++ b/trpc-proto/trpc-proto-standard/src/test/java/com/tencent/trpc/proto/standard/common/TRpcServerTest.java @@ -1,7 +1,7 @@ /* * Tencent is pleased to support the open source community by making tRPC available. * - * Copyright (C) 2023 THL A29 Limited, a Tencent company. + * Copyright (C) 2023 THL A29 Limited, a Tencent company. * All rights reserved. * * If you have downloaded a copy of the tRPC source code from Tencent, @@ -27,7 +27,11 @@ import com.tencent.trpc.core.exception.ErrorCode; import com.tencent.trpc.core.exception.TRpcException; import com.tencent.trpc.core.exception.TransportException; -import com.tencent.trpc.core.rpc.*; +import com.tencent.trpc.core.rpc.RpcClient; +import com.tencent.trpc.core.rpc.RpcClientContext; +import com.tencent.trpc.core.rpc.RpcContextValueKeys; +import com.tencent.trpc.core.rpc.RpcServer; +import com.tencent.trpc.core.rpc.RpcServerManager; import com.tencent.trpc.core.transport.Channel; import com.tencent.trpc.core.transport.handler.ChannelHandlerAdapter; import com.tencent.trpc.core.utils.Charsets;