@@ -769,7 +769,8 @@ public class StringUtils {
if (StringUtils.isBlank(text) || CollectionUtils.isEmpty(varNames)) {
return text;
}
- Pattern pattern = Pattern.compile("\\$\\{([^}]+)\\}");
+ String str = "\\$\\{([^}]+)\\}";
+ Pattern pattern = Pattern.compile(str);
Matcher matcher = pattern.matcher(text);
StringBuilder result = new StringBuilder();
while (matcher.find()) {
@@ -47,6 +47,7 @@ public class Data {
this.page = page;
+ @Override
public String toString() {
return "Data(body=" + this.getBody() + ", page=" + this.getPage() + ")";
@@ -39,6 +39,7 @@ public class Page {
this.pageSize = pageSize;
return "Page(total=" + this.getTotal() + ", page=" + this.getPage() + ", pageSize=" + this.getPageSize() + ")";
@@ -166,6 +166,7 @@ public class Result implements Serializable {
this.data = data;
return "Result(status=" + this.getStatus() + ", msg=" + this.getMsg() + ", data=" + this.getData() + ")";