From 0764292c5dcb7daa62e9adeb1ac9af1dbe14066f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 12 Aug 2014 15:12:27 +0200 Subject: java: use 'Short.valueOf' instead of 'new Short' Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219 --- ridljar/com/sun/star/uno/UnoRuntime.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ridljar') diff --git a/ridljar/com/sun/star/uno/UnoRuntime.java b/ridljar/com/sun/star/uno/UnoRuntime.java index 6ea263c5f0fc..98d6959b8efe 100644 --- a/ridljar/com/sun/star/uno/UnoRuntime.java +++ b/ridljar/com/sun/star/uno/UnoRuntime.java @@ -309,7 +309,7 @@ public class UnoRuntime { return new Byte((byte) 0); case TypeClass.SHORT_value: case TypeClass.UNSIGNED_SHORT_value: - return new Short((short) 0); + return Short.valueOf((short) 0); case TypeClass.LONG_value: case TypeClass.UNSIGNED_LONG_value: return Integer.valueOf(0); -- cgit v1.2.3