From: markt Date: Tue, 1 Mar 2011 08:44:29 +0000 (+0000) Subject: FindBugs fixes - make constants static X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=8394e7490430e4dbb7e843f1a714f70398e3d1d0;p=tomcat7.0 FindBugs fixes - make constants static git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1075708 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/org/apache/el/lang/TestELArithmetic.java b/test/org/apache/el/lang/TestELArithmetic.java index f891836d9..305630b3a 100644 --- a/test/org/apache/el/lang/TestELArithmetic.java +++ b/test/org/apache/el/lang/TestELArithmetic.java @@ -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",