Re: [jackson-user] Set DateFormat

2016-10-13 Thread Mohan Radhakrishnan
I find this in DateDeserializers.java synchronized (_customFormat) { try { return _customFormat.parse(str); } catch (ParseException e) { return (java.util.Date) ctxt.handleWeirdStringValue(handledType(), str, "expected format \"%s\"", _formatString); } } Isn't it synchronized here ? Mohan On

Re: [jackson-user] Set DateFormat

2016-10-12 Thread Tatu Saloranta
On Wed, Oct 12, 2016 at 12:01 AM, Mohan Radhakrishnan < radhakrishnan.mo...@gmail.com> wrote: > First question based on your reply. > > >>Usage of `DateFormat` itself is synchronized such that this aspect > itself is not problematic > > The code synchronizes 'DateFormat' when mapping data across