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:
Colin Goodheart-Smithe 2015-11-23 11:26:07 +00:00
commit 135f62fe6e
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ public class ESUsersRealmTests extends ESTestCase {
}
};
RestRequest restRequest = mock(RestRequest.class);
final Action action = mock(Action.class);
final Action<ActionRequest, ?, ?> action = mock(Action.class);
final ActionListener listener = mock(ActionListener.class);
BaseRestHandler handler = new BaseRestHandler(Settings.EMPTY, restController, client) {
@Override