Removing trailing whitespace left by NetBeans