Rule Set: design
Description:
https://sourceforge.net/p/pmd/feature-requests/491/
and further discussion at
https://sourceforge.net/p/pmd/discussion/188194/thread/468076db/
Students of mine got bit by this bug recently, and I noticed this old feature request that seems not to have migrated to this git repo. Having a default case prevents intellij or eclipse from providing warnings about incomplete switch cases, when the enum definition changes. This seems to be a case of two useful tools fighting each other :-) Also, supporting this exemption helps pmd align with the Google style guide for switch statements more precisely.
(Not sure if this issue was discussed and abandoned, lost in the sf->git migration, or just ignored, so apologies if this is a duplicate...)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4