summaryrefslogtreecommitdiff
path: root/framework
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 /framework
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 'framework')
-rw-r--r--framework/qa/complex/XUserInputInterception/EventTest.java4
-rw-r--r--framework/qa/complex/framework/recovery/RecoveryTools.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/framework/qa/complex/XUserInputInterception/EventTest.java b/framework/qa/complex/XUserInputInterception/EventTest.java
index 2479b3203aee..9737bbe7cc8a 100644
--- a/framework/qa/complex/XUserInputInterception/EventTest.java
+++ b/framework/qa/complex/XUserInputInterception/EventTest.java
@@ -327,7 +327,7 @@ public class EventTest {
* Listener which added and its method must be called
* on <code>keyPressed</code> and <code>keyReleased</code> call.
*/
- public class MyKeyHandler implements XKeyHandler {
+ private class MyKeyHandler implements XKeyHandler {
/**
* This event sets the member <code>m_keyPressed</coed> to
* <code>true</code>
@@ -363,7 +363,7 @@ public class EventTest {
* Listener which added and its method must be called
* on <code>mousePressed</code> and <code>mouseReleased</code> call.
*/
- public class MyMouseClickHandler implements XMouseClickHandler {
+ private class MyMouseClickHandler implements XMouseClickHandler {
/**
* This event sets the member <code>m_mousePressed</coed> to
* <code>true</code>
diff --git a/framework/qa/complex/framework/recovery/RecoveryTools.java b/framework/qa/complex/framework/recovery/RecoveryTools.java
index b476ab09580e..e918055fbfe9 100644
--- a/framework/qa/complex/framework/recovery/RecoveryTools.java
+++ b/framework/qa/complex/framework/recovery/RecoveryTools.java
@@ -162,7 +162,7 @@ public class RecoveryTools {
}
}
- public HashMap<String, String> getRecoveryFiles()
+ private HashMap<String, String> getRecoveryFiles()
throws com.sun.star.io.IOException
{
try{