Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Unnecessary cast diagnosis
Unnecessary cast diagnosis [message #77662] Fri, 18 July 2003 10:44
Philippe Mulet is currently offline Philippe MuletFriend
Messages: 229
Registered: July 2009
Senior Member
In 3.0-milestone-2 build, one can enable the new compiler diagnosis for
unnecessary cast/instance (preferences>Java>Compiler>Unused Code>Unnecessary
type check).

As raised in this PR(https://bugs.eclipse.org/bugs/show_bug.cgi?id=40421 -
Unnecessary cast warning...true but... ), the diagnosis is accurate but
sometimes it could be made more tolerant, in presence of null casts. If you
have an opinion, please add your comment in the PR directly.
Previous Topic:W2K pro upgrade to 2.1.1 problem
Next Topic:Debug with JDK 1.2.2, Eclipse 2.1.0 possible?
Goto Forum:
  


Current Time: Sat Jul 27 16:06:38 GMT 2024

Powered by FUDForum. Page generated in 0.03222 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top