Fix Bug TDI-17958 : the field value always error contains a quotation mark.Empty value insert wrong
http://jira.talendforge.org/browse/TDI-17958 git-svn-id: http://talendforge.org/svn/tos/trunk@74210 f6f1c999-d317-4740-80b0-e6d1abc6f99e
This commit is contained in:
@@ -140,7 +140,7 @@ public class TalendString {
|
||||
StringBuffer sb = new StringBuffer();
|
||||
for (int i = 0; i < padding_chars.length(); i++) {
|
||||
char c = padding_chars.charAt(i);
|
||||
if (!(Character.isLetterOrDigit(c) || c == '_')) {
|
||||
if (!(Character.isLetterOrDigit(c) || c == '_'||Character.isWhitespace(c))) {
|
||||
sb.append(escapeChar);
|
||||
sb.append(c);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user