#563 New Check: Warning on return null instead of Boolean

Future
closed
nobody
None
5
2014-08-24
2011-02-22
Anonymous
No

This check is already present in FindBugs:
http://findbugs.sourceforge.net/bugDescriptions.html#NP_BOOLEAN_RETURN_NULL

Arguably it is the matter of style to use Boolean for ternary logic or enum. And since all the information is in the single file and even in the single method, I think that checkstyle is capable of doing this.

Discussion

  • Ivan Sopov

    Ivan Sopov - 2013-11-17

    Implemented in sevntu.checkstyle project.

     
  • Ivan Sopov

    Ivan Sopov - 2013-11-17
    • status: open --> closed
    • Group: --> Future
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks