Skip to content

Commit

Permalink
uFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
nik9000 committed Feb 18, 2025
1 parent bebaa4f commit 2a86568
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

package org.elasticsearch.index.mapper.blockloader;

import com.carrotsearch.randomizedtesting.annotations.Seed;

import org.elasticsearch.index.mapper.NumberFieldBlockLoaderTestCase;
import org.elasticsearch.logsdb.datageneration.FieldType;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ public void testBlockLoaderForFieldInObject() throws IOException {
private void runTest(Template template, Mapping mapping, String fieldName) throws IOException {
var mappingXContent = XContentBuilder.builder(XContentType.JSON.xContent()).map(mapping.raw());

var mapperService = params.syntheticSource ? createSytheticSourceMapperService(mappingXContent) : createMapperService(mappingXContent);
var mapperService = params.syntheticSource
? createSytheticSourceMapperService(mappingXContent)
: createMapperService(mappingXContent);

var document = documentGenerator.generate(template, mapping);
var documentXContent = XContentBuilder.builder(XContentType.JSON.xContent()).map(document);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

package org.elasticsearch.xpack.unsignedlong;

import com.carrotsearch.randomizedtesting.annotations.Seed;

import org.elasticsearch.index.mapper.NumberFieldBlockLoaderTestCase;
import org.elasticsearch.logsdb.datageneration.FieldType;
import org.elasticsearch.plugins.Plugin;
Expand Down

0 comments on commit 2a86568

Please sign in to comment.