summaryrefslogtreecommitdiff
path: root/qadevOOo/testdocs
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-10 15:36:24 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-12-11 06:09:03 +0000
commit7557f23b31dcfb4d86c122bb34d9675c0db9a694 (patch)
tree5feb7be2b0841d8ee60d935cf2e29e9a01a31a27 /qadevOOo/testdocs
parent808fd5fbd8868dfd95c8a38676815798fa2b79c4 (diff)
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 <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'qadevOOo/testdocs')
-rw-r--r--qadevOOo/testdocs/backend/org/openoffice/JavaSystemBackend.java2
-rw-r--r--qadevOOo/testdocs/qadevlibs/source/test/Job.java6
2 files changed, 4 insertions, 4 deletions
diff --git a/qadevOOo/testdocs/backend/org/openoffice/JavaSystemBackend.java b/qadevOOo/testdocs/backend/org/openoffice/JavaSystemBackend.java
index 91aa80848c6b..ab739aeb3595 100644
--- a/qadevOOo/testdocs/backend/org/openoffice/JavaSystemBackend.java
+++ b/qadevOOo/testdocs/backend/org/openoffice/JavaSystemBackend.java
@@ -198,7 +198,7 @@ public class JavaSystemBackend implements XSingleLayerStratum, XTypeProvider,
public void removeEventListener(com.sun.star.lang.XEventListener xEventListener) {
}
- protected class CommonLayer implements XLayer, XTimeStamped {
+ private class CommonLayer implements XLayer, XTimeStamped {
public void readData(XLayerHandler xLayerHandler)
throws com.sun.star.lang.NullPointerException,
com.sun.star.lang.WrappedTargetException,
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++;