about SuppressWarnings (original) (raw)
Krystal Mok rednaxelafx at gmail.com
Sun Nov 4 13:38:19 UTC 2012
- Previous message: about SuppressWarnings
- Next message: about SuppressWarnings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
If you're using javac to compile your Java source code, than you can try running javac -X to see the list of -Xlint options. That'll give you a hint of what warnings can be suppressed.
As from the JavaDoc 1, the warning names are vendor specific. So if you're not using javac then youll need to find out what warnings your compiler supports.
- Kris
On Sun, Nov 4, 2012 at 9:19 PM, fuyou <fuyou001 at gmail.com> wrote:
hi all When I use @SuppressWarnings in program. I only know some ,ex @SuppressWarnings("unchecked"), at SuppressWarnings("unused"). what others?
-- ============================================= fuyou001 Best Regards
- Previous message: about SuppressWarnings
- Next message: about SuppressWarnings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]