[java] Missing semi-colon at code example