討論區: 公開討議 (Thread #30436)

一貫性と互換性 (2011-09-22 11:17 by coffee #59708)

クラス名やメソッド名などの改善はここに。

回覆 #59708×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入

RE: 一貫性と互換性 (2011-09-22 11:17 by coffee #59709)

2011/09/23 1.0.7 安定版
・メソッド名の一貫性の確保
・StringUtil#urlEncodeを非推奨、かわりにStringUtil#encodeURLを使うこと
・StringUtil#urlDecodeを非推奨、かわりにStringUtil#decodeURLを使うこと
回覆: #59708

回覆 #59709×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入

RE: 一貫性と互換性 (2011-11-15 19:41 by sh0u #60557)

2011/11/15
DES.java をユーティリティクラスとして実装

[junkutil.crypt.Hasher.java]
・インスタンス化禁止
・各メソッドを static メソッドへ
・微修正
テストコード実装済

coffee さんに拝見してもらう。
回覆: #59708

回覆 #60557×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入

RE: 一貫性と互換性 (2011-11-15 20:42 by coffee #60560)

修正点などはzipしたあとメールアドレス
coffee@users.sourceforge.jp までどうぞ :-)
回覆: #59708

回覆 #60560×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入

RE: 一貫性と互換性 (2011-11-16 23:40 by sh0u #60591)

2011/11/16
DES.java を [junkutil.crypt.Crypter.java] として実装。
MD5.java を [junkutil.crypt.Hasher.java] として実装。

修正点
・インスタンス化禁止
・各メソッドを static メソッドへ
・微修正
・テストコード実装

coffee さんに送付済。拝見してもらう。
回覆: #59708

回覆 #60591×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入

RE: 一貫性と互換性 (2011-11-17 13:31 by coffee #60602)

sh0uさんの実装、拝見しました。
各メソッドをstatic化した実装は良いと思います。
ただ、以下の理由でいますぐの取り込みはちょっと難しいです。

1.既存のクラスMD5、DESを維持して今回の変更を取り入れると、
  当然ですが同じ役割のクラスが混在する状況になり、ユーザが混乱します。
2.既存のクラスMD5、DESを削除しての置き換えるとなると、APIの大幅変更
  ということで、おそらく1.0.xから1.1.xにバージョンを上げることになります。
3.ネーミングの問題。事実上MD5算出用にしか使わないであろうクラスに
  Hasherと命名することは、ユーザの理解を妨げるかもしれません。
  Crypterのほうは、確かにその名前のほうが適切だと思いますが。

というわけで、少し保留にさせてください。
回覆: #59708

回覆 #60602×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) 登入