From 87c9d157515d09107350de39ac1a1b4db34543db Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Sun, 7 Apr 2024 16:26:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20Javadoc=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zhouxy/plusone/commons/annotation/StaticFactoryMethod.java | 2 +- .../java/xyz/zhouxy/plusone/commons/annotation/ValueObject.java | 2 +- .../java/xyz/zhouxy/plusone/commons/annotation/Virtual.java | 2 +- src/main/java/xyz/zhouxy/plusone/commons/base/IWithCode.java | 2 +- src/main/java/xyz/zhouxy/plusone/commons/base/IWithIntCode.java | 2 +- .../java/xyz/zhouxy/plusone/commons/base/IWithLongCode.java | 2 +- .../zhouxy/plusone/commons/collection/ReadWriteLockedTable.java | 2 +- .../java/xyz/zhouxy/plusone/commons/constant/PatternConsts.java | 2 +- .../java/xyz/zhouxy/plusone/commons/constant/RegexConsts.java | 2 +- .../zhouxy/plusone/commons/domain/ValidatableStringRecord.java | 2 +- .../xyz/zhouxy/plusone/commons/exception/BaseException.java | 2 +- .../zhouxy/plusone/commons/exception/BaseRuntimeException.java | 2 +- .../plusone/commons/function/DoubleToOptionalFunction.java | 2 +- .../zhouxy/plusone/commons/function/IntToOptionalFunction.java | 2 +- .../zhouxy/plusone/commons/function/LongToOptionalFunction.java | 2 +- .../zhouxy/plusone/commons/function/OptionalDoubleSupplier.java | 2 +- .../zhouxy/plusone/commons/function/OptionalIntSupplier.java | 2 +- .../zhouxy/plusone/commons/function/OptionalLongSupplier.java | 2 +- .../xyz/zhouxy/plusone/commons/function/OptionalSupplier.java | 2 +- .../xyz/zhouxy/plusone/commons/function/PredicateTools.java | 2 +- .../zhouxy/plusone/commons/function/ToOptionalBiFunction.java | 2 +- .../plusone/commons/function/ToOptionalDoubleFunction.java | 2 +- .../xyz/zhouxy/plusone/commons/function/ToOptionalFunction.java | 2 +- .../zhouxy/plusone/commons/function/ToOptionalIntFunction.java | 2 +- .../zhouxy/plusone/commons/function/ToOptionalLongFunction.java | 2 +- src/main/java/xyz/zhouxy/plusone/commons/util/EnumTools.java | 2 +- src/main/java/xyz/zhouxy/plusone/commons/util/Numbers.java | 2 +- .../java/xyz/zhouxy/plusone/commons/util/OptionalTools.java | 2 +- src/main/java/xyz/zhouxy/plusone/commons/util/PageDTO.java | 2 +- .../java/xyz/zhouxy/plusone/commons/util/RestfulResult.java | 2 +- 30 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/main/java/xyz/zhouxy/plusone/commons/annotation/StaticFactoryMethod.java b/src/main/java/xyz/zhouxy/plusone/commons/annotation/StaticFactoryMethod.java index 50ab70d..b053c4f 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/annotation/StaticFactoryMethod.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/annotation/StaticFactoryMethod.java @@ -26,7 +26,7 @@ import java.lang.annotation.Target; * *

标识方法为静态工厂方法 * - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 */ @Target(ElementType.METHOD) diff --git a/src/main/java/xyz/zhouxy/plusone/commons/annotation/ValueObject.java b/src/main/java/xyz/zhouxy/plusone/commons/annotation/ValueObject.java index b719c60..9768e0e 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/annotation/ValueObject.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/annotation/ValueObject.java @@ -25,7 +25,7 @@ import java.lang.annotation.Target; /** * ValueObject - 值对象 * - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 */ @Inherited diff --git a/src/main/java/xyz/zhouxy/plusone/commons/annotation/Virtual.java b/src/main/java/xyz/zhouxy/plusone/commons/annotation/Virtual.java index ff418bd..3df0a5f 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/annotation/Virtual.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/annotation/Virtual.java @@ -25,7 +25,7 @@ import java.lang.annotation.Target; * 标识该方法是可虚方法。 *

该注解用于提醒、强调父类虽然有默认实现,但子类可以根据自己的需要覆写。

* - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 */ @Target(ElementType.METHOD) diff --git a/src/main/java/xyz/zhouxy/plusone/commons/base/IWithCode.java b/src/main/java/xyz/zhouxy/plusone/commons/base/IWithCode.java index 508e27b..6dc50dc 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/base/IWithCode.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/base/IWithCode.java @@ -25,7 +25,7 @@ import javax.annotation.Nonnull; * 用于像自定义异常等需要带有 {@code code} 字段的类, * 方便其它地方的程序判断该类的是否实现了此接口,以此获取其实例的 {@code code} 字段的值。 * - * @author ZhouXY + * @author ZhouXY */ public interface IWithCode { @Nonnull diff --git a/src/main/java/xyz/zhouxy/plusone/commons/base/IWithIntCode.java b/src/main/java/xyz/zhouxy/plusone/commons/base/IWithIntCode.java index 0085bea..024b065 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/base/IWithIntCode.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/base/IWithIntCode.java @@ -21,7 +21,7 @@ package xyz.zhouxy.plusone.commons.base; * 用于像自定义异常等需要带有 {@code code} 字段的类, * 方便其它地方的程序判断该类的是否实现了此接口,以此获取其实例的 {@code code} 字段的值。 * - * @author ZhouXY + * @author ZhouXY */ public interface IWithIntCode { int getCode(); diff --git a/src/main/java/xyz/zhouxy/plusone/commons/base/IWithLongCode.java b/src/main/java/xyz/zhouxy/plusone/commons/base/IWithLongCode.java index 3859d61..d772abb 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/base/IWithLongCode.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/base/IWithLongCode.java @@ -21,7 +21,7 @@ package xyz.zhouxy.plusone.commons.base; * 用于像自定义异常等需要带有 {@code code} 字段的类, * 方便其它地方的程序判断该类的是否实现了此接口,以此获取其实例的 {@code code} 字段的值。 * - * @author ZhouXY + * @author ZhouXY */ public interface IWithLongCode { long getCode(); diff --git a/src/main/java/xyz/zhouxy/plusone/commons/collection/ReadWriteLockedTable.java b/src/main/java/xyz/zhouxy/plusone/commons/collection/ReadWriteLockedTable.java index 240ce52..bf2aeab 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/collection/ReadWriteLockedTable.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/collection/ReadWriteLockedTable.java @@ -30,7 +30,7 @@ import java.util.concurrent.locks.ReentrantReadWriteLock; * NOTE: 如果 {@link Table} 不需要更改,请使用 {@link ImmutableTable} *

* - * @author ZhouXY + * @author ZhouXY * @see Table * @see ImmutableTable * @see ReentrantReadWriteLock diff --git a/src/main/java/xyz/zhouxy/plusone/commons/constant/PatternConsts.java b/src/main/java/xyz/zhouxy/plusone/commons/constant/PatternConsts.java index 9c09f6f..5687538 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/constant/PatternConsts.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/constant/PatternConsts.java @@ -21,7 +21,7 @@ import java.util.regex.Pattern; /** * 正则表达式常量 * - * @author ZhouXY + * @author ZhouXY */ public final class PatternConsts { diff --git a/src/main/java/xyz/zhouxy/plusone/commons/constant/RegexConsts.java b/src/main/java/xyz/zhouxy/plusone/commons/constant/RegexConsts.java index 2601c2a..7b5f637 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/constant/RegexConsts.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/constant/RegexConsts.java @@ -19,7 +19,7 @@ package xyz.zhouxy.plusone.commons.constant; /** * 正则表达式常量 * - * @author ZhouXY + * @author ZhouXY */ public final class RegexConsts { diff --git a/src/main/java/xyz/zhouxy/plusone/commons/domain/ValidatableStringRecord.java b/src/main/java/xyz/zhouxy/plusone/commons/domain/ValidatableStringRecord.java index a4d6b7c..794861e 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/domain/ValidatableStringRecord.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/domain/ValidatableStringRecord.java @@ -28,7 +28,7 @@ import xyz.zhouxy.plusone.commons.util.RegexTools; /** * 带校验的字符串值对象 * - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 */ public abstract class ValidatableStringRecord diff --git a/src/main/java/xyz/zhouxy/plusone/commons/exception/BaseException.java b/src/main/java/xyz/zhouxy/plusone/commons/exception/BaseException.java index 7e15ed4..f09195f 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/exception/BaseException.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/exception/BaseException.java @@ -24,7 +24,7 @@ import java.util.Objects; /** * 带错误码的异常。 * - * @author ZhouXY + * @author ZhouXY */ public abstract class BaseException extends Exception diff --git a/src/main/java/xyz/zhouxy/plusone/commons/exception/BaseRuntimeException.java b/src/main/java/xyz/zhouxy/plusone/commons/exception/BaseRuntimeException.java index 3212d6a..61fae62 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/exception/BaseRuntimeException.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/exception/BaseRuntimeException.java @@ -24,7 +24,7 @@ import java.util.Objects; /** * 带错误码的异常。 * - * @author ZhouXY + * @author ZhouXY */ public abstract class BaseRuntimeException extends RuntimeException diff --git a/src/main/java/xyz/zhouxy/plusone/commons/function/DoubleToOptionalFunction.java b/src/main/java/xyz/zhouxy/plusone/commons/function/DoubleToOptionalFunction.java index 3b3cbcd..83bcd82 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/function/DoubleToOptionalFunction.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/function/DoubleToOptionalFunction.java @@ -25,7 +25,7 @@ import java.util.function.DoubleFunction; *

* 接受类型为 double 的参数,返回 {@code Optional<R>} 对象。 * - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 * @see Optional * @see DoubleFunction diff --git a/src/main/java/xyz/zhouxy/plusone/commons/function/IntToOptionalFunction.java b/src/main/java/xyz/zhouxy/plusone/commons/function/IntToOptionalFunction.java index 069d2ee..25dabb3 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/function/IntToOptionalFunction.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/function/IntToOptionalFunction.java @@ -25,7 +25,7 @@ import java.util.function.IntFunction; *

* 接受类型为 int 的参数,返回 {@code Optional<R>} 对象。 * - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 * @see Optional * @see IntFunction diff --git a/src/main/java/xyz/zhouxy/plusone/commons/function/LongToOptionalFunction.java b/src/main/java/xyz/zhouxy/plusone/commons/function/LongToOptionalFunction.java index 820bf82..2878615 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/function/LongToOptionalFunction.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/function/LongToOptionalFunction.java @@ -25,7 +25,7 @@ import java.util.function.LongFunction; *

* 接受类型为 long 的参数,返回 {@code Optional<R>} 对象。 * - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 * @see Optional * @see LongFunction diff --git a/src/main/java/xyz/zhouxy/plusone/commons/function/OptionalDoubleSupplier.java b/src/main/java/xyz/zhouxy/plusone/commons/function/OptionalDoubleSupplier.java index be0c4a2..7bb6ce8 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/function/OptionalDoubleSupplier.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/function/OptionalDoubleSupplier.java @@ -25,7 +25,7 @@ import java.util.function.Supplier; *

* 返回 {@link OptionalDouble} 对象。 * - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 * @see OptionalDouble * @see Supplier diff --git a/src/main/java/xyz/zhouxy/plusone/commons/function/OptionalIntSupplier.java b/src/main/java/xyz/zhouxy/plusone/commons/function/OptionalIntSupplier.java index 4e8a524..0fbaec5 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/function/OptionalIntSupplier.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/function/OptionalIntSupplier.java @@ -25,7 +25,7 @@ import java.util.function.Supplier; *

* 返回 {@link OptionalInt} 对象。 * - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 * @see OptionalInt * @see Supplier diff --git a/src/main/java/xyz/zhouxy/plusone/commons/function/OptionalLongSupplier.java b/src/main/java/xyz/zhouxy/plusone/commons/function/OptionalLongSupplier.java index cdd36be..18df8b3 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/function/OptionalLongSupplier.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/function/OptionalLongSupplier.java @@ -25,7 +25,7 @@ import java.util.function.Supplier; *

* 返回 {@link OptionalLong} 对象。 * - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 * @see OptionalLong * @see Supplier diff --git a/src/main/java/xyz/zhouxy/plusone/commons/function/OptionalSupplier.java b/src/main/java/xyz/zhouxy/plusone/commons/function/OptionalSupplier.java index 5b38e17..8d243c0 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/function/OptionalSupplier.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/function/OptionalSupplier.java @@ -25,7 +25,7 @@ import java.util.function.Supplier; *

* 返回 {@code Optional<T>} 对象。 * - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 * @see Optional * @see Supplier diff --git a/src/main/java/xyz/zhouxy/plusone/commons/function/PredicateTools.java b/src/main/java/xyz/zhouxy/plusone/commons/function/PredicateTools.java index f28c770..714af1c 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/function/PredicateTools.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/function/PredicateTools.java @@ -25,7 +25,7 @@ import java.util.function.Predicate; * {@link Predicate} 相关操作。 *

* - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 * @see Predicate */ diff --git a/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalBiFunction.java b/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalBiFunction.java index f225869..f4d9336 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalBiFunction.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalBiFunction.java @@ -25,7 +25,7 @@ import java.util.function.BiFunction; *

* 接受类型为 T 和 U 的两个参数,返回 {@code Optional<R>} 对象。 * - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 * @see Optional * @see BiFunction diff --git a/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalDoubleFunction.java b/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalDoubleFunction.java index dd3fe9a..f6831a1 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalDoubleFunction.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalDoubleFunction.java @@ -25,7 +25,7 @@ import java.util.function.Function; *

* 接受类型为 T 的参数,返回 {@link OptionalDouble} 对象。 * - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 * @see OptionalDouble * @see Function diff --git a/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalFunction.java b/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalFunction.java index 7a97ab7..788b229 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalFunction.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalFunction.java @@ -25,7 +25,7 @@ import java.util.function.Function; *

* 接受类型为 T 的参数,返回 {@code Optional<R>} 对象。 * - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 * @see Optional * @see Function diff --git a/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalIntFunction.java b/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalIntFunction.java index 9418231..efa4b4e 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalIntFunction.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalIntFunction.java @@ -25,7 +25,7 @@ import java.util.function.Function; *

* 接受类型为 T 的参数,返回 {@link OptionalInt} 对象。 * - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 * @see OptionalInt * @see Function diff --git a/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalLongFunction.java b/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalLongFunction.java index da5fbce..901042a 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalLongFunction.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/function/ToOptionalLongFunction.java @@ -25,7 +25,7 @@ import java.util.function.Function; *

* 接受类型为 T 的参数,返回 {@link OptionalLong} 对象。 * - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 * @see OptionalLong * @see Function diff --git a/src/main/java/xyz/zhouxy/plusone/commons/util/EnumTools.java b/src/main/java/xyz/zhouxy/plusone/commons/util/EnumTools.java index c292049..9aa9d94 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/util/EnumTools.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/util/EnumTools.java @@ -25,7 +25,7 @@ import com.google.common.base.Preconditions; /** * 枚举工具类 * - * @author ZhouXY + * @author ZhouXY */ public final class EnumTools { diff --git a/src/main/java/xyz/zhouxy/plusone/commons/util/Numbers.java b/src/main/java/xyz/zhouxy/plusone/commons/util/Numbers.java index bdc5590..4cbd3c0 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/util/Numbers.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/util/Numbers.java @@ -19,7 +19,7 @@ package xyz.zhouxy.plusone.commons.util; /** * Numbers * - * @author ZhouXY + * @author ZhouXY */ public class Numbers { diff --git a/src/main/java/xyz/zhouxy/plusone/commons/util/OptionalTools.java b/src/main/java/xyz/zhouxy/plusone/commons/util/OptionalTools.java index c536fbb..8b1fa80 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/util/OptionalTools.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/util/OptionalTools.java @@ -31,7 +31,7 @@ import com.google.common.annotations.Beta; *

* 提供一些 Optional 相关的方法 * - * @author ZhouXY + * @author ZhouXY * @since 0.1.0 * @see Optional * @see OptionalInt diff --git a/src/main/java/xyz/zhouxy/plusone/commons/util/PageDTO.java b/src/main/java/xyz/zhouxy/plusone/commons/util/PageDTO.java index d15e0c1..2cdf287 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/util/PageDTO.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/util/PageDTO.java @@ -27,7 +27,7 @@ import xyz.zhouxy.plusone.commons.annotation.StaticFactoryMethod; * * @param 内容列表的元素类型 * - * @author ZhouXY + * @author ZhouXY * @see PagingAndSortingQueryParams */ public class PageDTO { diff --git a/src/main/java/xyz/zhouxy/plusone/commons/util/RestfulResult.java b/src/main/java/xyz/zhouxy/plusone/commons/util/RestfulResult.java index d517d68..968563c 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/util/RestfulResult.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/util/RestfulResult.java @@ -27,7 +27,7 @@ import com.google.common.base.Preconditions; /** * 对返回给前端的数据进行封装 * - * @author ZhouXY + * @author ZhouXY * @deprecated 已被 {@link UnifiedResponse} 代替。 */ @Deprecated