Use replace because it is not a regex

This commit is contained in:
tastybento 2020-09-12 15:47:40 -07:00
parent 0b042aa1fc
commit 78876926ba

View File

@ -83,7 +83,7 @@ public class SQLConfiguration {
}
public SQLConfiguration renameTable(String string) {
this.renameTableSQL = string.replaceAll(TABLE_NAME, tableName).replaceAll("\\[oldTableName\\]", oldTableName);
this.renameTableSQL = string.replace(TABLE_NAME, tableName).replace("\\[oldTableName\\]", oldTableName);
return this;
}