代码改变世界

[hyddd的FindBugs分析记录][M B Nm] Method names should start with a lower case letter

2009-02-16 11:15  hyddd  阅读(6588)  评论(0编辑  收藏  举报

[M B Nm] Method names should start with a lower case letter [NM_METHOD_NAMING_CONVENTION]

Methods should be verbs, in mixed case with the first letter lowercase, with the first letter of each internal word capitalized.

 

在Java里,函数的首字母应该小写。

而.Net和Java不同,它要求函数的首字母必须大写。

这个问题是个规范问题,这里就不提供实例代码了。