aspose file tools*
The moose likes JDBC and the fly likes java uses unchecked or unsafe operations Note: Recompile with -Xlint:unchecked for details. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "java uses unchecked or unsafe operations Note: Recompile with -Xlint:unchecked for details." Watch "java uses unchecked or unsafe operations Note: Recompile with -Xlint:unchecked for details." New topic
Author

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

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Hello,

Why these warnings? Please help to understand them



Best Regards
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2503
    
    8

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'?


OCUP UML fundamental and ITIL foundation
youtube channel
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 732
Thanks Jan your link is very useful

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