git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] activemq pull request #283: AMQ-6963 Fix calling the toString() method in ca...


GitHub user SaivR1t reopened a pull request:

    https://github.com/apache/activemq/pull/283

    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:
    org.apache.activemq.ActiveMQConnection#toString (AtomicBoolean)


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:

    https://github.com/apache/activemq/pull/283.patch

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
    
----
commit 191e4ffbe6ce863980f6d239c49589055dd5535b
Author: saivr1t <saivr1t@...>
Date:   2018-05-15T15:46:36Z

    AMQ-6963
    Fix calling the toString() method in case of different log level.

----


---