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.
I have a Template : public class __NAME__ implements __NAME__MBean { public __NAME__() throws NotCompliantMBeanException { super(__NAME__MBean.class); } public MBeanNotificationInfo[] getNotificationInfo() { return new MBeanNotificationInfo[] {}; } } I programmaticaly remove the method getNotificationInfo (refDelete). When the method is removed, the generated code contains 1 blank line at the end that I would like to tremove : public class __NAME__ implements __NAME__MBean { public __NAME__() throws NotCompliantMBeanException { super(__NAME__MBean.class); } <=============== LINE TO REMOVE }
Overtake.
Reassigning all moonko's java/source bugs to myself.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss