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 201507280002) Java: 1.8.0_51; Java HotSpot(TM) 64-Bit Server VM 25.51-b03 Runtime: Java(TM) SE Runtime Environment 1.8.0_51-b16 System: Windows 8 version 6.2 running on amd64; UTF-8; pl_PL (nb) Let's say I have the following code: public class SafeDelete { public void method1() { } public void method2() { } public void method3() { } public void method4() { } } I safely delete method2 and method3, so I get this: public class SafeDelete { public void method1() { } public void method4() { } } Now have to manually remove empty lines (and repeat this after each refactoring). So the idea is that Safe Delete should remove one blank line if the method is surrounded with blank lines.