wood burning stoves 2.0
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 Introducing JavaFX 8 Programming this week in the JavaFX 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 "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
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: 17275

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

Then you no longer will get warnings.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Nicky Eng
Ranch Hand

Joined: Mar 26, 2005
Posts: 378

thanks all....

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