Java else syntax updated