neo neo - 5 months ago 28
Java Question

How to disable warning in Eclipse - 'Class is a raw type. References to generic type Class<T> should be parameterized'

When I compile thrid-party library a number of 'should be parameterized' warnings are generated. I know how to fix them but I do not want to so I tried to disable all warning/error in Eclipse. However, the warnings are still generated after every warning/error are disable. Please help.

Answer Source

You Can change the settings in eclipse:

  1. Go to project properties -> Java Compiler -> Errors/Warnings
  2. Enable the - Enable project specific settings
  3. Change warning to ignore.