No problem, I noticed it just because I was building.

Il giorno ven 20 dic 2019 alle ore 17:33 Pascal Schumacher <
pascalschumac...@gmx.net> ha scritto:

> Sorry for breaking the build by using a Java 11 method.
>
> Am 20.12.2019 um 17:11 schrieb Andrea Cosentino:
> > Sorry but I had to revert, the JDK8 build is broken.
> >
> > Il giorno ven 20 dic 2019 alle ore 15:22 <pascalschumac...@apache.org>
> ha
> > scritto:
> >
> >> This is an automated email from the ASF dual-hosted git repository.
> >>
> >> pascalschumacher 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 56496e5  FastjsonDataFormat: Use the build
> serializerFeatureList
> >> to configure FastJson.
> >> 56496e5 is described below
> >>
> >> commit 56496e5233f32cd2aff9f79384888b175f9f5cb3
> >> Author: Pascal Schumacher <pascalschumac...@gmx.net>
> >> AuthorDate: Fri Dec 20 15:22:11 2019 +0100
> >>
> >>      FastjsonDataFormat: Use the build serializerFeatureList to
> configure
> >> FastJson.
> >> ---
> >>   .../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 ebff729..92de516 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));
> >>           }
> >>       }
> >>
> >>
> >>
>
>

Reply via email to