• Post Reply Bookmark Topic Watch Topic
  • New Topic

What does @SuppressWarnings("unchecked") mean?  RSS feed

 
André Asantos
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does @SuppressWarnings("unchecked") mean?
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It means to suppress... warnings... about... unchecked casts. If you have to ask, don't use it!
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is used with generics (look it up!).
 
Campbell Ritchie
Marshal
Posts: 56584
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Prime wrote:It is used with generics (look it up!).
Try here and lots of other places.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!