This is an automated email from the ASF dual-hosted git repository.
szetszwo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ratis.git
The following commit(s) were added to refs/heads/master by this push:
new 99eee5a56 RATIS-1651. Fix NP_NULL_PARAM_DEREF in
GrpcServerProtocolService (#761)
99eee5a56 is described below
commit 99eee5a56d7aee4cd60a5b383e23ae8da2b9904a
Author: Maxim Myskov <[email protected]>
AuthorDate: Tue Oct 11 12:49:46 2022 +0300
RATIS-1651. Fix NP_NULL_PARAM_DEREF in GrpcServerProtocolService (#761)
---
.../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 6f98a6b8a..c1006696b 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 {