Repository: logging-log4j2 Updated Branches: refs/heads/master 3ed637d29 -> 04550c5f7
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/04550c5f Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/04550c5f Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/04550c5f Branch: refs/heads/master Commit: 04550c5f79f88e84357b78a04d86c652c4859b83 Parents: 3ed637d Author: Gary Gregory <[email protected]> Authored: Thu Jul 27 10:39:36 2017 -0700 Committer: Gary Gregory <[email protected]> Committed: Thu Jul 27 10:39:36 2017 -0700 ---------------------------------------------------------------------- .../java/org/apache/logging/log4j/core/impl/MutableLogEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/04550c5f/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java index 051cad1..56867b4 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/impl/MutableLogEvent.java @@ -200,7 +200,7 @@ public class MutableLogEvent implements LogEvent, ReusableMessage { @Override public Message getMessage() { if (message == null) { - return (messageText == null) ? EMPTY : this; + return messageText == null ? EMPTY : this; } return message; }
