Inspectopedia
 
2024.3

Unnecessary 'continue' statement

Warning
Code Style
Last modified: 03 December 2024

Reports continue statements if they are last reachable statements in the loop. These continue statements are unnecessary and can be safely removed.

Example:

After the quick-fix is applied:

For more information, see the same inspection in Java.