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 /sw | |
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 'sw')
-rw-r--r-- | sw/qa/complex/writer/LoadSaveTest.java | 6 | ||||
-rw-r--r-- | sw/qa/complex/writer/TextPortionEnumerationTest.java | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sw/qa/complex/writer/LoadSaveTest.java b/sw/qa/complex/writer/LoadSaveTest.java index f617a93d8b42..e2ae7ab21b48 100644 --- a/sw/qa/complex/writer/LoadSaveTest.java +++ b/sw/qa/complex/writer/LoadSaveTest.java @@ -148,10 +148,10 @@ public class LoadSaveTest } } - class EventListener implements XDocumentEventListener + private class EventListener implements XDocumentEventListener { - boolean m_isLayoutFinished = false; - boolean IsLayoutFinished() { return m_isLayoutFinished; } + private boolean m_isLayoutFinished = false; + private boolean IsLayoutFinished() { return m_isLayoutFinished; } public void documentEventOccured(DocumentEvent Event) { if ("OnLayoutFinished".equals(Event.EventName)) diff --git a/sw/qa/complex/writer/TextPortionEnumerationTest.java b/sw/qa/complex/writer/TextPortionEnumerationTest.java index ed5885b0a51a..db99d695d35f 100644 --- a/sw/qa/complex/writer/TextPortionEnumerationTest.java +++ b/sw/qa/complex/writer/TextPortionEnumerationTest.java @@ -3365,7 +3365,7 @@ public class TextPortionEnumerationTest assertEquals("gotoEndOfWord(): wrong string", "Text", string); } - abstract class AttachHelper + private abstract class AttachHelper { abstract boolean isAttribute(); abstract TreeNode mkTreeNode(); |