".equals("")" changed to ".isEmpty()"