summaryrefslogtreecommitdiff
path: root/testtools/com/sun
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-12 15:09:06 +0200
committerNoel Grandin <noel@peralex.com>2014-08-19 14:57:17 +0200
commitff0ad0493ee1729c726587f667761b04101d774c (patch)
tree8c0f97e8740fbdb2ed0cdbfc5d99d82cae8f7df6 /testtools/com/sun
parentbe1bb7b1ccee28be616b89cc95e97d656e78bbe3 (diff)
java: use 'Integer.valueOf' instead of 'new Integer'
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
Diffstat (limited to 'testtools/com/sun')
-rw-r--r--testtools/com/sun/star/comp/bridge/TestComponent.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/testtools/com/sun/star/comp/bridge/TestComponent.java b/testtools/com/sun/star/comp/bridge/TestComponent.java
index ba50d56c1de9..ea7f572cc4aa 100644
--- a/testtools/com/sun/star/comp/bridge/TestComponent.java
+++ b/testtools/com/sun/star/comp/bridge/TestComponent.java
@@ -1168,8 +1168,8 @@ public class TestComponent {
new Byte(Byte.MIN_VALUE),
new Short(Short.MIN_VALUE),
new Any(Type.UNSIGNED_SHORT, new Short((short) -1)),
- new Integer(Integer.MIN_VALUE),
- new Any(Type.UNSIGNED_LONG, new Integer(-1)),
+ Integer.valueOf(Integer.MIN_VALUE),
+ new Any(Type.UNSIGNED_LONG, Integer.valueOf(-1)),
new Long(Long.MIN_VALUE),
new Any(Type.UNSIGNED_HYPER, new Long(-1L)),
new Float(0.123f),
@@ -1225,7 +1225,7 @@ public class TestComponent {
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)),
+ new TestPolyStruct(Integer.valueOf(Integer.MIN_VALUE)),
new TestPolyStruct(new Long(Long.MIN_VALUE)),
new TestPolyStruct(new Character('X')),
new TestPolyStruct("test"),
@@ -1261,7 +1261,7 @@ public class TestComponent {
new TestPolyStruct(new TestPolyStruct2[] {new TestPolyStruct2(
new TestPolyStruct(new Character('X')), new Any[] {new Any(Type.BOOLEAN, Boolean.TRUE)})}),
new TestPolyStruct(new int[][] { new int[] {Integer.MIN_VALUE} }),
- new TestPolyStruct[]{ new TestPolyStruct(new Integer(Integer.MIN_VALUE))},
+ new TestPolyStruct[]{ new TestPolyStruct(Integer.valueOf(Integer.MIN_VALUE))},
new TestPolyStruct[]{new TestPolyStruct(new TestPolyStruct2(
new Character('X'), new Any(Type.BOOLEAN, Boolean.TRUE)))},
new TestPolyStruct[]{new TestPolyStruct(new TestPolyStruct2(