Adding type to generic call

Original commit: elastic/x-pack-elasticsearch@ec1cb8be55
This commit is contained in:
Chris Earle 2016-03-29 17:42:25 -04:00
parent 99af2d60d3
commit 9b7feb25ca
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ public class IndicesAccessControlTests extends ESTestCase {
public void testMergeNotGranted() {
final Set<String> notGrantedFields = randomFrom(null, Collections.<String>emptySet(), Collections.singleton("baz"));
final Set<BytesReference> notGrantedQueries = randomFrom(null, Collections.<BytesReference>emptySet(),
Collections.singleton(new BytesArray(new byte[] { randomByte() })));
Collections.<BytesReference>singleton(new BytesArray(new byte[] { randomByte() })));
final IndexAccessControl indexAccessControl = new IndexAccessControl(false, notGrantedFields, notGrantedQueries);
final BytesReference query1 = new BytesArray(new byte[] { 0x1 });