Author: markt Date: Thu Dec 16 15:04:56 2010 New Revision: 1049997 URL: http://svn.apache.org/viewvc?rev=1049997&view=rev Log: Fix a FindBugs nag in the unit tests
Modified: tomcat/trunk/test/org/apache/catalina/valves/Benchmarks.java Modified: tomcat/trunk/test/org/apache/catalina/valves/Benchmarks.java URL: http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/catalina/valves/Benchmarks.java?rev=1049997&r1=1049996&r2=1049997&view=diff ============================================================================== --- tomcat/trunk/test/org/apache/catalina/valves/Benchmarks.java (original) +++ tomcat/trunk/test/org/apache/catalina/valves/Benchmarks.java Thu Dec 16 15:04:56 2010 @@ -206,7 +206,7 @@ public class Benchmarks extends TestCase } private volatile Date currentDate = new Date(); - private String currentDateString = null; + private volatile String currentDateString = null; private SimpleDateFormat dayFormatter = new SimpleDateFormat("dd"); private SimpleDateFormat monthFormatter = new SimpleDateFormat("MM"); private SimpleDateFormat yearFormatter = new SimpleDateFormat("yyyy"); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org