org.sonar.l10n.java.rules.squid.S1190.html Maven / Gradle / Ivy
The newest version!
Through Java's evolution keywords have been added. While code that uses those words as identifiers may be compilable under older versions of Java, it will not be under modern versions.
Keyword Added
assert 1.4
const reserved
enum 5.0
goto reserved
strictfp 1.2
The following code snippet illustrates this rule:
public void doSomething() {
int enum = 42; // Non-Compliant
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy