Configuring warnings in Eclipse

It's possible to tell Eclipse which code should lead to warning, which to error and which should be handled as normal.

You need to do the following two steps for this purpose:

  1. Open Window -> Preferences -> Java -> Compiler -> Errors/Warnings.
  2. Change properties in the way you want.

My settings are shown below.

01-code-style
02-programming-problems
03-name-conflicts
04-deprecated-api
05-unnecessary-code
06-generic-types
07-annotations
Tagged as : Eclipse

Comments