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 # : 201210310001 ] [ JDK VERSION : 1.6.37 ] Abbreviation '2ar' creates code with "redunant cast" warning. See screenshot. Reproduction <code> public class NewClass { private void openProjects (List<Project> projects) { // type "2ar", TAB, Project, RETURN } } </code> Type "2ar", TAB, "Project", RETURN ACTUAL: generated code with redundant cast warning EXPECTED: generated code without redundant cast warning
Created attachment 127053 [details] generated code with warning
Fixed in jet-main. http://hg.netbeans.org/jet-main/rev/4d22dae3af64
Integrated into 'main-golden', will be available in build *201211060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/4d22dae3af64 User: Dusan Balek <dbalek@netbeans.org> Log: Issue #221398: Abbreviation '2ar' creates code with "redunant cast" warning - fixed.