mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 23:22:02 +01:00
Small corrections
Signed-off-by: Gaël L'hopital <gael@lhopital.org>
This commit is contained in:
parent
675c5fded8
commit
d124f52a4b
@ -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();
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user