public void update(final String event,final String param3,final String param4){
  final String dest=getDestFromEventName(event);
  if (dest == null) {
    return;
  }
  type=dest;
  param1=param3;
  param2=param4;
}

public void update ( final String event , final String param3 , final String param4 ) { final String dest = getDestFromEventName ( event ) ; if ( dest == null ) { return ; } type = dest ; param1 = param3 ; param2 = param4 ; }
updates the location in case the event is a location change event .
