summaryrefslogtreecommitdiff
path: root/testtools
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 /testtools
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 'testtools')
-rw-r--r--testtools/com/sun/star/comp/bridge/TestComponentMain.java4
-rw-r--r--testtools/qa/cli/CLITest.java2
-rw-r--r--testtools/qa/cliversioning/VersionTestCase.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/testtools/com/sun/star/comp/bridge/TestComponentMain.java b/testtools/com/sun/star/comp/bridge/TestComponentMain.java
index bcb5d8f58e53..eaeab8d23ebf 100644
--- a/testtools/com/sun/star/comp/bridge/TestComponentMain.java
+++ b/testtools/com/sun/star/comp/bridge/TestComponentMain.java
@@ -38,8 +38,8 @@ import com.sun.star.uno.UnoRuntime;
public class TestComponentMain
{
- static class InstanceProvider implements XInstanceProvider {
- XComponentContext ctx;
+ private static class InstanceProvider implements XInstanceProvider {
+ private XComponentContext ctx;
public InstanceProvider( XComponentContext ctx )
{
diff --git a/testtools/qa/cli/CLITest.java b/testtools/qa/cli/CLITest.java
index 29ba7a235b0b..13755dc8a3ee 100644
--- a/testtools/qa/cli/CLITest.java
+++ b/testtools/qa/cli/CLITest.java
@@ -78,7 +78,7 @@ public class CLITest extends ComplexTestCase
*/
class Reader extends Thread
{
- InputStream is;
+ private InputStream is;
public Reader(InputStream stream)
{
is = stream;
diff --git a/testtools/qa/cliversioning/VersionTestCase.java b/testtools/qa/cliversioning/VersionTestCase.java
index 3a3d666e0f8a..c430443d8164 100644
--- a/testtools/qa/cliversioning/VersionTestCase.java
+++ b/testtools/qa/cliversioning/VersionTestCase.java
@@ -76,7 +76,7 @@ public class VersionTestCase extends ComplexTestCase
*/
class Reader extends Thread
{
- java.io.InputStream is;
+ private java.io.InputStream is;
public Reader(java.io.InputStream stream)
{
is = stream;