Corrected a typing error in Event.java