If you learned something
today, please
1x


Bookmark this on Delicious Suppress Eclipse Warnings Annotation

No Gravatar

When I search for something too many times, I try to remember to post it here.  So, to drop the warnings for type safety when you know all is fine, you can do the following:

@SuppressWarnings(“unchecked”)
List<CustomerBean>    customers    = (List<CustomerBean>)session.getAttribute(CSRD_CONTACT_LIST);

Tags: , , , ,

Leave a Reply

You must be logged in to post a comment.