Use more efficient Integer cache.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1153479 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2011-08-03 13:28:39 +00:00
parent 6869f0abad
commit 9d6f32538c
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@
*/ */
public class ToStringBuilderTest extends TestCase { public class ToStringBuilderTest extends TestCase {
private final Integer base = new Integer(5); private final Integer base = Integer.valueOf(5);
private final String baseStr = base.getClass().getName() + "@" + Integer.toHexString(System.identityHashCode(base)); private final String baseStr = base.getClass().getName() + "@" + Integer.toHexString(System.identityHashCode(base));
public ToStringBuilderTest(String name) { public ToStringBuilderTest(String name) {