Merge pull request elastic/elasticsearch#1005 from colings86/fix/eclipseError
Provides generics for action in ESUsersRealmTests Original commit: elastic/x-pack-elasticsearch@d3be388f99
This commit is contained in:
commit
135f62fe6e
|
@ -196,7 +196,7 @@ public class ESUsersRealmTests extends ESTestCase {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
RestRequest restRequest = mock(RestRequest.class);
|
RestRequest restRequest = mock(RestRequest.class);
|
||||||
final Action action = mock(Action.class);
|
final Action<ActionRequest, ?, ?> action = mock(Action.class);
|
||||||
final ActionListener listener = mock(ActionListener.class);
|
final ActionListener listener = mock(ActionListener.class);
|
||||||
BaseRestHandler handler = new BaseRestHandler(Settings.EMPTY, restController, client) {
|
BaseRestHandler handler = new BaseRestHandler(Settings.EMPTY, restController, client) {
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue