summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/util/XMLTools.java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-08 11:15:15 +0200
committerNoel Grandin <noel@peralex.com>2014-08-13 08:49:22 +0200
commit14d1a11ec4a7ed0deeac522403248536e8d23f57 (patch)
tree6a976bf53992c68a46472199e5fb494339899ae6 /qadevOOo/runner/util/XMLTools.java
parentcd0bbdaf379d646c94e6771f3358d7e3a8f206ad (diff)
java: reduce scope, make constructors private
found by UCDetector Change-Id: If05277fd2fe77ceabb4c7c87aeb8569e3406102d
Diffstat (limited to 'qadevOOo/runner/util/XMLTools.java')
-rw-r--r--qadevOOo/runner/util/XMLTools.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/qadevOOo/runner/util/XMLTools.java b/qadevOOo/runner/util/XMLTools.java
index 2ee99cbe4843..7516d4b8c895 100644
--- a/qadevOOo/runner/util/XMLTools.java
+++ b/qadevOOo/runner/util/XMLTools.java
@@ -75,7 +75,7 @@ public class XMLTools {
this.log = log ;
}
- public AttributeList(XAttributeList list) {
+ private AttributeList(XAttributeList list) {
if (list == null) return ;
for (short i = 0; i < list.getLength(); i++) {
add(list.getNameByIndex(i), list.getTypeByIndex(i),
@@ -178,7 +178,7 @@ public class XMLTools {
* Creates a SAX handler which writes all XML data
* handled into a <code>log</code> stream specified.
*/
- public XMLWriter(PrintWriter log) {
+ private XMLWriter(PrintWriter log) {
_log = log ;
}
@@ -260,12 +260,12 @@ public class XMLTools {
protected PrintWriter log = null ;
protected boolean printXMLData = false ;
- public XMLWellFormChecker(PrintWriter log) {
+ private XMLWellFormChecker(PrintWriter log) {
super() ;
this.log = log ;
}
- public XMLWellFormChecker(PrintWriter log_, boolean printXMLData) {
+ private XMLWellFormChecker(PrintWriter log_, boolean printXMLData) {
super(printXMLData ? log_ : null) ;
this.printXMLData = printXMLData ;
this.log = log_ ;