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

View File

@@ -30,7 +30,7 @@ import xyz.zhouxy.plusone.commons.exception.system.NoAvailableMacFoundException;
* 修改版雪花 ID 生成器 * 修改版雪花 ID 生成器
* *
* <p> * <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> * <p>
* 大体思路为: * 大体思路为:
@@ -183,7 +183,7 @@ public class IdWorker {
/** /**
* use lowest 10 bit of available MAC as workerId * use lowest 10 bit of available MAC as workerId
* @return workerId * @return workerId
* @throws SocketException * @throws SocketException if an I/O error occurs.
* @throws NoAvailableMacFoundException when there is no available mac found * @throws NoAvailableMacFoundException when there is no available mac found
*/ */
private static long generateWorkerIdBaseOnMac() throws SocketException, NoAvailableMacFoundException { private static long generateWorkerIdBaseOnMac() throws SocketException, NoAvailableMacFoundException {

View File

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