You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/12/20 16:09:56 UTC
[camel] branch camel-3.0.x updated: Revert "FastjsonDataFormat: Use
the build serializerFeatureList to configure FastJson."
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch camel-3.0.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-3.0.x by this push:
new 71d5a9e Revert "FastjsonDataFormat: Use the build serializerFeatureList to configure FastJson."
71d5a9e is described below
commit 71d5a9ebbda89ecb4160749ee278818d5cccde82
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Dec 20 17:02:45 2019 +0100
Revert "FastjsonDataFormat: Use the build serializerFeatureList to configure FastJson."
This reverts commit 56496e5233f32cd2aff9f79384888b175f9f5cb3.
Build is broken
---
.../java/org/apache/camel/component/fastjson/FastjsonDataFormat.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-fastjson/src/main/java/org/apache/camel/component/fastjson/FastjsonDataFormat.java b/components/camel-fastjson/src/main/java/org/apache/camel/component/fastjson/FastjsonDataFormat.java
index 92de516..ebff729 100644
--- a/components/camel-fastjson/src/main/java/org/apache/camel/component/fastjson/FastjsonDataFormat.java
+++ b/components/camel-fastjson/src/main/java/org/apache/camel/component/fastjson/FastjsonDataFormat.java
@@ -120,7 +120,7 @@ public class FastjsonDataFormat extends ServiceSupport implements DataFormat, Da
serializerFeatureList.add(SerializerFeature.WriteDateUseDateFormat);
config.setDateFormat(this.dateFormatPattern);
}
- config.setSerializerFeatures(serializerFeatureList.toArray(SerializerFeature[]::new));
+
}
}