修复MailAccount.setAuth参数与field不一致问题(issue#4217@Github)

This commit is contained in:
Looly
2026-01-20 11:26:22 +08:00
parent 80fe1c8877
commit 7d289f0c5e
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
# 🚀Changelog
-------------------------------------------------------------------------------------------------------------
# 5.8.44(2026-01-18)
# 5.8.44(2026-01-20)
### 🐣新特性
* 【core 】 `NumberUtil.parseNumber`增加支持科学计数法pr#4211@Github
* 【captcha】 `AbstractCaptcha`增加`setStroke`方法支持线条粗细issue#IDJQ15@Gitee
@@ -9,6 +9,7 @@
### 🐞Bug修复
* 【json 】 修复`JSONUtil.wrap`忽略错误问题issue#4210@Github
* 【http 】 修复`HttpUtil.normalizeParams `在极端输入下抛 StringIndexOutOfBoundsExceptionpr#4216@Github
* 【extra 】 修复`MailAccount.setAuth`参数与field不一致问题issue#4217@Github
-------------------------------------------------------------------------------------------------------------
# 5.8.43(2026-01-04)

View File

@@ -224,7 +224,7 @@ public class MailAccount implements Serializable {
* @param isAuth 是否需要用户名密码验证
* @return this
*/
public MailAccount setAuth(boolean isAuth) {
public MailAccount setAuth(Boolean isAuth) {
this.auth = isAuth;
return this;
}