- making sure that LogbackMDCAdapter actually copies its hash map.
Strictly speaking, there is no need for copy-on-spawn because every change in the MDC already results in a copy of the hash map. Nevertheless, this change makes it easier for readers of the code to follow it. An external observer should not be able to tell the difference between the old and the new code.
parent
7b5cbbd2
Please register or sign in to comment