代码改变世界

文章分类 -  Java

[hyddd的FindBugs分析记录][M V EI] May expose internal representation by returning reference to mutable object

2009-02-16 09:15 by hyddd, 7237 阅读, 收藏, 编辑
摘要: [M V EI] May expose internal representation by returning reference to mutable object [EI_EXPOSE_REP] Returning a reference to a mutable object value stored in one of the object's fields exposes the ... 阅读全文

[hyddd的FindBugs分析记录][M V EI2] May expose internal representation by incorporating reference to mutable object

2009-02-15 22:11 by hyddd, 10329 阅读, 收藏, 编辑
摘要: [M V EI2] May expose internal representation by incorporating reference to mutable object [EI_EXPOSE_REP2] This code stores a reference to an externally mutable object into the internal representati... 阅读全文

[hyddd的FindBugs分析记录][M M IS] Inconsistent synchronization

2009-02-15 21:22 by hyddd, 5577 阅读, 收藏, 编辑
摘要: [M M IS] Inconsistent synchronization [IS2_INCONSISTENT_SYNC] The fields of this class appear to be accessed inconsistently with respect to synchronization. This bug report indicates that the bug pa... 阅读全文

[hyddd的FindBugs分析记录][M D RCN] Redundant nullcheck of value known to be non-null

2009-02-13 23:02 by hyddd, 4541 阅读, 收藏, 编辑
摘要: [M D RCN] Redundant nullcheck of value known to be non-null [RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE] This method contains a redundant check of a known non-null value against the constant null. 参... 阅读全文

[hyddd的FindBugs分析记录][M D RCN]Repeated conditional tests

2009-02-13 22:57 by hyddd, 2614 阅读, 收藏, 编辑
摘要: [M C RpC] Repeated conditional tests [RpC_REPEATED_CONDITIONAL_TEST] The code contains a conditional test is performed twice, one right after the other (e.g., x == 0 || x == 0). Perhaps the second oc... 阅读全文

[hyddd的FindBugs分析记录][M C RCN] Nullcheck of value previously dereferenced

2009-02-13 22:50 by hyddd, 17863 阅读, 收藏, 编辑
摘要: [M C RCN] Nullcheck of value previously dereferenced [RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE] A value is checked here to see whether it is null, but this value can't be null because it was pr... 阅读全文

[hyddd的FindBugs分析记录][H C FS] More arguments are passed that are actually used in the format string

2009-02-13 17:07 by hyddd, 1532 阅读, 收藏, 编辑
摘要: [H C FS] More arguments are passed that are actually used in the format string [VA_FORMAT_STRING_EXTRA_ARGUMENTS_PASSED] A format-string method with a variable number of arguments is called, but mor... 阅读全文

MyEclipse7.0注册码

2009-02-09 14:58 by hyddd, 4125 阅读, 收藏, 编辑
摘要: 英文版注册码: Subscriber:MaYong Subscription Code:ZLR8ZO-655444-54678656985359684 中文版注册码:(中文版的没有试过) Subscriber: www.1cn.biz Subscription Code: jLR8ZC-655444-65526656052107345 阅读全文

MyEclipse配置JDK路径

2009-02-09 09:51 by hyddd, 4012 阅读, 收藏, 编辑
摘要: MenuBar-->Windows-->Preferences-->Java-->Installed JREs. 要增加JDK直接Add就可以,选择JDK目录路径,如:C:\Program Files\Java\jre1.5.0_12. 阅读全文

MyEclipse编码设置

2009-02-06 16:46 by hyddd, 13902 阅读, 收藏, 编辑
摘要: 我的Myeclipse安装后编码默认是GB18030,外面的人一般推荐用UTF-8。如果在导入项目后发现乱码现象,那是编码设置设置不对。 全局编码设置:编码设置的方法:ToolBar-->Window-->Preferences-->General-->Workspace-->Text file encoding,设置合适的编码。 局部编码设置:在源码按右键-->General-->E... 阅读全文