From 9bec5b6f6d01ef54f9954dde7f2998f7065e742a Mon Sep 17 00:00:00 2001 From: Adrien Grand Date: Wed, 16 Dec 2015 19:44:47 +0100 Subject: [PATCH] x-pack sibling of elastic/elasticsearchelastic/elasticsearch#15488 Original commit: elastic/x-pack-elasticsearch@db5f78fe19a06a139663b7ad8c6d528a4d9c04a9 --- .../FieldDataCacheWithFieldSubsetReaderTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/elasticsearch/x-pack/shield/src/test/java/org/elasticsearch/shield/authz/accesscontrol/FieldDataCacheWithFieldSubsetReaderTests.java b/elasticsearch/x-pack/shield/src/test/java/org/elasticsearch/shield/authz/accesscontrol/FieldDataCacheWithFieldSubsetReaderTests.java index fbb800d0a4e..ad88a85c1a5 100644 --- a/elasticsearch/x-pack/shield/src/test/java/org/elasticsearch/shield/authz/accesscontrol/FieldDataCacheWithFieldSubsetReaderTests.java +++ b/elasticsearch/x-pack/shield/src/test/java/org/elasticsearch/shield/authz/accesscontrol/FieldDataCacheWithFieldSubsetReaderTests.java @@ -50,11 +50,11 @@ public class FieldDataCacheWithFieldSubsetReaderTests extends ESTestCase { public void setup() throws Exception { IndexSettings indexSettings = createIndexSettings(); CircuitBreakerService circuitBreakerService = new NoneCircuitBreakerService(); - MappedFieldType.Names names = new MappedFieldType.Names("_field"); + String name = "_field"; FieldDataType fieldDataType = new StringFieldMapper.StringFieldType().fieldDataType(); indexFieldDataCache = new DummyAccountingFieldDataCache(); - sortedSetDVOrdinalsIndexFieldData = new SortedSetDVOrdinalsIndexFieldData(indexSettings,indexFieldDataCache, names, circuitBreakerService, fieldDataType); - pagedBytesIndexFieldData = new PagedBytesIndexFieldData(indexSettings, names, fieldDataType, indexFieldDataCache, circuitBreakerService); + sortedSetDVOrdinalsIndexFieldData = new SortedSetDVOrdinalsIndexFieldData(indexSettings,indexFieldDataCache, name, circuitBreakerService, fieldDataType); + pagedBytesIndexFieldData = new PagedBytesIndexFieldData(indexSettings, name, fieldDataType, indexFieldDataCache, circuitBreakerService); dir = newDirectory(); IndexWriterConfig iwc = new IndexWriterConfig(null);