FindBugs fixes - make constants static
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 1 Mar 2011 08:44:29 +0000 (08:44 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 1 Mar 2011 08:44:29 +0000 (08:44 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1075708 13f79535-47bb-0310-9956-ffa450edef68

test/org/apache/el/lang/TestELArithmetic.java

index f891836..305630b 100644 (file)
@@ -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",