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.
After the quick-fix is applied:
Ignore unnecessary semicolons after enum constants
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3