From c216c00d987f967eef5404f3ecd0170a931a99d6 Mon Sep 17 00:00:00 2001 From: ZhouXY108 Date: Tue, 4 Jul 2023 10:59:16 +0800 Subject: [PATCH] =?UTF-8?q?StaticFactoryMethod=20=E7=9A=84=20value=20?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E4=B8=BA=E7=A9=BA=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 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 137ea03..50ab70d 100644 --- a/src/main/java/xyz/zhouxy/plusone/commons/annotation/StaticFactoryMethod.java +++ b/src/main/java/xyz/zhouxy/plusone/commons/annotation/StaticFactoryMethod.java @@ -32,5 +32,5 @@ import java.lang.annotation.Target; @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface StaticFactoryMethod { - Class value(); + Class value() default void.class; }