| SE450: Using Eclipse: Enable JUnit, Disable some warnings [3/10] | ![]() ![]() ![]() |
Enable JUnit.
Disable warnings for unnecessary code. LEAVE ALL OTHER WARNINGS AT THEIR DEFAULT VALUES.
Go to "Eclipse/Window" > "Preferences" > "Java" > "Compiler" > "Errors/Warnings" > "Unnecessary code"
Set the following to "Ignore"
"Value of local variable is not used"
"Unused private member"
On windows, the "Preferences" option is under
"Window" instead of "Eclipse"