You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a property is empty in the config is empty but not null, currently this value is being considered, but not parsed to the proper type. This could result in ClassCast exceptions if the target type is not a String. Since empty strings are never meaningful in Simple Java Mail, this should be considered as a null-value.
The result then is either the default value passed as extra argument or null.
The text was updated successfully, but these errors were encountered:
bbottema
changed the title
Empty properties loaded from config should be considered null
Empty properties loaded from config should be considered null
Jan 27, 2017
When a property is empty in the config is empty but not null, currently this value is being considered, but not parsed to the proper type. This could result in ClassCast exceptions if the target type is not a String. Since empty strings are never meaningful in Simple Java Mail, this should be considered as a null-value.
The result then is either the default value passed as extra argument or
null
.The text was updated successfully, but these errors were encountered: