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.
Code completion adds unexpected extra new line if generics part of identifier is already present. Example: 1)user writes declaration: ArrayList<String> a = null; 2) the he decides to change the class so he deletes the 'ArrayList' part |<String> a = null; 3) and uses code completion to add LinkedList => result is: LinkedList<Object> <String> a = null; the new line after <Object> is not needed and must be deleted. Ideally, "<Object>" is not inserted at all Product Version: NetBeans IDE Dev (Build 20120110-5b6dc0ca8f23) Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10 System: Windows 7 version 6.1 running on x86; Cp1250; en_US (nb) User directory: C:\Users\jprox\.netbeans\dev Cache directory: C:\Users\jprox\.netbeans\dev\var\cache