Make TransportRankEvalAction members final

This commit is contained in:
Christoph Büscher 2018-04-04 10:47:21 +02:00
parent a19fd5636b
commit c1ae7e834c
1 changed files with 3 additions and 3 deletions

View File

@ -67,9 +67,9 @@ import static org.elasticsearch.common.xcontent.XContentHelper.createParser;
* averaged precision at n. * averaged precision at n.
*/ */
public class TransportRankEvalAction extends HandledTransportAction<RankEvalRequest, RankEvalResponse> { public class TransportRankEvalAction extends HandledTransportAction<RankEvalRequest, RankEvalResponse> {
private Client client; private final Client client;
private ScriptService scriptService; private final ScriptService scriptService;
private NamedXContentRegistry namedXContentRegistry; private final NamedXContentRegistry namedXContentRegistry;
@Inject @Inject
public TransportRankEvalAction(Settings settings, ThreadPool threadPool, ActionFilters actionFilters, public TransportRankEvalAction(Settings settings, ThreadPool threadPool, ActionFilters actionFilters,