99package org .elasticsearch .index .mapper ;
1010
1111import com .carrotsearch .randomizedtesting .generators .RandomStrings ;
12+
1213import org .apache .lucene .analysis .Analyzer ;
1314import org .apache .lucene .analysis .LowerCaseFilter ;
1415import 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
0 commit comments