diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-12 15:12:27 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-19 14:57:18 +0200 |
commit | 0764292c5dcb7daa62e9adeb1ac9af1dbe14066f (patch) | |
tree | 17a4e9f2393d23aaba1e68bbc944aa8e18b9e2f6 /ridljar/com/sun/star | |
parent | 8a2c6c29af41cd7a62f37861fb0d4e81a857bb45 (diff) |
java: use 'Short.valueOf' instead of 'new Short'
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
Diffstat (limited to 'ridljar/com/sun/star')
-rw-r--r-- | ridljar/com/sun/star/uno/UnoRuntime.java | 2 |
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 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); |