You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by ch...@apache.org on 2022/10/21 02:54:50 UTC
[incubator-eventmesh] branch master updated: Fix. Remove exception
This is an automated email from the ASF dual-hosted git repository.
chenguangsheng 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 3fc4dd5c Fix. Remove exception
new 40446419 Merge pull request #1681 from rinuaby13/master
3fc4dd5c is described below
commit 3fc4dd5c846c640d05277c02f489dd849f3a9242
Author: rinuaby <ri...@thoughtworks.com>
AuthorDate: Thu Oct 20 14:53:18 2022 +0530
Fix. Remove exception
---
.../common/protocol/http/body/client/SubscribeResponseBody.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/client/SubscribeResponseBody.java b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/client/SubscribeResponseBody.java
index 0b2f6cb3..4cbc95bf 100644
--- a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/client/SubscribeResponseBody.java
+++ b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/client/SubscribeResponseBody.java
@@ -17,12 +17,11 @@
package org.apache.eventmesh.common.protocol.http.body.client;
+import org.apache.commons.lang3.time.DateFormatUtils;
import org.apache.eventmesh.common.Constants;
import org.apache.eventmesh.common.protocol.http.body.Body;
import org.apache.eventmesh.common.protocol.http.common.ProtocolKey;
-import org.apache.commons.lang3.time.DateFormatUtils;
-
import java.util.HashMap;
import java.util.Map;
@@ -55,7 +54,7 @@ public class SubscribeResponseBody extends Body {
this.resTime = resTime;
}
- public static SubscribeResponseBody buildBody(Integer retCode, String retMsg) throws Exception {
+ public static SubscribeResponseBody buildBody(Integer retCode, String retMsg) {
SubscribeResponseBody regResponseBody = new SubscribeResponseBody();
regResponseBody.setRetMsg(retMsg);
regResponseBody.setResTime(System.currentTimeMillis());
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org