List<? extends DesignDocument> designDocuments = provider.getDesignDocuments();
if ( designDocuments.isEmpty() ) {
return;
}
DesignDocumentsUpdateService designDocumentsUpdateService = new DesignDocumentsUpdateService( couchDatabase );
designDocumentsUpdateService.updateIfNecessary( provider );
} catch ( CanceledException ignore ) {
}
}