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.
[ BUILD # : 200807300201 ] [ JDK VERSION : 1.6.0_07 ] new HashSet<String>(); place carrot over HashSet and choose the "Assign Return Value To New Variable" refactoring and you get HashSet<String> hashSet = HashSet<String> hashSet = new HashSet<String>(); With the carrot after the first hashSet variable.
*** This issue has been marked as a duplicate of 142199 ***