You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ratis.apache.org by sz...@apache.org on 2022/11/08 22:17:00 UTC
[ratis] 05/10: RATIS-1651. Fix NP_NULL_PARAM_DEREF in GrpcServerProtocolService (#761)
This is an automated email from the ASF dual-hosted git repository.
szetszwo pushed a commit to branch branch-2_tmp
in repository https://gitbox.apache.org/repos/asf/ratis.git
commit 0faf9162e6578909ed56c9b905deabbb87c1ba75
Author: Maxim Myskov <ma...@gmail.com>
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 {