diff options
Diffstat (limited to 'qadevOOo/runner/helper/StringHelper.java')
-rw-r--r-- | qadevOOo/runner/helper/StringHelper.java | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/qadevOOo/runner/helper/StringHelper.java b/qadevOOo/runner/helper/StringHelper.java index 3ed630030e76..6308a0a2eacb 100644 --- a/qadevOOo/runner/helper/StringHelper.java +++ b/qadevOOo/runner/helper/StringHelper.java @@ -71,25 +71,7 @@ public class StringHelper return sNewPath; } - public static String doubleQuoteIfNeed(String _sStr) - { - if (_sStr.startsWith("\"") && _sStr.endsWith("\"")) - { - // don't quote twice - return _sStr; - } - if (_sStr.indexOf(" ") == -1) - { - // don't quote, if there is no space in name - return _sStr; - } - if (_sStr.indexOf("%") != -1) - { - return singleQuote(_sStr); - } - return doubleQuote(_sStr); - } /** * Convert a value to a string with a given length, if the len is greater the len of the value string representation |