logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carn...@apache.org
Subject svn commit: r502386 - /logging/log4j/trunk/src/java/org/apache/log4j/concurrent/FileAppender.java
Date Thu, 01 Feb 2007 22:29:06 GMT
Author: carnold
Date: Thu Feb  1 14:29:05 2007
New Revision: 502386

URL: http://svn.apache.org/viewvc?view=rev&rev=502386
Log:
Bug 19004: Remove use of JDK 1.4 method Boolean.valueOf(boolean)

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

Modified: logging/log4j/trunk/src/java/org/apache/log4j/concurrent/FileAppender.java
URL: http://svn.apache.org/viewvc/logging/log4j/trunk/src/java/org/apache/log4j/concurrent/FileAppender.java?view=diff&rev=502386&r1=502385&r2=502386
==============================================================================
--- logging/log4j/trunk/src/java/org/apache/log4j/concurrent/FileAppender.java (original)
+++ logging/log4j/trunk/src/java/org/apache/log4j/concurrent/FileAppender.java Thu Feb  1
14:29:05 2007
@@ -251,7 +251,7 @@
   public void setFile(
     String filename, boolean append, boolean bufferedIO, int bufferSize)
     throws IOException {
-    getLogger().debug("setFile called: {}, {}", filename, Boolean.valueOf(append));
+    getLogger().debug("setFile called: {}, {}", filename, append ? Boolean.TRUE : Boolean.FALSE);
 
     this.fileAppend = append;
     this.bufferedIO = bufferedIO;



---------------------------------------------------------------------
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