String (TransferEvent event) { TransferResource resource = event.getResource(); File file = resource.getFile(); return (file == null ? resource.getResourceName() : file.getName()) + " [" + resource.getRepositoryUrl() + "]"; }