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/14 13:00:40 UTC
[incubator-eventmesh] branch master updated: Issue [#1513] - Removing throws 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 6b0b4465 Issue [#1513] - Removing throws exception
new b7ab1240 Merge pull request #1577 from GopinathRakkiyannan/master
6b0b4465 is described below
commit 6b0b4465a1af7fde685dc87a6d411f652756887c
Author: Gopinath Rakkiyannan <10...@users.noreply.github.com>
AuthorDate: Fri Oct 14 17:50:34 2022 +0530
Issue [#1513] - Removing throws exception
Removing throws exception since method does not throws any.
---
.../common/protocol/http/body/client/HeartbeatResponseBody.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/client/HeartbeatResponseBody.java b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/client/HeartbeatResponseBody.java
index c9151dc6..fca6d2f6 100644
--- a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/client/HeartbeatResponseBody.java
+++ b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/client/HeartbeatResponseBody.java
@@ -61,7 +61,7 @@ public class HeartbeatResponseBody extends Body {
this.resTime = resTime;
}
- public static HeartbeatResponseBody buildBody(Integer retCode, String retMsg) throws Exception {
+ public static HeartbeatResponseBody buildBody(Integer retCode, String retMsg) {
HeartbeatResponseBody heartbeatResponseBody = new HeartbeatResponseBody();
heartbeatResponseBody.setRetMsg(retMsg);
heartbeatResponseBody.setResTime(System.currentTimeMillis());
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org