No need to initialize booleans to false.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/4edd7add
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/4edd7add
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/4edd7add

Branch: 
refs/heads/LOG4J2-1010&LOG4J2-1447-injectable-contextdata&better-datastructure
Commit: 4edd7add11a71171d139058e1adbf95e14f8289f
Parents: 4fc1c5f
Author: Gary Gregory <ggreg...@apache.org>
Authored: Mon Aug 8 10:51:09 2016 -0700
Committer: Gary Gregory <ggreg...@apache.org>
Committed: Mon Aug 8 10:51:09 2016 -0700

----------------------------------------------------------------------
 .../org/apache/logging/log4j/core/appender/ConsoleAppender.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/4edd7add/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
----------------------------------------------------------------------
diff --git 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
index 2e3b38f..9747088 100644
--- 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
+++ 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/appender/ConsoleAppender.java
@@ -181,10 +181,10 @@ public final class ConsoleAppender extends 
AbstractOutputStreamAppender<OutputSt
         private String name;
 
         @PluginBuilderAttribute
-        private boolean follow = false;
+        private boolean follow;
 
         @PluginBuilderAttribute
-        private boolean direct = false;
+        private boolean direct;
 
         @PluginBuilderAttribute
         private boolean ignoreExceptions = true;

Reply via email to