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 nbms-and-javadoc-6989-on-20110407) (#86b9d8d2e36f) Operating System = Windows 2000 version 5.0 running on x86 Java; VM; Vendor = 1.6.0_24; Java HotSpot(TM) Server VM 19.1-b02; Sun Microsystems Inc. Runtime = Java(TM) SE Runtime Environment 1.6.0_24-b07 Java Home = C:\Programme\Java\jdk1.6.0_24\jre System Locale; Encoding = de_DE (nb); Cp1252 Please assume the following method: private <T extends Object> java.util.Map<Integer, T> method3(final Iterable<T> iterable) { } apply CodeTemplate FORE the Result will be: for (Object object : iterable) {} which would be okay if the Iterable was not typed. In the typed case i would expect: for (T object : iterable) {}
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/3787fa075931
*** Bug 197527 has been marked as a duplicate of this bug. ***
*** Bug 197528 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *201104120401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/3787fa075931 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #197526: CodeTemplate fore working unexpectedly - fixed.