summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_forms
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/tests/java/mod/_forms
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/tests/java/mod/_forms')
-rw-r--r--qadevOOo/tests/java/mod/_forms/GenericModelTest.java10
-rw-r--r--qadevOOo/tests/java/mod/_forms/ODatabaseForm.java8
-rw-r--r--qadevOOo/tests/java/mod/_forms/OListBoxModel.java10
-rw-r--r--qadevOOo/tests/java/mod/_forms/OTimeModel.java10
4 files changed, 19 insertions, 19 deletions
diff --git a/qadevOOo/tests/java/mod/_forms/GenericModelTest.java b/qadevOOo/tests/java/mod/_forms/GenericModelTest.java
index ed7ba409d2ed..0a0f7b3c4233 100644
--- a/qadevOOo/tests/java/mod/_forms/GenericModelTest.java
+++ b/qadevOOo/tests/java/mod/_forms/GenericModelTest.java
@@ -493,12 +493,12 @@ public class GenericModelTest extends TestCase {
} // finish method getTestEnvironment
- static class Checker implements ifc.form._XUpdateBroadcaster.UpdateChecker {
+ private static class Checker implements ifc.form._XUpdateBroadcaster.UpdateChecker {
private Object lastValue = null;
- XLoadable formLoaderF = null;
- XPropertySet ps = null;
- XInterface ctrl = null;
- String ChangePropertyName = null;
+ private XLoadable formLoaderF = null;
+ private XPropertySet ps = null;
+ private XInterface ctrl = null;
+ private String ChangePropertyName = null;
Object ChangePropertyValue = null;
public Checker(XLoadable xl, XPropertySet ps, XInterface ctrl, String ChangePropertyName, Object ChangePropertyValue) {
diff --git a/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java b/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java
index 8a1b43c88f56..72755f0cc449 100644
--- a/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java
+++ b/qadevOOo/tests/java/mod/_forms/ODatabaseForm.java
@@ -783,9 +783,9 @@ public class ODatabaseForm extends TestCase {
* for the XDatabaseParameterBroadcaster test
* @see ifc.form._XDatabaseParameterBroadcaster
*/
- public class ParameterListenerImpl implements _XDatabaseParameterBroadcaster.CheckParameterListener {
- boolean listenerWasCalled = false;
- PrintWriter log = new PrintWriter(System.out);
+ private class ParameterListenerImpl implements _XDatabaseParameterBroadcaster.CheckParameterListener {
+ private boolean listenerWasCalled = false;
+ private PrintWriter log = new PrintWriter(System.out);
/**
* Return true, if the listener was called, false otherwise.
@@ -845,7 +845,7 @@ public class ODatabaseForm extends TestCase {
* for the XCompletedExecution test
* @see ifc.sdb._XCompletedExecution
*/
- public class InteractionHandlerImpl implements _XCompletedExecution.CheckInteractionHandler {
+ private class InteractionHandlerImpl implements _XCompletedExecution.CheckInteractionHandler {
private boolean handlerWasUsed = false;
private PrintWriter log = new PrintWriter(System.out);
diff --git a/qadevOOo/tests/java/mod/_forms/OListBoxModel.java b/qadevOOo/tests/java/mod/_forms/OListBoxModel.java
index c5d61c79f4ad..69db57197b1e 100644
--- a/qadevOOo/tests/java/mod/_forms/OListBoxModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OListBoxModel.java
@@ -183,12 +183,12 @@ public class OListBoxModel extends GenericModelTest {
return tEnv;
}
- static class Checker implements UpdateChecker {
+ private static class Checker implements UpdateChecker {
private short lastItem = (short) 0;
- XLoadable formLoaderF = null;
- XPropertySet ps = null;
- XInterface ctrl = null;
- String ChangePropertyName = null;
+ private XLoadable formLoaderF = null;
+ private XPropertySet ps = null;
+ private XInterface ctrl = null;
+ private String ChangePropertyName = null;
Object ChangePropertyValue = null;
public Checker(XLoadable xl, XPropertySet ps, XInterface ctrl, String ChangePropertyName, Object ChangePropertyValue) {
diff --git a/qadevOOo/tests/java/mod/_forms/OTimeModel.java b/qadevOOo/tests/java/mod/_forms/OTimeModel.java
index e2caa810892c..4e1525bed3fd 100644
--- a/qadevOOo/tests/java/mod/_forms/OTimeModel.java
+++ b/qadevOOo/tests/java/mod/_forms/OTimeModel.java
@@ -176,11 +176,11 @@ public class OTimeModel extends GenericModelTest {
return tEnv;
}
- static class Checker implements UpdateChecker {
- XLoadable formLoaderF = null;
- XPropertySet ps = null;
- XInterface ctrl = null;
- String ChangePropertyName = null;
+ private static class Checker implements UpdateChecker {
+ private XLoadable formLoaderF = null;
+ private XPropertySet ps = null;
+ private XInterface ctrl = null;
+ private String ChangePropertyName = null;
Object ChangePropertyValue = null;
public Checker(XLoadable xl, XPropertySet ps, XInterface ctrl, String ChangePropertyName, Object ChangePropertyValue) {