From c552aac9f889b094caaa35c3fd9d12fe7c3fc73c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 12 Aug 2014 15:13:30 +0200 Subject: java: use 'Byte.valueOf' instead of 'new Byte' Change-Id: Ia99765a6226317ee41ffb02a1b0dd7e6fd944a90 --- wizards/com/sun/star/wizards/common/NumericalHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wizards/com') diff --git a/wizards/com/sun/star/wizards/common/NumericalHelper.java b/wizards/com/sun/star/wizards/common/NumericalHelper.java index ba555ff64430..dd1c731fddb9 100644 --- a/wizards/com/sun/star/wizards/common/NumericalHelper.java +++ b/wizards/com/sun/star/wizards/common/NumericalHelper.java @@ -249,7 +249,7 @@ public class NumericalHelper break; case TypeClass.BYTE_value: aTypeObject.iType = BYTE_TYPE; - aTypeObject.aValue = new Byte(AnyConverter.toByte(aValue)); + aTypeObject.aValue = Byte.valueOf(AnyConverter.toByte(aValue)); break; case TypeClass.SHORT_value: aTypeObject.iType = SHORT_TYPE; -- cgit