On 05.07.2017 21:53, Zoltan Farkas wrote:
Thank you for your reply. I like your Schemas.unmodifiableSchema(...) a
While what you are describing would be ideal, a simpler solution might
be to change the LinkedHashMap that backs jsonProperties into something
like a ConcurrentHashMap, avoiding the need for synchronization.
This being said ConcurrentHashMap itself does not preserve insertion
order, so its not a mere replacement to LinkedHashMap.