You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by ma...@apache.org on 2022/11/14 02:16:39 UTC
[incubator-eventmesh] branch master updated: Method stores return result in local before immediately returning it [EventMeshRecommendImpl]
This is an automated email from the ASF dual-hosted git repository.
majorhe pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-eventmesh.git
The following commit(s) were added to refs/heads/master by this push:
new ff159154 Method stores return result in local before immediately returning it [EventMeshRecommendImpl]
new 6e9eaf07 Merge pull request #2198 from peter2116/issue_2197
ff159154 is described below
commit ff159154337720e03c17c6b8efe29bc681496cde
Author: peter chen <pe...@163.com>
AuthorDate: Sun Nov 13 22:33:52 2022 +0800
Method stores return result in local before immediately returning it [EventMeshRecommendImpl]
---
.../src/main/java/org/apache/eventmesh/runtime/util/Utils.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/util/Utils.java b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/util/Utils.java
index 5bfa1a86..23619151 100644
--- a/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/util/Utils.java
+++ b/eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/util/Utils.java
@@ -143,10 +143,9 @@ public class Utils {
bizSeqNo = properties.get(EventMeshConstants.KEYS_LOWERCASE);
}
- String result = String.format("Message [topic=%s,TTL=%s,uniqueId=%s,bizSeq=%s]", eventMeshMessage
- .getTopic(), properties.get(EventMeshConstants.TTL), properties.get(EventMeshConstants.RR_REQUEST_UNIQ_ID),
+ return String.format("Message [topic=%s,TTL=%s,uniqueId=%s,bizSeq=%s]", eventMeshMessage.getTopic(),
+ properties.get(EventMeshConstants.TTL), properties.get(EventMeshConstants.RR_REQUEST_UNIQ_ID),
bizSeqNo);
- return result;
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org