* [ 1671816 ] MIssue.create fail for long stack trace

This commit is contained in:
Heng Sin Low 2007-03-01 17:40:30 +00:00
parent f5b9b1ae69
commit cac2d920c3
1 changed files with 4 additions and 2 deletions

View File

@ -246,8 +246,10 @@ public abstract class Convert
String group = m.group(); // SQL string
if (group.indexOf('/') != -1) // / in string
group = group.replace('/', MASK);
if (group.indexOf('$') != -1) // Group character needs to be escaped
group = Util.replace(group, "$", "\\$");
//[ 1671816 ] MIssue.create fail for long stack trace
//the following 2 line change the length of the string literal
// if (group.indexOf('$') != -1) // Group character needs to be escaped
// group = Util.replace(group, "$", "\\$");
//hengsin, [ 1662983 ] Convert cutting backslash from string
m.appendReplacement(masked, Matcher.quoteReplacement(group));
}