From 9cb34c2ede109b53a9d3157569e887ae784738f8 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Wed, 11 Dec 2013 17:57:48 +0100 Subject: [PATCH] Improve patch methods. --- src/fr/devinsy/sikevadb/SQLSikevaDB.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fr/devinsy/sikevadb/SQLSikevaDB.java b/src/fr/devinsy/sikevadb/SQLSikevaDB.java index 6a9279d..af84cae 100644 --- a/src/fr/devinsy/sikevadb/SQLSikevaDB.java +++ b/src/fr/devinsy/sikevadb/SQLSikevaDB.java @@ -2127,7 +2127,7 @@ public class SQLSikevaDB implements SikevaDB { // 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) { - value = value.replace(tokens[tokenIndex], tokens[tokenIndex + 1]); + value = value.replaceAll(tokens[tokenIndex], tokens[tokenIndex + 1]); } //