[GitHub] activemq pull request #283: AMQ-6963 Fix calling the toString() method in ca...
GitHub user SaivR1t opened a pull request:
AMQ-6963 Fix calling the toString() method in case of different log level.
Avoid calling toString() method in case of different log level, because toString() could create additional objects or could read volatile variable. For example:
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SaivR1t/activemq master
Alternatively you can review and apply these changes as the patch at:
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #283
Author: saivr1t <saivr1t@...>
Fix calling the toString() method in case of different log level.