diff options
author | Noel Grandin <noel@peralex.com> | 2014-12-10 15:36:24 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-12-11 06:09:03 +0000 |
commit | 7557f23b31dcfb4d86c122bb34d9675c0db9a694 (patch) | |
tree | 5feb7be2b0841d8ee60d935cf2e29e9a01a31a27 /toolkit/test/accessibility/MessageArea.java | |
parent | 808fd5fbd8868dfd95c8a38676815798fa2b79c4 (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 'toolkit/test/accessibility/MessageArea.java')
-rw-r--r-- | toolkit/test/accessibility/MessageArea.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/test/accessibility/MessageArea.java b/toolkit/test/accessibility/MessageArea.java index 1b83d567c77c..8ee0b98e6ccc 100644 --- a/toolkit/test/accessibility/MessageArea.java +++ b/toolkit/test/accessibility/MessageArea.java @@ -74,7 +74,7 @@ public class MessageArea /** Show the given string at the end of the message area and scroll to make it visible. Indent the string as requested. */ - public static synchronized void print (int nIndentation, String aMessage) + private static synchronized void print (int nIndentation, String aMessage) { while (nIndentation-- > 0) { aMessage = " " + aMessage; @@ -99,7 +99,7 @@ public class MessageArea /** Show the given string at the end of the message area and scroll to make it visible. */ - public static void println (int nIndentation, String aMessage) + private static void println (int nIndentation, String aMessage) { print (nIndentation, aMessage+"\n"); } |