[TEST] Provides generics for action in ESUsersRealmTests

Although the build passes on the command line the Eclipse compiler complains that the client.execute() call on line 216 does not have correct arguments because of the lack of generics. This changes adds the generics to the action variable to solve the error in Eclipse. The change is very low risk and should not adversely affect the build on the command line nor in intelliJ IDEA

Original commit: elastic/x-pack-elasticsearch@08f3548556
This commit is contained in:
Colin Goodheart-Smithe 2015-11-23 11:01:10 +00:00
parent b752b79a29
commit 0a009e355c
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