diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-12 15:27:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-19 14:57:18 +0200 |
commit | 4b4bff34027cca49fd13e82d33d1b399848838fa (patch) | |
tree | 361bde1ae9cf88160694bec9d5f3c1893d398f66 /forms/qa/org | |
parent | java: use 'Byte.valueOf' instead of 'new Byte' (diff) | |
download | core-4b4bff34027cca49fd13e82d33d1b399848838fa.tar.gz core-4b4bff34027cca49fd13e82d33d1b399848838fa.zip |
java: no need to instantiate String objects directly
Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03
Diffstat (limited to 'forms/qa/org')
-rw-r--r-- | forms/qa/org/openoffice/xforms/XMLDocument.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/qa/org/openoffice/xforms/XMLDocument.java b/forms/qa/org/openoffice/xforms/XMLDocument.java index 339f14a564e6..0f6b337f76c4 100644 --- a/forms/qa/org/openoffice/xforms/XMLDocument.java +++ b/forms/qa/org/openoffice/xforms/XMLDocument.java @@ -91,7 +91,7 @@ public class XMLDocument extends integration.forms.DocumentHelper newModel.setID(_modelName); XFormsUIHelper1 modelHelper = UnoRuntime.queryInterface( XFormsUIHelper1.class, newModel ); - modelHelper.newInstance( "Instance 1", new String(), true ); + modelHelper.newInstance( "Instance 1", "", true ); newModel.initialize(); m_forms.insertByName(_modelName, newModel); |