A NetBeans format should remove the blank space for you.