logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1396120 - /logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/OutputStreamAppender.java
Date Tue, 09 Oct 2012 17:15:36 GMT
Author: ggregory
Date: Tue Oct  9 17:15:35 2012
New Revision: 1396120

URL: http://svn.apache.org/viewvc?rev=1396120&view=rev
Log:
Make immediateFlush final; the Javadoc was incorrect as immediateFlush is always set in the
constructor.

Modified:
    logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/OutputStreamAppender.java

Modified: logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/OutputStreamAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/OutputStreamAppender.java?rev=1396120&r1=1396119&r2=1396120&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/OutputStreamAppender.java
(original)
+++ logging/log4j/log4j2/trunk/core/src/main/java/org/apache/logging/log4j/core/appender/OutputStreamAppender.java
Tue Oct  9 17:15:35 2012
@@ -37,11 +37,8 @@ public abstract class OutputStreamAppend
      * <code>false</code>, then there is a good chance that the last few
      * logs events are not actually written to persistent media if and
      * when the application crashes.
-     * <p/>
-     * <p>The <code>immediateFlush</code> variable is set to
-     * <code>true</code> by default.
      */
-    protected boolean immediateFlush = true;
+    protected final boolean immediateFlush;
 
     private volatile OutputStreamManager manager;
 



Mime
View raw message