Minor refactoring related to wso2/product-iots#1035

4.x.x
Harshan Liyanage 7 years ago
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…
Cancel
Save