Compiler settings?
From: Robert Simmons <kraythe_at_arcor.de>
Date: 2004-09-25 01:35:14 CEST
I started getting into the subclipse code and when I compiled I got some
The settings I recommend are:
Methods overridden but not package visible: warning
Methods with a constructor name: error
Non-Static access to a static member: warning
Indirect access to static member: warning
Assignment has no effect: error
Possible accidental Boolean assignment: error
Unqualified access to instance field: warning
Finally does not complete normally: warning
Empty Statement: warning
Undocumented empty block: warning
Access to a non-accessible member of an enclosing type: ignore
Local variable declaration hides field or variable: ignore
Field declaration hides another field or variable: warning
Interface method conflicts with protected 'Object' method: error
Using a char array in concatenation: warning
Usage of deprecated API: warning (both checks off)
Usage of non-externalized strings: warning
Local variable never read: warning
Parameter never read: warning (checkbox off)
Unused imports: warning
Unused or unread private members: warning
Unnecessary else statement: warning
Unnecessary cast or instanceof operation: warning
Hidden catch block: error
Unnecessary declaration of thrown checked exception: ignore
Some might say that this is a trivial issue but I disagree. Its likely that
-- Robert Simmons Jr.
-- Senior Software Architect, Consultant
Author of "Hardcore Java", Published by O'Reilly, ISBN: 0-596-00568-7,
|
This is an archived mail posted to the Subclipse Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.