diff --git a/mica-core/src/main/java/net/dreamlu/mica/core/graalvm/NativeUtil.java b/mica-core/src/main/java/net/dreamlu/mica/core/graalvm/NativeUtil.java index 487d0bfe0..b87357f11 100644 --- a/mica-core/src/main/java/net/dreamlu/mica/core/graalvm/NativeUtil.java +++ b/mica-core/src/main/java/net/dreamlu/mica/core/graalvm/NativeUtil.java @@ -29,6 +29,8 @@ public class NativeUtil { /** * Returns {@code true} if invoked in the context of image building or during image runtime, else {@code false}. + * + * @return boolean */ public static boolean inNativeImage() { return IS_IMAGE_CODE || GENERATED_CLASS_PRESENT; diff --git a/mica-core/src/main/java/net/dreamlu/mica/core/tuple/Pair.java b/mica-core/src/main/java/net/dreamlu/mica/core/tuple/Pair.java index 74e3683c6..6e7af66a2 100644 --- a/mica-core/src/main/java/net/dreamlu/mica/core/tuple/Pair.java +++ b/mica-core/src/main/java/net/dreamlu/mica/core/tuple/Pair.java @@ -25,6 +25,8 @@ /** * tuple Pair * + * @param 泛型 + * @param 泛型 * @author L.cm **/ @Getter @@ -38,6 +40,7 @@ public class Pair { /** * Returns an empty pair. + * @return Pair */ @SuppressWarnings("unchecked") public static Pair empty() { @@ -48,6 +51,9 @@ public static Pair empty() { * Constructs a pair with its left value being {@code left}, or returns an empty pair if * {@code left} is null. * + * @param left left + * @param 泛型 + * @param 泛型 * @return the constructed pair or an empty pair if {@code left} is null. */ public static Pair createLeft(L left) { @@ -62,6 +68,9 @@ public static Pair createLeft(L left) { * Constructs a pair with its right value being {@code right}, or returns an empty pair if * {@code right} is null. * + * @param right right + * @param 泛型 + * @param 泛型 * @return the constructed pair or an empty pair if {@code right} is null. */ public static Pair createRight(R right) { diff --git a/pom.xml b/pom.xml index 7bb690791..adcbaddef 100644 --- a/pom.xml +++ b/pom.xml @@ -40,6 +40,7 @@ 1.6.0 3.10.1 3.4.2 + false 5.3.39 2.7.18