• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java uses unchecked or unsafe operations Note: Recompile with -Xlint:unchecked for details.

 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Why these warnings? Please help to understand them



Best Regards
 
Jan Cumps
Bartender
Posts: 2608
14
C++ Linux Netbeans IDE
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This document explains why you get warnings, how you can see if your code is safe or not.


Show us an example piece of your code that generates the warning.

Also have a read of one of Richard's ramblings.
Maybe you have to declare your variables as 'java.util.ArrayList<java.util.ArrayList>' in stead of 'java.util.ArrayList'?
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jan your link is very useful

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic