Adding type to generic call
Original commit: elastic/x-pack-elasticsearch@ec1cb8be55
This commit is contained in:
parent
99af2d60d3
commit
9b7feb25ca
|
@ -135,7 +135,7 @@ public class IndicesAccessControlTests extends ESTestCase {
|
||||||
public void testMergeNotGranted() {
|
public void testMergeNotGranted() {
|
||||||
final Set<String> notGrantedFields = randomFrom(null, Collections.<String>emptySet(), Collections.singleton("baz"));
|
final Set<String> notGrantedFields = randomFrom(null, Collections.<String>emptySet(), Collections.singleton("baz"));
|
||||||
final Set<BytesReference> notGrantedQueries = randomFrom(null, Collections.<BytesReference>emptySet(),
|
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 IndexAccessControl indexAccessControl = new IndexAccessControl(false, notGrantedFields, notGrantedQueries);
|
||||||
|
|
||||||
final BytesReference query1 = new BytesArray(new byte[] { 0x1 });
|
final BytesReference query1 = new BytesArray(new byte[] { 0x1 });
|
||||||
|
|
Loading…
Reference in New Issue