summaryrefslogtreecommitdiff
path: root/unotools/qa
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 /unotools/qa
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 'unotools/qa')
-rw-r--r--unotools/qa/complex/tempfile/Test01.java6
-rw-r--r--unotools/qa/complex/tempfile/Test02.java6
-rw-r--r--unotools/qa/complex/tempfile/TestHelper.java2
3 files changed, 7 insertions, 7 deletions
diff --git a/unotools/qa/complex/tempfile/Test01.java b/unotools/qa/complex/tempfile/Test01.java
index b64c3e22039f..2b64195d3752 100644
--- a/unotools/qa/complex/tempfile/Test01.java
+++ b/unotools/qa/complex/tempfile/Test01.java
@@ -27,9 +27,9 @@ import share.LogWriter;
public class Test01 {
LogWriter m_aLogWriter;
- XMultiServiceFactory m_xMSF = null;
- XSimpleFileAccess m_xSFA = null;
- TestHelper m_aTestHelper = null;
+ private XMultiServiceFactory m_xMSF = null;
+ private XSimpleFileAccess m_xSFA = null;
+ private TestHelper m_aTestHelper = null;
public Test01(XMultiServiceFactory xMSF, XSimpleFileAccess xSFA) {
m_xMSF = xMSF;
diff --git a/unotools/qa/complex/tempfile/Test02.java b/unotools/qa/complex/tempfile/Test02.java
index 29855d428b05..afef403fbfe4 100644
--- a/unotools/qa/complex/tempfile/Test02.java
+++ b/unotools/qa/complex/tempfile/Test02.java
@@ -27,9 +27,9 @@ import java.util.Random;
public class Test02 {
- XMultiServiceFactory m_xMSF;
- XSimpleFileAccess m_xSFA;
- TestHelper m_aTestHelper;
+ private XMultiServiceFactory m_xMSF;
+ private XSimpleFileAccess m_xSFA;
+ private TestHelper m_aTestHelper;
public Test02(XMultiServiceFactory xMSF, XSimpleFileAccess xSFA) {
m_xMSF = xMSF;
diff --git a/unotools/qa/complex/tempfile/TestHelper.java b/unotools/qa/complex/tempfile/TestHelper.java
index 9f21438365b1..e17075419ddd 100644
--- a/unotools/qa/complex/tempfile/TestHelper.java
+++ b/unotools/qa/complex/tempfile/TestHelper.java
@@ -27,7 +27,7 @@ import com.sun.star.ucb.XSimpleFileAccess;
public class TestHelper {
- String m_sTestPrefix;
+ private String m_sTestPrefix;
public TestHelper( String sTestPrefix ) {