代码质量
文章平均质量分 87
昨日西风紧
被深痛一击过后, 人生不过如此
展开
-
PMD规则之Controversial
PMD规则 UnnecessaryConstructor: This rule detects when a constructor is not necessary; i.e., when there's only one constructor, it's public, has an empty body, and takes no arguments. 非必要的构...原创 2013-06-05 11:22:39 · 812 阅读 · 0 评论 -
PMD规则之Controversial
. 非必要的构造器:本规则检查不必要的构造器,例如:只存在一个公共的,空方法体的,无参的构造器 NullAssignment: Assigning a "null" to a variable (outside of its declaration) is usually bad form. Some times, the assignment is an indication that the programmer doesn't completely understand原创 2013-06-05 11:22:39 · 916 阅读 · 0 评论