docs: 完善文档

This commit is contained in:
2026-04-13 22:27:13 +08:00
parent c6f9cc0a80
commit 0ec65bf39d
3 changed files with 3 additions and 4 deletions

View File

@@ -215,7 +215,6 @@ public class MapModifier<K, V> {
* 修改 {@code map}
*
* @param map 要修改的 {@code map}
* @return 修改后的 {@code map}。当入参是 {@code null} 时,返回 {@code null}。
*/
public <T extends Map<K, V>> void modify(@Nullable T map) {
if (map != null) {

View File

@@ -30,7 +30,7 @@ import xyz.zhouxy.plusone.commons.exception.system.NoAvailableMacFoundException;
* 修改版雪花 ID 生成器
*
* <p>
* 来自 Seata (https://seata.apache.org) 的 {@code org.apache.seata.common.util.IdWorker}
* 来自 <a href="https://seata.apache.org">Seata</a> 的 {@code org.apache.seata.common.util.IdWorker}
*
* <p>
* 大体思路为:
@@ -183,7 +183,7 @@ public class IdWorker {
/**
* use lowest 10 bit of available MAC as workerId
* @return workerId
* @throws SocketException
* @throws SocketException if an I/O error occurs.
* @throws NoAvailableMacFoundException when there is no available mac found
*/
private static long generateWorkerIdBaseOnMac() throws SocketException, NoAvailableMacFoundException {

View File

@@ -197,7 +197,7 @@ public class JodaTimeTools {
*
* @param instant joda-time 中的时间戳
* @param dateTimeZone joda-time 中的时区
* @return
* @return java.time 中带时区的日期时间
*/
public static java.time.ZonedDateTime toZonedDateTime(
org.joda.time.Instant instant,