You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2010/12/16 16:04:57 UTC

svn commit: r1049997 - /tomcat/trunk/test/org/apache/catalina/valves/Benchmarks.java

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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org