The order of attributes in Json might matter as far as I can remember, so
LinkedHashMap might not be replaceable with a concurrenthashmap.
Plus concurrenthashmap is not exactly without concurrency overhead…
I wrote a util that creates a immutable schema
On 05.07.2017 21:53, Zoltan Farkas wrote:
> The synchronization in JsonProperties is curently inconsistent (see
> getObjectProps()) which makes current implementation @NotThreadSafe
>
> I think it would be probably best to remove synchronization from those
> methods... and add @NotThreadSafe
The synchronization in JsonProperties is curently inconsistent (see
getObjectProps()) which makes current implementation @NotThreadSafe
I think it would be probably best to remove synchronization from those methods…
and add @NotThreadSafe to the class…
Utilities like