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.
when pasting variable declarations in a new class a window pops up asking me if I want to resolve missing imports. If I click ok a declaration like private String a,b,c,d; becomes private StringStringStringString a,b,c,d;
Reproducible. It's probably because there is definition for more variables. public class JavaApplication7 { private String a, b, c, d; private Random rnd; } copy private String a, b, c, d; private Random rnd; to public class NewClass { } and you get public class NewClass { private StringStringStringString a, b, c, d; private Random rnd; }
*** Bug 201858 has been marked as a duplicate of this bug. ***
This should be fixed by: http://hg.netbeans.org/jet-main/rev/d03940d0fa1b Thanks for the report.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/d03940d0fa1b User: Jan Lahoda <jlahoda@netbeans.org> Log: #201780: fixing handling of field groups in transfer types through copy&paste