From bd9cd1a37488f7cf9f8af64e07ab6f29728665f4 Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 10 Sep 2014 00:20:32 +0200 Subject: qadevOOo: Convert a primitive type into a string Change-Id: I1a840346e75a3d7dd0de761660a0ea95c7ee034b Reviewed-on: https://gerrit.libreoffice.org/11370 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- qadevOOo/runner/util/SOfficeFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qadevOOo/runner/util/SOfficeFactory.java b/qadevOOo/runner/util/SOfficeFactory.java index 54f119b57d31..f672733a4e97 100644 --- a/qadevOOo/runner/util/SOfficeFactory.java +++ b/qadevOOo/runner/util/SOfficeFactory.java @@ -64,11 +64,11 @@ public class SOfficeFactory { public static SOfficeFactory getFactory(XMultiServiceFactory xMSF) { - SOfficeFactory soFactory = lookup.get(Integer.valueOf(xMSF.hashCode()).toString()); + SOfficeFactory soFactory = lookup.get(Integer.toString(xMSF.hashCode())); if (soFactory == null) { soFactory = new SOfficeFactory(xMSF); - lookup.put(Integer.valueOf(xMSF.hashCode()).toString(), soFactory); + lookup.put(Integer.toString(xMSF.hashCode()), soFactory); } return soFactory; -- cgit