Commit Graph

21 Commits

Author SHA1 Message Date
45dc105dd0 fix: 修复 JDK17+ 环境下测试用例 PagingAndSortingQueryParamsTests#testGson 不通过的问题
该用例在 JDK17+ 环境下使用 gson 进行序列化时,报 `com.google.gson.JsonIOException: Failed making field 'java.time.LocalDateTime#date' accessible; either increase its visibility or write a custom TypeAdapter for its declaring type`。

See: https://github.com/google/gson/blob/main/Troubleshooting.md#reflection-inaccessible
2025-04-16 14:52:16 +08:00
a05fc6cfe1 style: 格式化代码 2025-04-09 21:44:59 +08:00
4b9c0de860 chore: update copyright info (#42)
Reviewed-on: http://zhouxy.xyz:3000/plusone/plusone-commons/pulls/42
Co-authored-by: ZhouXY108 <luquanlion@outlook.com>
Co-committed-by: ZhouXY108 <luquanlion@outlook.com>
2025-04-09 18:16:55 +08:00
05c30109ec chore: 抑制测试代码的一些警告 2025-04-09 18:16:54 +08:00
ff3f80a447 更改 copyright。 2025-02-20 23:05:27 +08:00
faab942e13 新增 UnifiedResponse 工厂 UnifiedResponses。 2025-02-20 20:26:21 +08:00
ac0f73f7f0 UnifiedResponse 的 status 修改为 code,类型为 String;构建 error 时必须传 code。 2025-01-10 16:00:37 +08:00
25161044e9 完成分页查询参数的单元测试 2025-01-01 20:37:21 +08:00
ab2fc54162 完成 UnifiedResponse 单元测试;新增 PageResult#empty,修改 PageResult#toString。 2024-12-29 22:25:11 +08:00
d72a5d3255 Chinese2ndGenIDCardNumber 继承自 ValidatableStringRecord;测试 ValidatableStringRecord。 2024-12-29 22:25:11 +08:00
76f612f2cc 完成身份证号的单元测试 2024-12-29 22:25:11 +08:00
ef35833dc0 调整测试类所在包 2024-12-24 17:41:22 +08:00
275a156184 新增 UnifiedResponse 的单元测试 2024-12-05 01:45:05 +08:00
cca3c8b1ee 修改身份证号的实现 2024-12-02 18:30:38 +08:00
1c98d05302 修改 Chinese2ndGenIDCardNumber 2024-11-29 18:24:41 +08:00
442374e53b ValidatableStringRecord 暂不支持序列化 2024-10-21 00:35:10 +08:00
be0e21022e 补充、修改 Copyright 2024-10-12 00:57:35 +08:00
ff472384fb 新增 Chinese2ndGenIDCardNumber,由于中国第二代居民身份证号 2024-10-12 00:23:03 +08:00
a59cadc537 测试 diff 2024-08-26 18:26:45 +08:00
91c30412de 完善单元测试。 2024-08-20 00:42:38 +08:00
516c9d9d79 修改类名,调整包结构。 2024-08-19 18:31:56 +08:00