mirror of
https://gitee.com/dromara/hutool.git
synced 2025-04-05 17:37:59 +08:00
fix
This commit is contained in:
parent
20794884a7
commit
b1b80730e4
@ -50,6 +50,11 @@ public class ValueProviderToBeanCopier<T> extends AbsCopier<ValueProvider<String
|
||||
return;
|
||||
}
|
||||
|
||||
// 无字段内容跳过
|
||||
if(false == source.containsKey(tFieldName)){
|
||||
return;
|
||||
}
|
||||
|
||||
// 检查目标字段可写性
|
||||
if (null == tDesc || false == tDesc.isWritable(this.copyOptions.transientSupport)) {
|
||||
// 字段不可写,跳过之
|
||||
|
@ -1,5 +1,6 @@
|
||||
package cn.hutool.extra.mail;
|
||||
|
||||
import cn.hutool.core.lang.Console;
|
||||
import cn.hutool.core.util.CharsetUtil;
|
||||
import cn.hutool.core.util.ObjectUtil;
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
@ -578,6 +579,7 @@ public class MailAccount implements Serializable {
|
||||
|
||||
// SSL
|
||||
if (null != this.sslEnable && this.sslEnable) {
|
||||
Console.log("{} {}", SOCKET_FACTORY, socketFactoryClass);
|
||||
p.put(SSL_ENABLE, "true");
|
||||
p.put(SOCKET_FACTORY, socketFactoryClass);
|
||||
p.put(SOCKET_FACTORY_FALLBACK, String.valueOf(this.socketFactoryFallback));
|
||||
|
Loading…
Reference in New Issue
Block a user