mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
16.57.2015 a41662c1136b2bb4a4198df89e0e87d2be3ef099
opendj-server-legacy/src/main/java/org/opends/server/extensions/SMTPAlertHandler.java
@@ -83,11 +83,10 @@
  {
    // Make sure that the Directory Server is configured with information about
    // at least one SMTP server.
    if ((DirectoryServer.getMailServerPropertySets() == null) ||
    if (DirectoryServer.getMailServerPropertySets() == null ||
        DirectoryServer.getMailServerPropertySets().isEmpty())
    {
      LocalizableMessage message = ERR_SMTPALERTHANDLER_NO_SMTP_SERVERS.get();
      throw new ConfigException(message);
      throw new ConfigException(ERR_SMTPALERTHANDLER_NO_SMTP_SERVERS.get());
    }
    configuration.addSMTPChangeListener(this);