The Artima Developer Community
Sponsored Link

Java Buzz Forum
How to suppress unchecked warnings in Java

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Angsuman Chakraborty

Posts: 19816
Nickname: angsuman
Registered: Dec, 2003

Angsuman Chakraborty is the CEO and Chief Architect at Taragana
How to suppress unchecked warnings in Java Posted: Oct 27, 2008 12:44 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Angsuman Chakraborty.
Original Post: How to suppress unchecked warnings in Java
Feed Title: Simple Thoughts - Java and Web Technology Blog
Feed URL: http://tech.gaeatimes.com/index.php/feed/
Feed Description: News and views as a Software Architect and Entrepreneur on Java and Web Software.
Latest Java Buzz Posts
Latest Java Buzz Posts by Angsuman Chakraborty
Latest Posts From Simple Thoughts - Java and Web Technology Blog

Advertisement
The best way to suppress unchecked or other warnings is to fix the cause of the warning. However in some rare cases, the warning is incorrect and there is no logical way to solve it without compromising the intended functionality. For such cases there is a simple solution: Add the following just before the method definition: @SuppressWarnings("unchecked") This [...]
Ads by Yahoo!

Read: How to suppress unchecked warnings in Java

Topic: How To Install Latest Version of rdiff-backup in Fedora Core 6 and Earlier Previous Topic   Next Topic Topic: Support for IBM JVM's now available for the Eclipse Memory Analyzer

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use