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

harshitha pushed a commit to branch harshithasudhakar-eventmesh#4027
in repository https://gitbox.apache.org/repos/asf/eventmesh.git

commit a70b4ba4b7b042b969db46bb2035ef8bd5655a6d
Author: Harshitha Sudhakar 
<[email protected]>
AuthorDate: Wed Aug 23 00:15:21 2023 +0530

    Update RegistryResponse.java
---
 .../eventmesh/common/protocol/catalog/protos/RegistryResponse.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/catalog/protos/RegistryResponse.java
 
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/catalog/protos/RegistryResponse.java
index 3aa0e1c43..60bc01858 100644
--- 
a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/catalog/protos/RegistryResponse.java
+++ 
b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/catalog/protos/RegistryResponse.java
@@ -262,7 +262,7 @@ public final class RegistryResponse extends
 
     @Override
     public Builder toBuilder() {
-        return this == DEFAULT_INSTANCE
+        return this.equals(DEFAULT_INSTANCE)
                 ? new Builder() : new Builder().mergeFrom(this);
     }
 
@@ -390,7 +390,7 @@ public final class RegistryResponse extends
         }
 
         public Builder mergeFrom(RegistryResponse other) {
-            if (other == RegistryResponse.getDefaultInstance()) {
+            if (other.equals(RegistryResponse.getDefaultInstance())) {
                 return this;
             }
             this.mergeUnknownFields(other.unknownFields);


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

Reply via email to