logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carn...@apache.org
Subject svn commit: r376871 - in /logging/log4j/trunk/src/java/org/apache/log4j: FileAppender.java joran/JoranConfigurator.java
Date Fri, 10 Feb 2006 21:56:58 GMT
Author: carnold
Date: Fri Feb 10 13:56:57 2006
New Revision: 376871

URL: http://svn.apache.org/viewcvs?rev=376871&view=rev
Log:
Bug 24159: Dead variable and documentation changes

Modified:
    logging/log4j/trunk/src/java/org/apache/log4j/FileAppender.java
    logging/log4j/trunk/src/java/org/apache/log4j/joran/JoranConfigurator.java

Modified: logging/log4j/trunk/src/java/org/apache/log4j/FileAppender.java
URL: http://svn.apache.org/viewcvs/logging/log4j/trunk/src/java/org/apache/log4j/FileAppender.java?rev=376871&r1=376870&r2=376871&view=diff
==============================================================================
--- logging/log4j/trunk/src/java/org/apache/log4j/FileAppender.java (original)
+++ logging/log4j/trunk/src/java/org/apache/log4j/FileAppender.java Fri Feb 10 13:56:57 2006
@@ -39,6 +39,11 @@
  * @author Ceki Gülcü
  * */
 public class FileAppender extends WriterAppender {
+
+  /**
+   * The default size of the IO buffer. 
+   */
+  private static final int DEFAULT_BUFFER_SIZE = 8 * 1024;
   /** 
    * Controls whether to append to or truncate an existing file. 
    * The default value for this variable is 
@@ -59,7 +64,7 @@
 
   /**
      The size of the IO buffer. Default is 8K. */
-  protected int bufferSize = 8 * 1024;
+  protected int bufferSize = DEFAULT_BUFFER_SIZE;
 
   /**
      The default constructor does not do anything.
@@ -176,7 +181,7 @@
   /**
      Get the value of the <b>BufferedIO</b> option.
 
-     <p>BufferedIO will significatnly increase performance on heavily
+     <p>BufferedIO will significantly increase performance on heavily
      loaded systems.
 
   */
@@ -211,7 +216,7 @@
      will be opened and the resulting {@link java.io.Writer} wrapped
      around a {@link BufferedWriter}.
 
-     BufferedIO will significatnly increase performance on heavily
+     BufferedIO will significantly increase performance on heavily
      loaded systems.
 
   */

Modified: logging/log4j/trunk/src/java/org/apache/log4j/joran/JoranConfigurator.java
URL: http://svn.apache.org/viewcvs/logging/log4j/trunk/src/java/org/apache/log4j/joran/JoranConfigurator.java?rev=376871&r1=376870&r2=376871&view=diff
==============================================================================
--- logging/log4j/trunk/src/java/org/apache/log4j/joran/JoranConfigurator.java (original)
+++ logging/log4j/trunk/src/java/org/apache/log4j/joran/JoranConfigurator.java Fri Feb 10
13:56:57 2006
@@ -69,9 +69,8 @@
  * @author <a href="http://www.qos.ch/log4j/">Ceki G&uuml;lc&uuml;</a>
  */
 public class JoranConfigurator extends ConfiguratorBase {
-  Interpreter joranInterpreter;
-  LoggerRepository repository;
-  boolean listAppnderAttached = false;
+  private Interpreter joranInterpreter;
+  private LoggerRepository repository;
 
   public JoranConfigurator() {
   }



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message