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/02 08:08:51 UTC

[incubator-eventmesh] branch master updated: Using Basic Types

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 b03b29589 Using Basic Types
     new a8e66ad9e Merge pull request #2392 from weihubeats/master
b03b29589 is described below

commit b03b29589457f4cbec10eab7457978e12add753f
Author: weihu <we...@163.com>
AuthorDate: Fri Dec 2 15:05:53 2022 +0800

    Using Basic Types
---
 .../apache/eventmesh/connector/redis/cloudevent/CloudEventCodec.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eventmesh-connector-plugin/eventmesh-connector-redis/src/main/java/org/apache/eventmesh/connector/redis/cloudevent/CloudEventCodec.java b/eventmesh-connector-plugin/eventmesh-connector-redis/src/main/java/org/apache/eventmesh/connector/redis/cloudevent/CloudEventCodec.java
index 25014b2ee..7d1585506 100644
--- a/eventmesh-connector-plugin/eventmesh-connector-redis/src/main/java/org/apache/eventmesh/connector/redis/cloudevent/CloudEventCodec.java
+++ b/eventmesh-connector-plugin/eventmesh-connector-redis/src/main/java/org/apache/eventmesh/connector/redis/cloudevent/CloudEventCodec.java
@@ -31,7 +31,7 @@ public class CloudEventCodec extends BaseCodec {
 
     public static final CloudEventCodec INSTANCE = new CloudEventCodec();
 
-    private static final JsonFormat jsonFormat = new JsonFormat(Boolean.FALSE, Boolean.TRUE);
+    private static final JsonFormat jsonFormat = new JsonFormat(false, true);
 
     private static final Encoder encoder = in -> {
         ByteBuf out = ByteBufAllocator.DEFAULT.buffer();


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