This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version: NetBeans IDE Dev (Build 200908300201) Java: 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02 System: Linux version 2.6.24-23-generic running on i386; UTF-8; en_US (nb) When the statement which will be casted by hint already starts with explicits casting, the can rewrite existing cast to the new one. Here is example: 1) have a code: public Number x() { return (List)null; } the hint will produce: return (Number)(List) null; but is is enough to rewrite is like this: return (Number) null;