You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2021/03/04 16:50:34 UTC
[logging-log4j2] branch release-2.x updated: Drop useless parens.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/release-2.x by this push:
new e158ada Drop useless parens.
e158ada is described below
commit e158ada517da76f86e5482a3ae74bd96829d7873
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Mar 4 11:46:46 2021 -0500
Drop useless parens.
---
.../src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java b/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
index 0fba301..e35d72a 100644
--- a/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
+++ b/log4j-api/src/main/java/org/apache/logging/log4j/spi/AbstractLogger.java
@@ -2920,7 +2920,7 @@ public abstract class AbstractLogger implements ExtendedLogger, LocationAwareLog
@Override
public LogBuilder atLevel(Level level) {
if (isEnabled(level)) {
- return (getLogBuilder(level).reset(level));
+ return getLogBuilder(level).reset(level);
} else {
return LogBuilder.NOOP;
}