I am working on an old Java application that contains about 6 thousand warnings that I am trying to clear. One of them is simply "Unnecessary @Suppresswarnings (" XXXX ")." Eclipse has a quick solution for this, but there are several hundred in the code base and even more cases when it is actually used.
I would like to be able to apply “Quick Fix” (remove unused tokens) in all of these warnings at the same time, but cannot find a way to do this. Since there are many (more) instances of this annotation that do not generate warnings, the brute force bar of the annotations will simply generate more warnings.
Is there a way to do this in eclipse (or maybe a third-party tool), or am I just out of luck with this?
source
share