diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-12 15:13:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-19 14:57:18 +0200 |
commit | c552aac9f889b094caaa35c3fd9d12fe7c3fc73c (patch) | |
tree | b6b583a6fe44817d37d3b9963ed973b67d16ed4f /testtools | |
parent | 0764292c5dcb7daa62e9adeb1ac9af1dbe14066f (diff) |
java: use 'Byte.valueOf' instead of 'new Byte'
Change-Id: Ia99765a6226317ee41ffb02a1b0dd7e6fd944a90
Diffstat (limited to 'testtools')
-rw-r--r-- | testtools/com/sun/star/comp/bridge/TestComponent.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testtools/com/sun/star/comp/bridge/TestComponent.java b/testtools/com/sun/star/comp/bridge/TestComponent.java index 220dfc497459..9876c18b0b7b 100644 --- a/testtools/com/sun/star/comp/bridge/TestComponent.java +++ b/testtools/com/sun/star/comp/bridge/TestComponent.java @@ -1165,7 +1165,7 @@ public class TestComponent { null); Constructors.create2(context, new Object[] { Boolean.TRUE, - new Byte(Byte.MIN_VALUE), + Byte.valueOf(Byte.MIN_VALUE), Short.valueOf(Short.MIN_VALUE), new Any(Type.UNSIGNED_SHORT, Short.valueOf((short) -1)), Integer.valueOf(Integer.MIN_VALUE), @@ -1223,7 +1223,7 @@ public class TestComponent { new TestPolyStruct(Type.LONG), new TestPolyStruct(new Any(Type.BOOLEAN, Boolean.TRUE)), new TestPolyStruct(Boolean.TRUE), - new TestPolyStruct(new Byte(Byte.MIN_VALUE)), + new TestPolyStruct(Byte.valueOf(Byte.MIN_VALUE)), new TestPolyStruct(Short.valueOf(Short.MIN_VALUE)), new TestPolyStruct(Integer.valueOf(Integer.MIN_VALUE)), new TestPolyStruct(Long.valueOf(Long.MIN_VALUE)), |