This is an automated email from the ASF dual-hosted git repository.

mikexue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/eventmesh.git


The following commit(s) were added to refs/heads/master by this push:
     new c4a4ff85e [ISSUE #3900] Removed Additional Null Check
c4a4ff85e is described below

commit c4a4ff85ea3b890c8fe45507a16087b7e93730d0
Author: Ishaan bajpai <[email protected]>
AuthorDate: Tue May 30 12:41:40 2023 +0530

    [ISSUE #3900] Removed Additional Null Check
---
 .../org/apache/eventmesh/common/protocol/catalog/protos/Operation.java | 3 ---
 1 file changed, 3 deletions(-)

diff --git 
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/catalog/protos/Operation.java
 
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/catalog/protos/Operation.java
index ea297667b..486ecf4ce 100644
--- 
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/catalog/protos/Operation.java
+++ 
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/catalog/protos/Operation.java
@@ -86,9 +86,6 @@ public final class Operation extends
         Objects.requireNonNull(input, "CodedInputStream can not be null");
         Objects.requireNonNull(extensionRegistry, "ExtensionRegistryLite can 
not be null");
 
-        if (extensionRegistry == null) {
-            throw new NullPointerException();
-        }
         com.google.protobuf.UnknownFieldSet.Builder unknownFields =
                 com.google.protobuf.UnknownFieldSet.newBuilder();
         try {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to