随笔 - 105
文章 - 5
评论 - 6
阅读 -
16万
04 2017 档案
Findbugs分析工具介绍
摘要:Findbugs是一个静态分析工具,它检查类或者JAR 文件,将字节码与一组缺陷模式进行对比以发现可能的问题。Findbugs自带检测器,其中有60余种Bad practice,80余种Correctness,1种 Internationalization,12种Malicious code vul
阅读全文
如何计数一个字符在某个字符串中出现的次数?
摘要:使用Apache Commons Lang包中的 StringUtils类就可以完成这个工作。 计算结果: n=6
阅读全文
python安装Django需要环境
摘要:Django==1.10.3 -e git+https://github.com/duoshuo/duoshuo-python-sdk.git#egg=duoshuo-python-sdk django-pingback django-xmlrpc==0.1.4 gunicorn==18.0 BeautifulSoup==3.2.1 supervisor==3.0 Docutils==0.11 ...
阅读全文
String,StringBuffer,StringBuilder效率优先关系说明
摘要:String,StringBuffer,StringBuilder效率优先关系说明: 控制台输出结果: String耗时:8253StringBuffer耗时:9StringBuilder耗时:8 Process finished with exit code 0 结论:可想而知,效率最高的是Str
阅读全文
Spring Boot自定义错误页面,Whitelabel Error Page处理方式
摘要:转载:Spring Boot自定义错误页面,Whitelabel Error Page处理方式
阅读全文
我的时间工具
摘要:package eh.util; import org.apache.commons.lang3.StringUtils; import org.joda.time.DateTime; import org.joda.time.LocalDate; import org.joda.time.Years; import org.joda.time.format.DateTimeFormat; ...
阅读全文