@EventHandler
    public void handle(AuthorizationListVersionReceivedEvent event) {
        ChargingStation chargingStation = repository.findOne(event.getChargingStationId().getId());

        if (chargingStation != null) {
            chargingStation.setLocalAuthorizationListVersion(event.getVersion());
            repository.createOrUpdate(chargingStation);
        }
    }
@ EventHandler public void handle ( AuthorizationListVersionReceivedEvent event ) { ChargingStation chargingStation = repository . findOne ( event . getChargingStationId ( ) . getId ( ) ) ; if ( chargingStation != null ) { chargingStation . setLocalAuthorizationListVersion ( event . getVersion ( ) ) ; repository . createOrUpdate ( chargingStation ) ; } }
Handles the {@link AuthorizationListVersionReceivedEvent}.

@param event the event to handle.