Make TransportRankEvalAction members final
This commit is contained in:
parent
a19fd5636b
commit
c1ae7e834c
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue