aspose file tools*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "what problem is this???" Watch "what problem is this???" New topic
Author

what problem is this???

Nicky Eng
Ranch Hand

Joined: Mar 26, 2005
Posts: 378



when i compile the "BeerExpert.java", 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
SCWCD 1.4
Formula 1 app by Maxis (Playbook)
David O'Meara
Rancher

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
hi

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

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
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

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



Then you no longer will get warnings.

Mark


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
hi,

thanks all....

my this problem solved.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what problem is this???