Skip to content

Tag: warnings

How to specifically suppress “Comparing identical expressions” in Eclipse-Helios JDT

I tried annotating the enclosing method with but this does not work (worse yet, the annotation results in its own Unsupported @SuppressWarnings(“compareIdentical”) warning!) I know that I can always use but that’d be more warning-suppression than I want. FWIW, I got the “compareIdentical” string from the “Warning Options” table in (a hail-mary pass, to be sure). Thanks! Answer Officially,