Skip to main content
summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorBrian Vosburgh2012-09-24 16:58:36 -0400
committerBrian Vosburgh2012-09-24 17:40:58 -0400
commit2d22b5bd104e6e6951d9fd0129117ceff9f22ef2 (patch)
tree03afb622e23f13aa2814c4f8119b8f1af4a06f1f /common
parent93ea11f7623b388b2c1149b7ff66b6e10fb57c1a (diff)
downloadwebtools.dali-2d22b5bd104e6e6951d9fd0129117ceff9f22ef2.tar.gz
webtools.dali-2d22b5bd104e6e6951d9fd0129117ceff9f22ef2.tar.xz
webtools.dali-2d22b5bd104e6e6951d9fd0129117ceff9f22ef2.zip
minor fix for empty XML element string
Diffstat (limited to 'common')
-rw-r--r--common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/StringTools.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/StringTools.java b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/StringTools.java
index affdf300e7..ae24942b5c 100644
--- a/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/StringTools.java
+++ b/common/plugins/org.eclipse.jpt.common.utility/src/org/eclipse/jpt/common/utility/internal/StringTools.java
@@ -5194,7 +5194,7 @@ public final class StringTools {
public static String convertToXmlElementStringLiteral(String string) {
int len = string.length();
if (len == 0) {
- return EMPTY_JAVA_STRING_LITERAL;
+ return EMPTY_STRING;
}
StringBuilder sb = new StringBuilder(len + 5);
convertToXmlElementStringLiteralOn_(string.toCharArray(), sb, len);

Back to the top