You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stringresult1 = StrFormatter.format("this is {} for {}", "a", "b");
Stringresult2 = StrFormatter.format("当{}天内没有完成守护任务,系统会自动为对方送出{} * 1,维持守护关系生效","1", "2");
System.out.println(result1);
System.out.println(result2);
// result 1 : this is a for b// result 2 : 当1天内没有完成守护任务,系统会自动为对方送出{} * 1,维持守护关系生效
result2 的参数2未正确替换。
The text was updated successfully, but these errors were encountered:
版本情况
JDK版本: openjdk_11
hutool版本: 5.8.23(请确保最新尝试是否还有问题)
问题描述(包括截图)
result2 的参数2未正确替换。
The text was updated successfully, but these errors were encountered: