Rule: MissingBreakInSwitch
Description:
A switch statement does not contain a break, even if it is the default case.
Code Sample demonstrating the issue:
switch (precission) { case 32: mc = MathContext.DECIMAL32; break; case 64: mc = MathContext.DECIMAL64; break; case 128: mc = MathContext.DECIMAL128; break; default: mc = new MathContext(precission); }
Running PMD through: Codacy
sabberworm, cyb3rko, proshin-roman, Midya-ELTE and sslavian812
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