void (ProgressEvent event) { final String path = event.getPath(); if (path != null) { CommitEventType eventType = convert(event.getAction()); if (CommitEventType.deleting.equals(eventType) && myTrackDeletedFiles) { trackDeletedFile(event); } updateProgress(eventType, path); } }