From be1bb7b1ccee28be616b89cc95e97d656e78bbe3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 12 Aug 2014 14:00:54 +0200 Subject: java: use Boolean.valueOf instead of instantiating Boolean objects Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74 --- testtools/com/sun/star/comp/bridge/TestComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testtools/com/sun/star/comp/bridge/TestComponent.java') diff --git a/testtools/com/sun/star/comp/bridge/TestComponent.java b/testtools/com/sun/star/comp/bridge/TestComponent.java index 65a10c008d11..ba50d56c1de9 100644 --- a/testtools/com/sun/star/comp/bridge/TestComponent.java +++ b/testtools/com/sun/star/comp/bridge/TestComponent.java @@ -1222,7 +1222,7 @@ public class TestComponent { context, new TestPolyStruct(Type.LONG), new TestPolyStruct(new Any(Type.BOOLEAN, Boolean.TRUE)), - new TestPolyStruct(new Boolean(true)), + new TestPolyStruct(Boolean.TRUE), new TestPolyStruct(new Byte(Byte.MIN_VALUE)), new TestPolyStruct(new Short(Short.MIN_VALUE)), new TestPolyStruct(new Integer(Integer.MIN_VALUE)), -- cgit