summaryrefslogtreecommitdiff
path: root/ridljar/com/sun
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-12 15:13:30 +0200
committerNoel Grandin <noel@peralex.com>2014-08-19 14:57:18 +0200
commitc552aac9f889b094caaa35c3fd9d12fe7c3fc73c (patch)
treeb6b583a6fe44817d37d3b9963ed973b67d16ed4f /ridljar/com/sun
parent0764292c5dcb7daa62e9adeb1ac9af1dbe14066f (diff)
java: use 'Byte.valueOf' instead of 'new Byte'
Change-Id: Ia99765a6226317ee41ffb02a1b0dd7e6fd944a90
Diffstat (limited to 'ridljar/com/sun')
-rw-r--r--ridljar/com/sun/star/uno/UnoRuntime.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/ridljar/com/sun/star/uno/UnoRuntime.java b/ridljar/com/sun/star/uno/UnoRuntime.java
index 98d6959b8efe..5576c2c08591 100644
--- a/ridljar/com/sun/star/uno/UnoRuntime.java
+++ b/ridljar/com/sun/star/uno/UnoRuntime.java
@@ -306,7 +306,7 @@ public class UnoRuntime {
case TypeClass.BOOLEAN_value:
return Boolean.FALSE;
case TypeClass.BYTE_value:
- return new Byte((byte) 0);
+ return Byte.valueOf((byte) 0);
case TypeClass.SHORT_value:
case TypeClass.UNSIGNED_SHORT_value:
return Short.valueOf((short) 0);