Some msg during compiling.. but program can be built... does it matters?

Hi

My program... when built thru netbeans ide, produces the following built output:

Note: Some input files use unchecked or unsafe operations.

Note: Recompile with -Xlint:unchecked for details.

To run this application from the command line without Ant, try:

java -jar "D:\TradingAlert\TradingAlert\dist\TradingAlert.jar"

jar:

BUILD SUCCESSFUL (total time: 12 seconds)

Can someone tell me what is "Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details."? Does it matters since my program can be build succesfully?

Thanks

[635 byte] By [peachteaa] at [2007-11-27 5:19:13]
# 1
> Note: Some input files use unchecked or unsafe operations.> Note: Recompile with -Xlint:unchecked for details.What should you do when you get that message?
sjasjaa at 2007-7-12 10:42:33 > top of Java-index,Java Essentials,Java Programming...
# 2

Well you can do as the message says and use the -Xlint option to get details. In my experience I usually get that message when I have forgotten to include Generics when dealing with Collections.

new ArrayList();

vs

new ArrayList<String>();

floundera at 2007-7-12 10:42:33 > top of Java-index,Java Essentials,Java Programming...
# 3
That's a warning, not an error, so it won't stop your program from compiling. It's just the compiler telling you that you're doing something that, while legal, looks fishy and might be a mistake or a poor approach.
jverda at 2007-7-12 10:42:33 > top of Java-index,Java Essentials,Java Programming...