OSDN Git Service

JavaMail
[hayashilib/hayashi.git] / src / jp / co / areaweb / tools / mail / SendMail.java
index 251902f..864afe2 100644 (file)
@@ -43,17 +43,17 @@ public class SendMail
         }\r
     }\r
 \r
-    protected Vector<String> toVector = new Vector<String>(); // プロパティ 送信先(to) の値\r
-    protected Vector<String> ccVector = new Vector<String>(); // プロパティ 送信先(Cc) の値\r
-    protected Vector<String> bccVector = new Vector<String>();    // プロパティ 送信先(Bcc) の値\r
+    protected Vector<String> toVector = new Vector<>(); // プロパティ 送信先(to) の値\r
+    protected Vector<String> ccVector = new Vector<>(); // プロパティ 送信先(Cc) の値\r
+    protected Vector<String> bccVector = new Vector<>();    // プロパティ 送信先(Bcc) の値\r
     protected String from = null;         // プロパティ 発信元(from) の値\r
     protected String subject;             // プロパティ 題名(subject) の値\r
     protected String content;             // プロパティ 本文(content) の値\r
     protected String mailHost;            // プロパティ SMTP(mail.smtp.host) の値\r
     protected String mailHostPort;        // プロパティ SMTP_PORT(mail.smtp.port) の値\r
     \r
-    protected Vector<File> attachments = new Vector<File>();   // 添付ファイル\r
-    protected Vector<String> attachNames = new Vector<String>();               // 添付ファイル名\r
+    protected Vector<File> attachments = new Vector<>();       // 添付ファイル\r
+    protected Vector<String> attachNames = new Vector<>();             // 添付ファイル名\r
     \r
     protected boolean POP_before_SMTP = false;\r
     protected boolean USER_AUTH = false;\r