In this string eclipse showing dead code warning on "Not Match"?
String b = ("goodString")==("goodString") ? "Condition Macth": "Not Match";
Does it check string even before compiling ?
String a = ("goodString".equals("goodString")) ? "Condition Macth" : "Not Match";
If i change to .equals the warning close.