From 7557f23b31dcfb4d86c122bb34d9675c0db9a694 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 10 Dec 2014 15:36:24 +0200 Subject: java: reduce visibility of fields and methods found by PMD Change-Id: Id6737916b68ccbdbdeec5d314747a38410923ac6 Reviewed-on: https://gerrit.libreoffice.org/13409 Tested-by: LibreOffice gerrit bot Reviewed-by: Noel Grandin --- qadevOOo/testdocs/qadevlibs/source/test/Job.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'qadevOOo/testdocs/qadevlibs') diff --git a/qadevOOo/testdocs/qadevlibs/source/test/Job.java b/qadevOOo/testdocs/qadevlibs/source/test/Job.java index 950eee89cfbc..c2aae762bddd 100644 --- a/qadevOOo/testdocs/qadevlibs/source/test/Job.java +++ b/qadevOOo/testdocs/qadevlibs/source/test/Job.java @@ -31,13 +31,13 @@ import com.sun.star.comp.loader.FactoryHelper; public class Job { - static public class _Implementation implements XServiceInfo, XTypeProvider, + static private class _Implementation implements XServiceInfo, XTypeProvider, XJob, XNamed { static private final String __serviceName = "test.Job"; Object oDoc = null; String actionType = null; String actionParm = null; - XMultiServiceFactory oMSF = null; + private XMultiServiceFactory oMSF = null; public _Implementation(XMultiServiceFactory xMSF) { @@ -57,7 +57,7 @@ public class Job { return new String[] {__serviceName}; } - public static int executed = 0; + private static int executed = 0; public Object execute(NamedValue[] args) { executed++; -- cgit