Author: fschumacher Date: Sun Sep 20 15:15:02 2015 New Revision: 1704149 URL: http://svn.apache.org/viewvc?rev=1704149&view=rev Log: record can't be null here, since it has been dereferenced before in isLoggable.
Modified: tomcat/trunk/java/org/apache/juli/AsyncFileHandler.java Modified: tomcat/trunk/java/org/apache/juli/AsyncFileHandler.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/juli/AsyncFileHandler.java?rev=1704149&r1=1704148&r2=1704149&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/juli/AsyncFileHandler.java (original) +++ tomcat/trunk/java/org/apache/juli/AsyncFileHandler.java Sun Sep 20 15:15:02 2015 @@ -99,11 +99,9 @@ public class AsyncFileHandler extends Fi if (!isLoggable(record)) { return; } - if (record != null) { - // fill source entries, before we hand the record over to another - // thread with another class loader - record.getSourceMethodName(); - } + // fill source entries, before we hand the record over to another + // thread with another class loader + record.getSourceMethodName(); LogEntry entry = new LogEntry(record,this); boolean added = false; try { --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org