security: add type argument to fix compile

Original commit: elastic/x-pack-elasticsearch@81acbd2e29
This commit is contained in:
jaymode 2016-04-06 19:09:29 -04:00
parent d08446e221
commit 931c67b49c

View File

@ -159,7 +159,7 @@ public class TransportGetUsersActionTests extends ESTestCase {
}
public void testGetAllUsers() {
final List<User> storeUsers = randomFrom(Collections.emptyList(), Collections.singletonList(new User("joe")),
final List<User> storeUsers = randomFrom(Collections.<User>emptyList(), Collections.singletonList(new User("joe")),
Arrays.asList(new User("jane"), new User("fred")), randomUsers());
NativeUsersStore usersStore = mock(NativeUsersStore.class);
TransportGetUsersAction action = new TransportGetUsersAction(Settings.EMPTY, mock(ThreadPool.class),