Skip to content

Commit

Permalink
SelectOneBuilder 添加builder方法,方便kjs使用
Browse files Browse the repository at this point in the history
  • Loading branch information
DancingSnow0517 committed Apr 28, 2024
1 parent fc65ad2 commit 2acb555
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,13 @@ public SelectOne build() {
outcomes.forEach(selectOne::add);
return selectOne;
}

/**
* 构造 SelectOneBuilder
*
* @return SelectOneBuilder
*/
public static SelectOneBuilder builder() {
return new SelectOneBuilder();
}
}

0 comments on commit 2acb555

Please sign in to comment.