07 2016 档案

摘要:findbugs 出错类型及对应解释 第一弹 1、Dead store to local variable 本地变量存储了闲置不用的对象 举例: List accountCoList = new ArrayList(); 我们为accountCoList新建了一个对象,但是程序的后面并没有使用这个这 阅读全文
posted @ 2016-07-29 14:59 andyLdn 阅读(1368) 评论(0) 推荐(0)
摘要:1.卸载系统自带JDK版本 #rpm -qa|grep gcj 查看到如下信息,如图所示: 进行卸载默认安装JDK: #rpm -e --nodeps java-1.4.2-gcj-compat-devel-1.4.2.0-40jpp.115 2.卸载安装的JDK #rpm -qa|grep jdk 阅读全文
posted @ 2016-07-28 10:36 andyLdn 阅读(112) 评论(0) 推荐(0)
摘要:1.jdk安装 1)下载jdk 先查看Linux系统是多少位(32位/64位):getconf LONG_BIT 再从JDK官网(http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html)下 阅读全文
posted @ 2016-07-28 10:34 andyLdn 阅读(125) 评论(0) 推荐(0)
摘要:一:cpu [root@srv /]# more /proc/cpuinfo | grep "model name" model name : Intel(R) Xeon(R) CPU X3220 @ 2.40GHz model name : Intel(R) Xeon(R) CPU X3220 @ 阅读全文
posted @ 2016-07-28 10:11 andyLdn 阅读(148) 评论(0) 推荐(0)
摘要:1. man 对你熟悉或不熟悉的命令提供帮助解释 eg:man ls 就可以查看ls相关的用法 注:按q键或者ctrl+c退出,在linux下可以使用ctrl+c终止当前程序运行。 2. ls 查看目录或者文件的属性,列举出任一目录下面的文件 eg: ls /usr/man ls -l 1) d表示 阅读全文
posted @ 2016-07-27 12:26 andyLdn 阅读(120) 评论(0) 推荐(0)
摘要:mvn clean:clean 清除目标目录中的生成结果 mvn eclipse:clean 清除eclipse的一些系统设置 mvn eclipse:eclispse 生成 Eclipse 项目文件及包引用定义 mvn clean install -Dmaven.test.skip=true 打包 阅读全文
posted @ 2016-07-27 12:14 andyLdn 阅读(106) 评论(0) 推荐(0)
摘要:int n1 = 14;//十进制转成十六进制:Integer.toHexString(n1);//十进制转成八进制Integer.toOctalString(n1);//十进制转成二进制Integer.toBinaryString(n1);//十六进制转成十进制Integer.valueOf("e 阅读全文
posted @ 2016-07-27 12:00 andyLdn 阅读(128) 评论(0) 推荐(0)