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

Jean-Noel Rouvignac
08.48.2015 a89f7014aeb71dba5c94404dfea7eb89e7eeee74
opendj-server-legacy/src/main/java/org/opends/server/util/EMailMessage.java
@@ -114,11 +114,11 @@
    this.sender  = sender;
    this.subject = subject;
    recipients = new ArrayList<String>();
    recipients = new ArrayList<>();
    recipients.add(recipient);
    body         = new LocalizableMessageBuilder();
    attachments  = new LinkedList<MimeBodyPart>();
    attachments  = new LinkedList<>();
    bodyMIMEType = "text/plain";
  }
@@ -139,7 +139,7 @@
    this.subject    = subject;
    body         = new LocalizableMessageBuilder();
    attachments  = new LinkedList<MimeBodyPart>();
    attachments  = new LinkedList<>();
    bodyMIMEType = "text/plain";
  }
@@ -577,7 +577,7 @@
      return;
    }
    LinkedList<Properties> mailServerProperties = new LinkedList<Properties>();
    LinkedList<Properties> mailServerProperties = new LinkedList<>();
    for (String s : host.getValues())
    {
      Properties p = new Properties();