Two Laptop Bag*
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
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)
Consider Paul's rocket mass heater.
subject: Compiler warning with Annotations/Generics
Similar Threads
javac gives no type safety warning ?
Vector.add() compiler warning
JDK 1.5 Type Safety warning
GUI update.
doubt in generics in java 1.5