Docs: Replace deprecated pluginList with Arrays.asList (#24270)
ESIntegTestCase#pluginList was remove removed in ES 5.0. We are using Arrays.asList instead.
This commit is contained in:
parent
7c395070e2
commit
94b079ed42
|
@ -171,7 +171,7 @@ As elasticsearch is using JUnit 4, using the `@Before` and `@After` annotations
|
||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
@Override
|
@Override
|
||||||
protected Collection<Class<? extends Plugin>> nodePlugins() {
|
protected Collection<Class<? extends Plugin>> nodePlugins() {
|
||||||
return pluginList(CustomSuggesterPlugin.class);
|
return Arrays.asList(CustomSuggesterPlugin.class);
|
||||||
}
|
}
|
||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue