summaryrefslogtreecommitdiffstats
path: root/sw
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 /sw
parentDeteremine the script type of source cell during paste replication. (diff)
downloadcore-7557f23b31dcfb4d86c122bb34d9675c0db9a694.tar.gz
core-7557f23b31dcfb4d86c122bb34d9675c0db9a694.zip
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.java6
-rw-r--r--sw/qa/complex/writer/TextPortionEnumerationTest.java2
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();