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 2014/02/09 04:30:33 UTC
svn commit: r1566197 -
/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java
Author: ggregory
Date: Sun Feb 9 03:30:33 2014
New Revision: 1566197
URL: http://svn.apache.org/r1566197
Log:
PMD: Remove unnecessary parens.
Modified:
logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java
Modified: logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java?rev=1566197&r1=1566196&r2=1566197&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java (original)
+++ logging/log4j/log4j2/trunk/log4j-core/src/main/java/org/apache/logging/log4j/core/LoggerContext.java Sun Feb 9 03:30:33 2014
@@ -144,7 +144,7 @@ public class LoggerContext implements or
public void start() {
if (configLock.tryLock()) {
try {
- if ((status == Status.INITIALIZED || status == Status.STOPPED)) {
+ if (status == Status.INITIALIZED || status == Status.STOPPED) {
status = Status.STARTING;
reconfigure();
if (config.isShutdownHookEnabled()) {