Android Lint检查

1.Implicitly using the default locale is a common source of bugs: Use toLowerCase(Locale) instead

  toLowerCase(Locale.getDefault())

  clean后就没有warninng了

2..Implicitly using the default locale is a common source of bugs: Use toUpperCase(Locale) instead

    增加Local:toUpperCase(Locale.getDefault());\

3.Replace "..." with ellipsis character (…, …) ?

   用 … 代替 ... ,注意 &#; 这三个符号都不能少 。

4.Type safety: Unchecked cast from Object to Map<String,List<EpisodePo>>
  未找到解决办法
  1:方法上添加@SuppressWarnings("unchecked")
  2:Window->Preferences->Java->Compiler->Errors/Warning->Generic types中Unchecked generic type operation设置为Ignore。

posted on 2015-01-26 23:21  qiaolanqi  阅读(825)  评论(0编辑  收藏  举报

导航