Small corrections

Signed-off-by: Gaël L'hopital <gael@lhopital.org>
This commit is contained in:
Gaël L'hopital 2024-11-28 14:40:28 +01:00
parent 675c5fded8
commit d124f52a4b
2 changed files with 1 additions and 2 deletions

View File

@ -142,7 +142,6 @@ public class SMTPHandler extends BaseThingHandler {
// fix command map not available
DataHandler dataHandler = mail.getMimeMessage().getDataHandler();
dataHandler.setCommandMap(commandMap);
try {
DataSource dataSource = dataHandler.getDataSource();

View File

@ -24,7 +24,7 @@ import org.openhab.binding.mail.internal.ServerSecurity;
@NonNullByDefault
public class BaseConfig {
public @Nullable String hostname;
public Integer port = 0;
public int port = 0;
public String username = "";
public String password = "";
public ServerSecurity security = ServerSecurity.PLAIN;