fix 修正注释错别字和顺序

This commit is contained in:
zst 2024-12-19 23:47:57 +08:00
parent ea50a57602
commit 564a196f76
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ public class BigNumberSerializer extends NumberSerializer {
@Override
public void serialize(Number value, JsonGenerator gen, SerializerProvider provider) throws IOException {
// 超出范围 序列化字符串
// 超出范围 序列化字符串
if (value.longValue() > MIN_SAFE_INTEGER && value.longValue() < MAX_SAFE_INTEGER) {
super.serialize(value, gen, provider);
} else {

View File

@ -80,12 +80,12 @@ public enum SensitiveStrategy {
FIRST_MASK(DesensitizedUtil::firstMask),
/**
* 清空为null
* 清空为""
*/
CLEAR(s -> DesensitizedUtil.clear()),
/**
* 清空为""
* 清空为null
*/
CLEAR_TO_NULL(s -> DesensitizedUtil.clearToNull());