This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new ac3d8dc Revert "FastjsonDataFormat: Use the build
serializerFeatureList to configure FastJson."
ac3d8dc is described below
commit ac3d8dc3f6fd0111532efd0498a68692d3b2e2ad
Author: Andrea Cosentino <[email protected]>
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));
+
}
}