Skip to content

Commit 982386e

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent d6293d9 commit 982386e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

x-pack/plugin/spatial/src/test/java/org/elasticsearch/xpack/spatial/index/mapper/GeoShapeDocValueFormatTests.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ public void testGeoShapeDocValueUseLuceneFormat() throws IOException {
4949
Settings settings = Settings.builder().put(IndexSettings.MODE.getKey(), IndexMode.LOGSDB.getName()).build();
5050
IndexService indexService = createIndex(indexName, settings, "doc", "@timestamp", "type=date", fieldName, "type=geo_shape");
5151

52-
var indexRequest = new IndexRequest(indexName)
53-
.opType(DocWriteRequest.OpType.CREATE)
54-
.source("""
52+
var indexRequest = new IndexRequest(indexName).opType(DocWriteRequest.OpType.CREATE).source("""
5553
{
5654
"@timestamp": "2025-10-01T12:34:56.789",
5755
"%field": {

x-pack/plugin/wildcard/src/test/java/org/elasticsearch/xpack/wildcard/mapper/WildcardDocValueFormatTests.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ public void testWildcardDocValueUseES819Format() throws IOException {
4343
Settings settings = Settings.builder().put(IndexSettings.MODE.getKey(), IndexMode.LOGSDB.getName()).build();
4444
IndexService indexService = createIndex(indexName, settings, "doc", "@timestamp", "type=date", fieldName, "type=wildcard");
4545

46-
var indexRequest = new IndexRequest(indexName)
47-
.opType(DocWriteRequest.OpType.CREATE)
48-
.source("""
46+
var indexRequest = new IndexRequest(indexName).opType(DocWriteRequest.OpType.CREATE).source("""
4947
{
5048
"@timestamp": "2025-10-01T12:34:56.789",
5149
"%field": "baz"

0 commit comments

Comments
 (0)