You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by ha...@apache.org on 2023/08/22 18:45:26 UTC
[eventmesh] branch harshithasudhakar-eventmesh#4027 created (now a70b4ba4b)
This is an automated email from the ASF dual-hosted git repository.
harshitha pushed a change to branch harshithasudhakar-eventmesh#4027
in repository https://gitbox.apache.org/repos/asf/eventmesh.git
at a70b4ba4b Update RegistryResponse.java
This branch includes the following new commits:
new a70b4ba4b Update RegistryResponse.java
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org
[eventmesh] 01/01: Update RegistryResponse.java
Posted by ha...@apache.org.
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 <11...@users.noreply.github.com>
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: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org