会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
唯心模式
残存亦末路,兵败如山倒
博客园
首页
新随笔
联系
管理
订阅
2019年3月6日
用枚举类解决Switch-Case过长的sonar问题Reduce the number of switch cases from 38 to at most 30.
摘要: 【问题】Switch-Case过长的sonar问题Reduce the number of switch cases from 38 to at most 30. 【解决】 引用处: 添加的枚举类(做后续扩展):其中的变量在原代码引用处保存到静态变量,在枚举类调用
阅读全文
posted @ 2019-03-06 16:35 唯心模式
阅读(623)
评论(0)
推荐(0)
编辑
公告