summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java
index cf59d407bf13..5ffb37d34dcd 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java
@@ -56,11 +56,11 @@ public class XPossibleHyphens_impl implements
//!! none of these cases should ever occur!
//!! values provided only for safety
if (this.aWord == null)
- this.aWord = new String();
+ this.aWord = "";
if (this.aLang == null)
this.aLang = new Locale();
if (this.aHyphWord == null)
- this.aHyphWord = new String();
+ this.aHyphWord = "";
// having no hyphenation positions is OK though.
// still for safety an empty existing array has to be provided.