【idea自动生成serialVersionUID】
2015-11-18 15:55
417 查看
默认情况下Intellij IDEA是关闭了继承了java.io.Serializable的类生成serialVersionUID的警告。如果需要ide提示生成serialVersionUID,那么需要做以下设置:
1、setting->Inspections->Serialization issues,将serialzable class without "serialVersionUID"打上勾;
2、将光标放到类名上,按atl+enter键,就会提示生成serialVersionUID了。
1、setting->Inspections->Serialization issues,将serialzable class without "serialVersionUID"打上勾;
2、将光标放到类名上,按atl+enter键,就会提示生成serialVersionUID了。
相关文章推荐
- Ant中build.xml详细部署
- 安装confluence
- 解决UINavigationBar导航栏 和 tabBar 菜单栏上面平铺视图
- gcc 编译错误 Value too large for defined data type
- Java中区别.toString() ,(String) 和 valueOf()方法
- Kibana User Guide [4.2] » Introduction
- Android开发UI之GridLayout的使用
- UICollectionView详解
- Map.containsKey/Map.containsValue方法——判断Map集合对象中是否包含指定的键名
- 提升UITableView性能-复杂页面的优化
- EL表达式 requestScope initParam用法
- 《第一行代码--Android》读书笔记之UI篇
- 关于Xcode6:[UICTFont _scaledValueForValue:] Crash问题的解决方法
- confluence数据备份与还原
- iOS UIView事件隔层传递 pointInside:withEvent:
- MySQL 错误 1366:1366 Incorrect integer value
- UITextField的左边的占位空格
- UILabel的简单使用介绍
- “无法更新EntitySet“*****”,因为它有一个DefiningQuery,而元素中没有支持当前操作的元素”问题的解决方法
- Getting Started with Play 2, Scala, and Squeryl