summaryrefslogtreecommitdiff
path: root/svl
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 /svl
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 'svl')
-rw-r--r--svl/qa/complex/passwordcontainer/Test01.java4
-rw-r--r--svl/qa/complex/passwordcontainer/Test02.java4
-rw-r--r--svl/qa/complex/passwordcontainer/Test03.java4
-rw-r--r--svl/qa/complex/passwordcontainer/TestHelper.java4
4 files changed, 8 insertions, 8 deletions
diff --git a/svl/qa/complex/passwordcontainer/Test01.java b/svl/qa/complex/passwordcontainer/Test01.java
index fb6b8537b020..d0e9dcc09e9e 100644
--- a/svl/qa/complex/passwordcontainer/Test01.java
+++ b/svl/qa/complex/passwordcontainer/Test01.java
@@ -27,9 +27,9 @@ import com.sun.star.uno.UnoRuntime;
public class Test01 implements PasswordContainerTest {
- XMultiServiceFactory m_xMSF = null;
+ private XMultiServiceFactory m_xMSF = null;
XPasswordContainer m_xPasswordContainer = null;
- TestHelper m_aTestHelper = null;
+ private TestHelper m_aTestHelper = null;
public Test01 ( XMultiServiceFactory xMSF )
{
diff --git a/svl/qa/complex/passwordcontainer/Test02.java b/svl/qa/complex/passwordcontainer/Test02.java
index aca3183b2569..1296d77af678 100644
--- a/svl/qa/complex/passwordcontainer/Test02.java
+++ b/svl/qa/complex/passwordcontainer/Test02.java
@@ -29,9 +29,9 @@ import com.sun.star.uno.UnoRuntime;
public class Test02 implements PasswordContainerTest {
- XMultiServiceFactory m_xMSF = null;
+ private XMultiServiceFactory m_xMSF = null;
XPasswordContainer m_xPasswordContainer = null;
- TestHelper m_aTestHelper = null;
+ private TestHelper m_aTestHelper = null;
public Test02 ( XMultiServiceFactory xMSF )
{
diff --git a/svl/qa/complex/passwordcontainer/Test03.java b/svl/qa/complex/passwordcontainer/Test03.java
index 93df47ad62c1..d9b3e3588b3e 100644
--- a/svl/qa/complex/passwordcontainer/Test03.java
+++ b/svl/qa/complex/passwordcontainer/Test03.java
@@ -30,9 +30,9 @@ import com.sun.star.uno.UnoRuntime;
public class Test03 implements PasswordContainerTest {
- XMultiServiceFactory m_xMSF = null;
+ private XMultiServiceFactory m_xMSF = null;
XPasswordContainer m_xPasswordContainer = null;
- TestHelper m_aTestHelper = null;
+ private TestHelper m_aTestHelper = null;
public Test03 ( XMultiServiceFactory xMSF )
{
diff --git a/svl/qa/complex/passwordcontainer/TestHelper.java b/svl/qa/complex/passwordcontainer/TestHelper.java
index 10574019ebcc..b6f1f08425e6 100644
--- a/svl/qa/complex/passwordcontainer/TestHelper.java
+++ b/svl/qa/complex/passwordcontainer/TestHelper.java
@@ -22,7 +22,7 @@ import com.sun.star.task.UserRecord;
public class TestHelper {
- String m_sTestPrefix;
+ private String m_sTestPrefix;
public TestHelper( String sTestPrefix ) {
m_sTestPrefix = sTestPrefix;
@@ -32,7 +32,7 @@ public class TestHelper {
System.out.println( m_sTestPrefix + "Error: " + sError );
}
- public void Message( String sMessage ) {
+ private void Message( String sMessage ) {
System.out.println( m_sTestPrefix + sMessage );
}