summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/OfficeDev/Linguistic
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/Linguistic')
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java4
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java2
4 files changed, 6 insertions, 6 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java
index 01b9acd7f9c9..f0200973dfdc 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java
@@ -61,11 +61,11 @@ public class XHyphenatedWord_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.aHyphenatedWord == null)
- this.aHyphenatedWord = new String();
+ this.aHyphenatedWord = "";
}
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java
index 0df2eb430b09..9f4cf4d5b4bb 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java
@@ -48,7 +48,7 @@ public class XMeaning_impl implements
//!! none of these cases should ever occur!
//!! values provided only for safety
if (this.aMeaning == null)
- this.aMeaning = new String();
+ this.aMeaning = "";
// a meaning without synonyms may be OK though.
// still for safety an empty existing array has to be provided.
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.
diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java
index ae26a447ce55..aeb0275c978c 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java
@@ -57,7 +57,7 @@ public class XSpellAlternatives_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.aLanguage == null)
this.aLanguage = new Locale();