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 /qadevOOo/testdocs/qadevlibs | |
parent | 0764292c5dcb7daa62e9adeb1ac9af1dbe14066f (diff) |
java: use 'Byte.valueOf' instead of 'new Byte'
Change-Id: Ia99765a6226317ee41ffb02a1b0dd7e6fd944a90
Diffstat (limited to 'qadevOOo/testdocs/qadevlibs')
-rw-r--r-- | qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java b/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java index fe43065d8955..875b21cab7e0 100644 --- a/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java +++ b/qadevOOo/testdocs/qadevlibs/source/com/sun/star/cmp/MyPersistObject.java @@ -206,7 +206,7 @@ public class MyPersistObject implements XPersistObject, XTypeProvider, */ public Object getPropertyValue(String property) { if ( property.equals(props[0].Name)) - return new Byte(by); + return Byte.valueOf(by); if ( property.equals(props[1].Name)) return Integer.valueOf(i); if ( property.equals(props[2].Name)) |