diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-08 12:44:57 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 08:49:23 +0200 |
commit | 68cd011c907d00493bf2bfde531c1e244819596b (patch) | |
tree | 0225318c908b00faaa701a19aaf7aa567c3582a0 /forms/qa/org | |
parent | 70f56bc22fe952c75ec714e05e1bb5296491a36a (diff) |
java: reduce scope, make some methods private
found by UCDetector
Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e
Diffstat (limited to 'forms/qa/org')
-rw-r--r-- | forms/qa/org/openoffice/xforms/Instance.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/qa/org/openoffice/xforms/Instance.java b/forms/qa/org/openoffice/xforms/Instance.java index e1e9bd809418..e9614bb5c0e7 100644 --- a/forms/qa/org/openoffice/xforms/Instance.java +++ b/forms/qa/org/openoffice/xforms/Instance.java @@ -73,7 +73,7 @@ public class Instance * @return * the node of the newly created element */ - public XNode createElement( XNode _parentElement, String _elementName, String _initialNodeValue ) throws DOMException + private XNode createElement( XNode _parentElement, String _elementName, String _initialNodeValue ) throws DOMException { XNode node = _parentElement.appendChild( m_model.getUIHelper().createElement( _parentElement, _elementName ) @@ -100,7 +100,7 @@ public class Instance * @param _elementName * the name of the to-be-removed child */ - public XNode removeNode( XNode _parentElement, String _elementName ) throws DOMException + private XNode removeNode( XNode _parentElement, String _elementName ) throws DOMException { XNodeList nodes = _parentElement.getChildNodes(); for ( int i=0; i<nodes.getLength(); ++i ) |