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 /qadevOOo/tests/java/mod/_xmloff/Impress | |
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 'qadevOOo/tests/java/mod/_xmloff/Impress')
5 files changed, 10 insertions, 10 deletions
diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentExporter.java index ae7572eb0d4b..aca41f9f42af 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLContentExporter.java @@ -175,14 +175,14 @@ public class XMLContentExporter extends TestCase { * to log specified. * @see ifc.document._XFilter */ - protected class FilterChecker extends XMLTools.XMLChecker + private class FilterChecker extends XMLTools.XMLChecker implements ifc.document._XFilter.FilterChecker { /** * Creates a class which will write information * into log specified. */ - public FilterChecker(PrintWriter log) { + private FilterChecker(PrintWriter log) { super(log, true) ; } /** diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLExporter.java index 28c277af29c2..61b1898760ce 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLExporter.java @@ -177,14 +177,14 @@ public class XMLExporter extends TestCase { * to log specified. * @see ifc.document._XFilter */ - protected class FilterChecker extends XMLTools.XMLChecker + private class FilterChecker extends XMLTools.XMLChecker implements ifc.document._XFilter.FilterChecker { /** * Creates a class which will write information * into log specified. */ - public FilterChecker(PrintWriter log) { + private FilterChecker(PrintWriter log) { super(log, true) ; } /** diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaExporter.java index 0d59606af15f..a9894f5f6068 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLMetaExporter.java @@ -173,14 +173,14 @@ public class XMLMetaExporter extends TestCase { * to log specified. * @see ifc.document._XFilter */ - protected class FilterChecker extends XMLTools.XMLChecker + private class FilterChecker extends XMLTools.XMLChecker implements ifc.document._XFilter.FilterChecker { /** * Creates a class which will write information * into log specified. */ - public FilterChecker(PrintWriter log) { + private FilterChecker(PrintWriter log) { super(log, true); } /** diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java index 22769601cc5f..b3a5205e9000 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLSettingsExporter.java @@ -176,14 +176,14 @@ public class XMLSettingsExporter extends TestCase { * to log specified. * @see ifc.document._XFilter */ - protected class FilterChecker extends XMLTools.XMLChecker + private class FilterChecker extends XMLTools.XMLChecker implements ifc.document._XFilter.FilterChecker { /** * Creates a class which will write information * into log specified. */ - public FilterChecker(PrintWriter log) { + private FilterChecker(PrintWriter log) { super(log,false) ; } /** diff --git a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java index 2567b7b2230c..23f8cefed8f7 100644 --- a/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java +++ b/qadevOOo/tests/java/mod/_xmloff/Impress/XMLStylesExporter.java @@ -175,14 +175,14 @@ public class XMLStylesExporter extends TestCase { * to log specified. * @see ifc.document._XFilter */ - protected class FilterChecker extends XMLTools.XMLChecker + private class FilterChecker extends XMLTools.XMLChecker implements ifc.document._XFilter.FilterChecker { /** * Creates a class which will write information * into log specified. */ - public FilterChecker(PrintWriter log) { + private FilterChecker(PrintWriter log) { super(log, false) ; } /** |