From 8394e7490430e4dbb7e843f1a714f70398e3d1d0 Mon Sep 17 00:00:00 2001 From: markt Date: Tue, 1 Mar 2011 08:44:29 +0000 Subject: [PATCH] FindBugs fixes - make constants static git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1075708 13f79535-47bb-0310-9956-ffa450edef68 --- test/org/apache/el/lang/TestELArithmetic.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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", -- 2.11.0