| 前 幾篇有提到在不需要使用泛型的部份可以加上 @SuppressWarnings("unchecked"),這也可寫成 @SuppressWarnings(value="unchecked") 或@SuppressWarnings(value={"unchecked"}),所以若再加上不提醒"過時"API就要寫成 @SuppressWarnings({"unchecked","deprecation"}) 或@SuppressWarnings(value={"unchecked","deprecation"}) 另外,在自己的程式裡用 @Override或@Deprecated也是很好的習慣。@Deprecated位置目前版本的JDK5已經沒有問題,寫在上一行或method前都可以。 |
Java SE 6 + Firefox 2 UI 問題 As I do . Google拋棄了了SOAP API,浮想聯翩 https://www.gandi.net/ VS 2005 SP1中文版推出 Windows Vista中文版下載 ASP.NET 2.0網頁執行管線與快取原理 Cache 2.0快取架構與快取資料自動移除架構圖 flickr sync 分享與試用 SUN Looking Glass 3D圖形介面發布1.0 雅虎勵精圖治推動改革 Wait and see 國內某SOC疑遭駭客入侵 大砲開講 Very Important! 微軟公佈Vista安全程式介面草案 一窺Google開原碼庫房乾坤 qing is writing a dig girl net... wait and see
留言