Ticket #6253

空のデータファイルを渡した時の挙動
Open Date: 2005-06-30 16:19 Last Update: 2005-07-28 23:28

Reporter:
Owner:
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
9 - Highest
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details

何も書かれていないファイルをデータとして読み込ませると、
アプリケーションの挙動がおかしくなる。

Ticket History (3/3 Histories)

2005-06-30 16:23 Updated by: kuromaru
Comment
Logged In: YES
user_id=9078

何も書かれていないファイルから1行読み込む処理を行ったときは、
読み込み関数の戻り値として null が返って来ますが、null チェック
が行われていなかったことにより、例外が発生していました。
戻り値のチェックを行うように修正しました。

CVS の最新版には反映されています。
2005-07-23 09:52 Updated by: orrisroot
  • Resolution Update from None to Fixed
2005-07-28 23:28 Updated by: orrisroot
  • Ticket Close date is changed to 2005-07-28 23:28
  • Status Update from Open to Closed

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login