Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Servlets and the fly likes what problem is this??? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "what problem is this???" Watch "what problem is this???" New topic

what problem is this???

Nicky Eng
Ranch Hand

Joined: Mar 26, 2005
Posts: 378

when i compile the "", every path was correct, but after compile it, it give me something like this :

what is that means??? anyone know??? what is the solution??

From NickyEng
Diploma in Computer Studies
SCJP 1.4
Formula 1 app by Maxis (Playbook)
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

I believe this is a warning about a new JDK 1.5 feature, warning you that you are not using generics. Don't worry about it for now.
Nicky Eng
Ranch Hand

Joined: Mar 26, 2005
Posts: 378

so it was okay to leave it like that?
SunilRee Gupta

Joined: Mar 03, 2005
Posts: 12
Same Code I have compiled in java version 1.4.2_04. I did not get any warning, note etc.

It seems it just Note, probably yu can ignore it.
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17260

Yes, you can either ignore it or use Generics on you Collection. Like

Then you no longer will get warnings.


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Nicky Eng
Ranch Hand

Joined: Mar 26, 2005
Posts: 378

thanks all....

my this problem solved.
Have you tried LearnNowOnline?
subject: what problem is this???