Closed bernd closed 10 years ago
Hello Bernd,
Thanks for reporting. I've added fix and added test. Could you please do a peer review.
Thx, Antoine
Looks good to me! Thank you! :grinning:
Do you need me to release version with this fix?
On Thu, Aug 14, 2014 at 2:57 PM, Bernd Ahlers notifications@github.com wrote:
Looks good to me! Thank you! [image: :grinning:]
— Reply to this email directly or view it on GitHub https://github.com/t0xa/gelfj/issues/79#issuecomment-52186125.
Vriendelijke groeten, Anton Yakimov
No, it's not urgent. Thanks for asking though! :)
The
setAdditionalFields()
method stores the original map inthis.additionalFields
and theaddField()
method (and others) modifies that map later. This can lead to concurrency problems and breaks if an immutable map is passed as parameter.