Remove return from removeResource method of JID.