When I compile my NaturalLanguageMultiply I get a warning telling me that "Note: NaturalLanguageMultiply.java uses unsafe or unchecked operations. Note: Recompile with -Xlint for details."
It seems to not like lines like this "myHash.put( "ninety" , new Integer (90) ) ; " Am I doing something wrong that might cause me problems down the road? Since it's just a warning, the program still compiles and runs, but I know somethings not right here.
It's not a problem. Because you are using a java 5 compiler to compile code that is written for java 4, it gives you a warning. As an experiment, try compiling using javac -source 1.4 and see if you get the same warnings.
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Welcome to the Cattle Drive forum. Thanks for the input, but we're still using java 1.4 code here in the Cattle Drive. There is no autoboxing in jdk1.4.
JavaBeginnersFaq "Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Thanks, I'll keep it in mind, though it's all the same as an answer to 'why Java 5 compiler gives a warning?". [ July 02, 2006: Message edited by: Vladimir Nesov ]