Changed java style