Skip to content

Commit 9c6eee7

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent a6cbd3a commit 9c6eee7

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

server/src/test/java/org/elasticsearch/index/mapper/KeywordFieldTypeTests.java

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
package org.elasticsearch.index.mapper;
1010

1111
import com.carrotsearch.randomizedtesting.generators.RandomStrings;
12+
1213
import org.apache.lucene.analysis.Analyzer;
1314
import org.apache.lucene.analysis.LowerCaseFilter;
1415
import org.apache.lucene.analysis.TokenFilter;
@@ -424,11 +425,11 @@ public void test_isIgnoreAboveSet_returns_false_when_ignore_above_is_given_but_i
424425
public void test_isIgnoreAboveSet_returns_true_when_ignore_above_is_given_as_logsdb_default_but_index_mod_is_not_logsdb() {
425426
// given
426427
Settings settings = Settings.builder()
427-
.put(IndexMetadata.SETTING_VERSION_CREATED, IndexVersion.current())
428-
.put(IndexSettings.MODE.getKey(), IndexMode.STANDARD)
429-
.put(IndexMetadata.SETTING_NUMBER_OF_SHARDS, 1)
430-
.put(IndexMetadata.SETTING_NUMBER_OF_REPLICAS, 1)
431-
.build();
428+
.put(IndexMetadata.SETTING_VERSION_CREATED, IndexVersion.current())
429+
.put(IndexSettings.MODE.getKey(), IndexMode.STANDARD)
430+
.put(IndexMetadata.SETTING_NUMBER_OF_SHARDS, 1)
431+
.put(IndexMetadata.SETTING_NUMBER_OF_REPLICAS, 1)
432+
.build();
432433
IndexSettings indexSettings = new IndexSettings(IndexMetadata.builder("index").settings(settings).build(), settings);
433434
MappingParserContext mappingParserContext = mock(MappingParserContext.class);
434435
doReturn(settings).when(mappingParserContext).getSettings();
@@ -439,13 +440,13 @@ public void test_isIgnoreAboveSet_returns_true_when_ignore_above_is_given_as_log
439440
builder.ignoreAbove(IGNORE_ABOVE_DEFAULT_LOGSDB);
440441

441442
KeywordFieldMapper.KeywordFieldType fieldType = new KeywordFieldMapper.KeywordFieldType(
442-
"field",
443-
mock(FieldType.class),
444-
mock(NamedAnalyzer.class),
445-
mock(NamedAnalyzer.class),
446-
mock(NamedAnalyzer.class),
447-
builder,
448-
true
443+
"field",
444+
mock(FieldType.class),
445+
mock(NamedAnalyzer.class),
446+
mock(NamedAnalyzer.class),
447+
mock(NamedAnalyzer.class),
448+
builder,
449+
true
449450
);
450451

451452
// when/then

x-pack/plugin/logsdb/qa/rolling-upgrade/src/javaRestTest/java/org/elasticsearch/upgrades/TextRollingUpgradeIT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
package org.elasticsearch.upgrades;
99

1010
import com.carrotsearch.randomizedtesting.annotations.Name;
11+
1112
import org.elasticsearch.client.Request;
1213
import org.elasticsearch.client.Response;
1314
import org.elasticsearch.client.ResponseException;

0 commit comments

Comments
 (0)