You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by mi...@apache.org on 2022/12/14 07:08:47 UTC

[incubator-eventmesh] branch master updated: fix issue2534

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

mikexue 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 d0e22722b fix issue2534
     new 396a44d67 Merge pull request #2582 from jonyangx/issue2534
d0e22722b is described below

commit d0e22722b707c00807d29e1f9cff1a2f1c3159a6
Author: jonyangx <ya...@gmail.com>
AuthorDate: Tue Dec 13 22:45:43 2022 +0800

    fix issue2534
---
 .../apache/eventmesh/common/protocol/http/body/BaseRequestBody.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/BaseRequestBody.java b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/BaseRequestBody.java
index a8d77c8e8..423872bdf 100644
--- a/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/BaseRequestBody.java
+++ b/eventmesh-common/src/main/java/org/apache/eventmesh/common/protocol/http/body/BaseRequestBody.java
@@ -28,7 +28,6 @@ public class BaseRequestBody extends Body {
 
     @Override
     public Map<String, Object> toMap() {
-        Map<String, Object> map = new HashMap<String, Object>();
-        return map;
+        return new HashMap<String, Object>();
     }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org