This is an automated email from the ASF dual-hosted git repository. dragonyliu pushed a commit to branch branch-2 in repository https://gitbox.apache.org/repos/asf/ratis.git
commit 7e1055ed70450edbd93ad48afa527a97393e5621 Author: Maxim Myskov <[email protected]> AuthorDate: Tue Oct 11 12:49:46 2022 +0300 RATIS-1651. Fix NP_NULL_PARAM_DEREF in GrpcServerProtocolService (#761) (cherry picked from commit 99eee5a56d7aee4cd60a5b383e23ae8da2b9904a) --- .../java/org/apache/ratis/grpc/server/GrpcServerProtocolService.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcServerProtocolService.java b/ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcServerProtocolService.java index 5ad3909d5..c68a2ea49 100644 --- a/ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcServerProtocolService.java +++ b/ratis-grpc/src/main/java/org/apache/ratis/grpc/server/GrpcServerProtocolService.java @@ -17,7 +17,6 @@ */ package org.apache.ratis.grpc.server; -import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; import org.apache.ratis.grpc.GrpcUtil; import org.apache.ratis.protocol.RaftPeerId; import org.apache.ratis.server.RaftServer; @@ -106,7 +105,6 @@ class GrpcServerProtocolService extends RaftServerProtocolServiceImplBase { } @Override - @SuppressFBWarnings("NP_NULL_PARAM_DEREF") public void onNext(REQUEST request) { if (!replyInOrder(request)) { try {
