Author: markt
Date: Tue Mar  1 08:44:29 2011
New Revision: 1075708

URL: http://svn.apache.org/viewvc?rev=1075708&view=rev
Log:
FindBugs fixes - make constants static

Modified:
    tomcat/trunk/test/org/apache/el/lang/TestELArithmetic.java

Modified: tomcat/trunk/test/org/apache/el/lang/TestELArithmetic.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/el/lang/TestELArithmetic.java?rev=1075708&r1=1075707&r2=1075708&view=diff
==============================================================================
--- tomcat/trunk/test/org/apache/el/lang/TestELArithmetic.java (original)
+++ tomcat/trunk/test/org/apache/el/lang/TestELArithmetic.java Tue Mar  1 
08:44:29 2011
@@ -21,8 +21,9 @@ import java.math.BigInteger;
 import junit.framework.TestCase;
 
 public class TestELArithmetic extends TestCase {
-    private final String a = "1.1";
-    private final BigInteger b = new BigInteger("1000000000000000000000");
+    private static final String a = "1.1";
+    private static final BigInteger b =
+        new BigInteger("1000000000000000000000");
 
     public void testAdd() throws Exception {
         assertEquals("1000000000000000000001.1",



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to