Re: [camel] branch master updated: FastjsonDataFormat: Use the build serializerFeatureList to configure FastJson.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [camel] branch master updated: FastjsonDataFormat: Use the build serializerFeatureList to configure FastJson.

Andrea Cosentino-3
Sorry but I had to revert, the JDK8 build is broken.

Il giorno ven 20 dic 2019 alle ore 15:22 <[hidden email]> 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 <[hidden email]>
> 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 | Threaded
Open this post in threaded view
|

Re: [camel] branch master updated: FastjsonDataFormat: Use the build serializerFeatureList to configure FastJson.

Andrea Cosentino-3
Thank you.

Il giorno ven 20 dic 2019 alle ore 17:27 <[hidden email]> 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 0407e6c  FastjsonDataFormat: Use the build serializerFeatureList
> to configure FastJson.
> 0407e6c is described below
>
> commit 0407e6c8b47782994836e0622032e39f4ae737fd
> Author: Pascal Schumacher <[hidden email]>
> AuthorDate: Fri Dec 20 17:25:48 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..deca161 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(new
> SerializerFeature[0]));
>          }
>      }
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: [camel] branch master updated: FastjsonDataFormat: Use the build serializerFeatureList to configure FastJson.

Pascal Schumacher
In reply to this post by Andrea Cosentino-3
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 <[hidden email]> 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 <[hidden email]>
>> 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 | Threaded
Open this post in threaded view
|

Re: [camel] branch master updated: FastjsonDataFormat: Use the build serializerFeatureList to configure FastJson.

Andrea Cosentino-3
No problem, I noticed it just because I was building.

Il giorno ven 20 dic 2019 alle ore 17:33 Pascal Schumacher <
[hidden email]> 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 <[hidden email]>
> 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 <[hidden email]>
> >> 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));
> >>           }
> >>       }
> >>
> >>
> >>
>
>