Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Beginning Java
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Beginning Java
What is the javac command-line parameter to supress warnings described by -Xlint:unchecked message?
John La
Greenhorn
Posts: 16
1
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I'm familiar with the error described by this warning message, and would like to suppress the warning, as the code flagged is correct.
Thanks in advance for any help you may provide.
John La
Greenhorn
Posts: 16
1
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
use generics.
"Never mind".
Campbell Ritchie
Marshal
Posts: 79180
377
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I think it is @SuppressWarnings("unchecked") but I am not certain. You only use that annotation if you are absolutely certain the code is correct.
You should
find more about it in the
Java® Tutorials
; try the section about predefined annotations.
Consider Paul's
rocket mass heater
.
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Java Media Framework Install Help on Red Hat 9.0
Uploading 4000 records in 1 minute
Recompile with Xlint
Regarding Generics Warning
Generics {probably wrong forum}
More...