summaryrefslogtreecommitdiff
path: root/testtools/com
diff options
context:
space:
mode:
Diffstat (limited to 'testtools/com')
-rw-r--r--testtools/com/sun/star/comp/bridge/TestComponent.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/testtools/com/sun/star/comp/bridge/TestComponent.java b/testtools/com/sun/star/comp/bridge/TestComponent.java
index beba7850dae4..220dfc497459 100644
--- a/testtools/com/sun/star/comp/bridge/TestComponent.java
+++ b/testtools/com/sun/star/comp/bridge/TestComponent.java
@@ -1166,8 +1166,8 @@ public class TestComponent {
Constructors.create2(context, new Object[] {
Boolean.TRUE,
new Byte(Byte.MIN_VALUE),
- new Short(Short.MIN_VALUE),
- new Any(Type.UNSIGNED_SHORT, new Short((short) -1)),
+ Short.valueOf(Short.MIN_VALUE),
+ new Any(Type.UNSIGNED_SHORT, Short.valueOf((short) -1)),
Integer.valueOf(Integer.MIN_VALUE),
new Any(Type.UNSIGNED_LONG, Integer.valueOf(-1)),
Long.valueOf(Long.MIN_VALUE),
@@ -1224,7 +1224,7 @@ public class TestComponent {
new TestPolyStruct(new Any(Type.BOOLEAN, Boolean.TRUE)),
new TestPolyStruct(Boolean.TRUE),
new TestPolyStruct(new Byte(Byte.MIN_VALUE)),
- new TestPolyStruct(new Short(Short.MIN_VALUE)),
+ new TestPolyStruct(Short.valueOf(Short.MIN_VALUE)),
new TestPolyStruct(Integer.valueOf(Integer.MIN_VALUE)),
new TestPolyStruct(Long.valueOf(Long.MIN_VALUE)),
new TestPolyStruct(new Character('X')),