Inspectopedia
 
2024.3

Unnecessary semicolon

Warning
Last modified: 03 December 2024

Reports any unnecessary semicolons, including semicolons that are used between class members, inside block statements, or after class definitions.

Even though these semicolons are valid in Java, they are redundant and may be removed.

Example:

After the quick-fix is applied: