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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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
jQuery in Action, 3rd edition