Improve patch methods.
This commit is contained in:
parent
b3b5a7f1bb
commit
9cb34c2ede
1 changed files with 2 additions and 2 deletions
|
@ -2127,7 +2127,7 @@ public class SQLSikevaDB implements SikevaDB {
|
||||||
//
|
//
|
||||||
for (int tokenIndex = 0; tokenIndex < tokens.length; tokenIndex += 2) {
|
for (int tokenIndex = 0; tokenIndex < tokens.length; tokenIndex += 2) {
|
||||||
//
|
//
|
||||||
value = value.replace(tokens[tokenIndex], tokens[tokenIndex + 1]);
|
value = value.replaceAll(tokens[tokenIndex], tokens[tokenIndex + 1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -2161,7 +2161,7 @@ public class SQLSikevaDB implements SikevaDB {
|
||||||
|
|
||||||
//
|
//
|
||||||
for (int tokenIndex = 0; tokenIndex < tokens.length; tokenIndex += 2) {
|
for (int tokenIndex = 0; tokenIndex < tokens.length; tokenIndex += 2) {
|
||||||
value = value.replace(tokens[tokenIndex], tokens[tokenIndex + 1]);
|
value = value.replaceAll(tokens[tokenIndex], tokens[tokenIndex + 1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue