mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Minor refactoring related to wso2/product-iots#1035
This commit is contained in:
parent
5906546dfb
commit
e7b65b0136
@ -62,12 +62,8 @@ public class EmailSenderServiceImpl implements EmailSenderService {
|
||||
}
|
||||
|
||||
private boolean isMailServerConfigured() {
|
||||
if(EmailSenderDataHolder.getInstance().getConfigurationContextService().getServerConfigContext().
|
||||
getAxisConfiguration().getTransportOut(TRANSPORT_SENDER_NAME) != null) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
return (EmailSenderDataHolder.getInstance().getConfigurationContextService().getServerConfigContext().
|
||||
getAxisConfiguration().getTransportOut(TRANSPORT_SENDER_NAME) != null);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
Reference in New Issue
Block a user