Intellij Idea 生成serialVersionUID的方法
2015-07-18 03:13
676 查看
默认情况下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了。
相关文章推荐
- how to get rid of the UITabBarItem padding
- Bluetooth 初识
- iOS UIlabel添加中划线
- executeQuery、executeUpdate 或 execute 方法
- 从request获取工程各种路径总结
- Android开发UI之Notification
- String,StringBuffer与StringBuilder的区别详解
- iOS开发——UI基础-按钮内边距,图片拉伸
- uva 10534 Wavio Sequence XX序列(第一个词不认识)
- polymer-quick tour of polymer
- [Leetcode]Longest Consecutive Sequence
- iOS开发——UI基础-提示框
- POJ2299 Ultra-QuickSort
- UIView的无损截图
- QueryPerformanceFrequency用法--Windows高精度定时计数
- polymer-developer guide-feature overview
- UIPopoverController 的使用
- 黑马程序员——基础学习(十四)多线程(Thread)和图形界面编程(GUI)
- polymer-developer guide-registration and lifecycle
- 准备开源一套异形UI控件