When I compare this constant string with MV inside with a variable with MV inside the result, it is a lie. The string constant looks like "MB" ([", M, B,"] = 4 length), and my variable is MB (length [M, B] = 2). What is wrong here. Java cannot put quotation marks inside code in a string.


public static final String gc_TelCodeFixed = "FX"; if (!telcode.getId().equals(com.quoka.qis.db.constant.Constants.gc_TelCodeFixed)) throw new TelcodeTypeMismatchException(telcode.getType());
source share