• R/O
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision94 (tree)
Time2015-08-24 01:40:45
Authort_nakayama1971

Log Message

(empty log message)

Change Summary

Incremental Difference

--- trunk/framework/pjCom/src/project/common/EmailArticle.java (revision 93)
+++ trunk/framework/pjCom/src/project/common/EmailArticle.java (revision 94)
@@ -5,7 +5,6 @@
55 import java.io.InputStream;
66 import java.io.OutputStream;
77 import java.io.UnsupportedEncodingException;
8-import java.nio.charset.Charset;
98 import java.sql.Connection;
109 import java.sql.PreparedStatement;
1110 import java.sql.ResultSet;
@@ -504,9 +503,9 @@
504503 int loc = address[i].lastIndexOf(':');
505504 if (0 <= loc) {
506505 ret[i] = new InternetAddressEx(address[i].substring(0, loc),
507- address[i].substring(loc + ":".length()), MojiUtil.CHARSET_XJIS);
506+ address[i].substring(loc + ":".length()));
508507 } else {
509- ret[i] = new InternetAddressEx(address[i]);
508+ ret[i] = new InternetAddress(address[i]);
510509 }
511510 }
512511 return ret;
@@ -523,22 +522,12 @@
523522 /**
524523 * コンストラクタ
525524 * @param ads アドレス
526- * @throws AddressException アドレス例外
527- */
528- public InternetAddressEx(final String ads) throws AddressException {
529- super(ads);
530- }
531-
532- /**
533- * コンストラクタ
534- * @param ads アドレス
535525 * @param psn 人物
536- * @param charset エンコード
537526 * @throws UnsupportedEncodingException 例外
538527 */
539- public InternetAddressEx(final String ads, final String psn,
540- final Charset charset) throws UnsupportedEncodingException {
541- super(ads, psn, charset.name());
528+ public InternetAddressEx(final String ads, final String psn)
529+ throws UnsupportedEncodingException {
530+ super(ads, psn, MojiUtil.CHARSET_XJIS.name());
542531 if (super.encodedPersonal != null) {
543532 super.encodedPersonal = super.encodedPersonal.replace(
544533 MojiUtil.CHARSET_XJIS.name(), MojiUtil.CHARSET_JIS.name());