[
https://issues.apache.org/jira/browse/LOG4J2-1991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16102713#comment-16102713
]
ASF GitHub Bot commented on LOG4J2-1991:
----------------------------------------
GitHub user kpm1985 opened a pull request:
https://github.com/apache/logging-log4j2/pull/100
LOG4J2-1991 - Refactor SimpleMessage to be concise and clear with the use
of approp…
…riate ternary statements. All test have been ran from the log4j2-api root
and pass with build success as expected.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kpm1985/logging-log4j2 refactor
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/logging-log4j2/pull/100.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 #100
----
commit 75f0b6d1a76e0122aa8c451f3ecc07db0f068976
Author: Kenneth McFarland <[email protected]>
Date: 2017-07-27T05:01:13Z
refactor SimpleMessage to be concise and clear with the use of appropriate
ternary statements.
----
> Refactor SimpleMessage to use ternary statements where appropriate
> ------------------------------------------------------------------
>
> Key: LOG4J2-1991
> URL: https://issues.apache.org/jira/browse/LOG4J2-1991
> Project: Log4j 2
> Issue Type: Improvement
> Components: API
> Affects Versions: 2.9
> Reporter: kenneth mcfarland
> Fix For: 2.9
>
> Original Estimate: 10m
> Remaining Estimate: 10m
>
> I have cleaned up and refactored a couple blocks of code to be more readable
> without changing fundamental mechanics. The changes make it easier to read
> and reduce 7 lines of code bloat.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)