202203204205206207208209210211212
String viewName = "all"; final View view = viewMetadataProvider.getView(); if (view != null) { designDocument = view.designDocument(); viewName = view.viewName(); } return new ResolvedView(designDocument, viewName); }