File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Compiler warning with Annotations/Generics Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Compiler warning with Annotations/Generics" Watch "Compiler warning with Annotations/Generics" New topic

Compiler warning with Annotations/Generics

Ra Carter
Ranch Hand

Joined: Jul 30, 2005
Posts: 96
I am getting compiler warnings in the following code

Can someone explain what these warnings mean to me and how to correct them?

[ November 17, 2005: Message edited by: racarter ]
[ November 17, 2005: Message edited by: racarter ]
Tony Morris
Ranch Hand

Joined: Sep 24, 2003
Posts: 1608
What do I see the following compiler warning?
Note: <something>.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Tony Morris
Java Q&A (FAQ, Trivia)
I agree. Here's the link:
subject: Compiler warning with Annotations/Generics
Similar Threads
doubt in generics in java 1.5
Vector.add() compiler warning
javac gives no type safety warning ?
GUI update.
JDK 1.5 Type Safety warning