Repository: logging-log4j2 Updated Branches: refs/heads/master ffc6c8f68 -> 248efa48a
Remove useless parens. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/248efa48 Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/248efa48 Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/248efa48 Branch: refs/heads/master Commit: 248efa48a4a3d7583b17768866ba911caa4c35ac Parents: ffc6c8f Author: Gary Gregory <[email protected]> Authored: Wed Aug 3 15:27:40 2016 -0700 Committer: Gary Gregory <[email protected]> Committed: Wed Aug 3 15:27:40 2016 -0700 ---------------------------------------------------------------------- .../org/apache/logging/log4j/core/async/RingBufferLogEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/248efa48/log4j-core/src/main/java/org/apache/logging/log4j/core/async/RingBufferLogEvent.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/async/RingBufferLogEvent.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/async/RingBufferLogEvent.java index 463536c..c4de9d4 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/async/RingBufferLogEvent.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/async/RingBufferLogEvent.java @@ -200,7 +200,7 @@ public class RingBufferLogEvent implements LogEvent, ReusableMessage, CharSequen @Override public Message getMessage() { if (message == null) { - return (messageText == null) ? EMPTY : this; + return messageText == null ? EMPTY : this; } return message; }
