This commit is contained in:
Looly
2022-09-22 03:33:30 +08:00
parent d959f3a24f
commit ba5f1f5264
40 changed files with 143 additions and 235 deletions

View File

@@ -432,7 +432,7 @@ public final class InternalJSONUtil {
case '\r':
return "\\r";
default:
if (c < StrUtil.C_SPACE || //
if (c < CharUtil.SPACE || //
(c >= '\u0080' && c <= '\u00a0') || //
(c >= '\u2000' && c <= '\u2010') || //
(c >= '\u2028' && c <= '\u202F') || //

View File

@@ -19,7 +19,7 @@ public class JSONStrFormatter {
/**
* 换行符
*/
private static final char NEW_LINE = StrUtil.C_LF;
private static final char NEW_LINE = CharUtil.LF;
/**
* 返回格式化JSON字符串。