Do n’t forget to break in case

Don't forget the break in the case. Various cases are often written in production. Once you forget to write a break, there will be a production accident. The easiest solution is to modify the warning level in eclipse, modify the 'switch' case fall-through to Errors level in Performaces-> java-> compiler-> errors / warning-> Potential Programming problems

Guess you like

Origin www.cnblogs.com/jueshixingkong/p/12677780.html