gerrit/.settings
David Pursehouse 9bbffa71b3 RFC: Enable Eclipse warning about fall-through cases in switch statements
Enable the "'switch' case fall-through" warning in Eclipse to catch
unintentional fall-through to the following 'case' block when a 'break'
statement is omitted.

All warnings raised in the current codebase are caused by intentional
fall-throughs, so add "//$FALL-THROUGH$" comments to suppress those
warnings.

This change was inspired by the coverity report [1] which found the
problem in PutConfig (see CID 19880) but interestingly did not report
anything for the other ones.

RFC because I'm not sure if the "//$FALL-THROUGH$" comments will cause
the warnings to be suppressed on subsequent coverity scans.

[1] https://scan.coverity.com/projects/4032

Change-Id: Iad003bd7d086c67cccdbfb1312c8bd82d17fcc57
2015-02-03 12:17:49 +09:00
..
org.eclipse.core.resources.prefs Build with Buck 2013-05-09 13:40:36 +00:00
org.eclipse.core.runtime.prefs Build with Buck 2013-05-09 13:40:36 +00:00
org.eclipse.jdt.core.prefs RFC: Enable Eclipse warning about fall-through cases in switch statements 2015-02-03 12:17:49 +09:00
org.eclipse.jdt.ui.prefs Build with Buck 2013-05-09 13:40:36 +00:00