Browse - Programming Tips - Eclipse: how can I disable "Dead Code" warnings?

Date: 2018mar10
Product: Eclipse
Language: Java

Q.  Eclipse: how can I disable "Dead Code" warnings?

A.  To disable an instance, add this to your Java code:

@SuppressWarnings("unused")
To disable all:
Windows > Preferences > Java > Compiler > Errors/Warnings > Potential programming problems > Dead Code > Ignore