#553 New check: AvoidNotShortCircuitOperatorsForBoolean

Future
closed
nobody
None
5
2015-09-24
2011-01-12
No

Theory of difference "|" from "||" is here http://users.drew.edu/bburd/javafordummies/shortcircuiteval.pdf

The idea is to avoid using not short circuit operators for boolean calculation.

Examples:
boolean b |= returnBoolean()
boolean b = boolean1 & boolean2 & returnBoolean()

Discussion

  • Roman Ivanov

    Roman Ivanov - 2015-09-24

    issue tracer is moved to github, all sevntu Checks will be moved to main project eventually

     
  • Roman Ivanov

    Roman Ivanov - 2015-09-24
    • status: open --> closed
    • discussion: enabled --> disabled
    • Group: --> Future
     

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

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks