diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-08 11:15:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 08:49:22 +0200 |
commit | 14d1a11ec4a7ed0deeac522403248536e8d23f57 (patch) | |
tree | 6a976bf53992c68a46472199e5fb494339899ae6 /xmerge | |
parent | cd0bbdaf379d646c94e6771f3358d7e3a8f206ad (diff) |
java: reduce scope, make constructors private
found by UCDetector
Change-Id: If05277fd2fe77ceabb4c7c87aeb8569e3406102d
Diffstat (limited to 'xmerge')
-rw-r--r-- | xmerge/source/xmerge/java/org/openoffice/xmerge/converter/dom/DOMDocument.java | 2 | ||||
-rw-r--r-- | xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/ColumnRowInfo.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/dom/DOMDocument.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/dom/DOMDocument.java index 3cb80341ac7e..d9b4c46047c6 100644 --- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/dom/DOMDocument.java +++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/dom/DOMDocument.java @@ -91,7 +91,7 @@ public class DOMDocument * @param namespaceAware Value for <code>namespaceAware</code> flag. * @param validating Value for <code>validating</code> flag. */ - public DOMDocument(String name, String ext,boolean namespaceAware, boolean validating) { + private DOMDocument(String name, String ext,boolean namespaceAware, boolean validating) { factory.setValidating(validating); factory.setNamespaceAware(namespaceAware); diff --git a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/ColumnRowInfo.java b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/ColumnRowInfo.java index b02efb6b7835..2577096ce038 100644 --- a/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/ColumnRowInfo.java +++ b/xmerge/source/xmerge/java/org/openoffice/xmerge/converter/xml/sxc/ColumnRowInfo.java @@ -54,7 +54,7 @@ public class ColumnRowInfo { * @param repeated how many times it is repeated. * @param type whether ROW or COLUMN record. */ - public ColumnRowInfo(int dimension, int repeated, int type) { + private ColumnRowInfo(int dimension, int repeated, int type) { this.dimension = dimension; this.repeated = repeated; |