From 47f1171afc7c53cc5c9d22e0ed6829c235277bb9 Mon Sep 17 00:00:00 2001 From: noear Date: Tue, 24 Dec 2024 05:00:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E6=B3=A8=E5=85=A5=E5=99=A8?= =?UTF-8?q?=20InjectGather:isMethod=20=E6=9D=A1=E4=BB=B6=EF=BC=88=E4=BB=85?= =?UTF-8?q?=E6=96=B9=E6=B3=95=EF=BC=8C=E4=B9=8B=E5=89=8D=E6=9E=84=E9=80=A0?= =?UTF-8?q?=E4=B9=9F=E7=AE=97=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- solon/src/main/java/org/noear/solon/core/InjectGather.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solon/src/main/java/org/noear/solon/core/InjectGather.java b/solon/src/main/java/org/noear/solon/core/InjectGather.java index bac1472c0e..9483d9e46f 100644 --- a/solon/src/main/java/org/noear/solon/core/InjectGather.java +++ b/solon/src/main/java/org/noear/solon/core/InjectGather.java @@ -61,7 +61,7 @@ public boolean isDone() { } public boolean isMethod() { - return label > 0; + return label == 1; } public Class getOutType() {