From 9adb820158bdbfa0a34d843d4eb4c35963f00ac5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 9 Dec 2014 15:09:18 +0200 Subject: java: simplify the getMSF() methods Change-Id: Ib459799f4a3224f8c9683ac4b6cf37982d2077a3 Reviewed-on: https://gerrit.libreoffice.org/13406 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- unoxml/qa/complex/unoxml/RDFRepositoryTest.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'unoxml/qa') diff --git a/unoxml/qa/complex/unoxml/RDFRepositoryTest.java b/unoxml/qa/complex/unoxml/RDFRepositoryTest.java index 1fe8372d625a..3b560bdaf2d3 100644 --- a/unoxml/qa/complex/unoxml/RDFRepositoryTest.java +++ b/unoxml/qa/complex/unoxml/RDFRepositoryTest.java @@ -843,10 +843,9 @@ public class RDFRepositoryTest public void setString(String i_Str) { m_Text = i_Str; } } - private XMultiServiceFactory getMSF() + private XMultiServiceFactory getMSF() { - final XMultiServiceFactory xMSF1 = UnoRuntime.queryInterface(XMultiServiceFactory.class, connection.getComponentContext().getServiceManager()); - return xMSF1; + return UnoRuntime.queryInterface(XMultiServiceFactory.class, connection.getComponentContext().getServiceManager()); } // setup and close connections -- cgit