Skip to content

Commit

Permalink
调整注入器 InjectGather:isMethod 条件(仅方法,之前构造也算)
Browse files Browse the repository at this point in the history
  • Loading branch information
noear committed Dec 23, 2024
1 parent b2932d2 commit 47f1171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solon/src/main/java/org/noear/solon/core/InjectGather.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public boolean isDone() {
}

public boolean isMethod() {
return label > 0;
return label == 1;
}

public Class<?> getOutType() {
Expand Down

0 comments on commit 47f1171

Please sign in to comment.