I have the following class:
public final class AppConst {
private AppConst() {}
public static final String READ_ERROR = "READ";
public static final String PROCESS_ERROR = "PROCESS";
public static final String WRITE_ERROR = "WRITE";
}
SonarQube marks errors on all three lines with the variables:
Move this variable to comply with Java Code Conventions.
How to make the code compliant with SonarQube?
I'm using SonarLint for Eclipse v2.6.0.