suppress deprecation warnings about renderer
@@ -41,6 +41,7 @@ public final class Search extends ProcessingBase<Query, Result, Searcher> {
}
@Override
+ @SuppressWarnings("deprecation")
protected ListenableFuture<Boolean> doProcessAndRender(ComponentSpecification chainSpec,
Query request,
Renderer<Result> renderer,
@@ -51,6 +52,7 @@ public final class Search extends ProcessingBase<Query, Result, Searcher> {
}
@Override
+ @SuppressWarnings("deprecation")
protected Renderer<Result> doGetRenderer(ComponentSpecification spec) {
return handler.getRendererCopy(spec);
}
