Skip to content

Commit f7437d8

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

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

server/src/main/java/org/elasticsearch/index/mapper/DocumentParser.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import org.elasticsearch.common.xcontent.XContentHelper;
1818
import org.elasticsearch.core.Nullable;
1919
import org.elasticsearch.features.NodeFeature;
20-
import org.elasticsearch.index.IndexSettings;
2120
import org.elasticsearch.index.IndexVersion;
2221
import org.elasticsearch.index.IndexVersions;
2322
import org.elasticsearch.index.fielddata.FieldDataContext;
@@ -756,8 +755,11 @@ private static void parseNonDynamicArray(
756755
if (token == XContentParser.Token.START_OBJECT) {
757756
if (countArray++ >= nestedDocsLimit) {
758757
throw new IllegalStateException(
759-
"The number array objects has exceeded the allowed limit of [" + nestedDocsLimit + "]. " +
760-
"This limit can be set by changing the [" + MapperService.INDEX_MAPPING_NESTED_DOCS_LIMIT_SETTING.getKey()
758+
"The number array objects has exceeded the allowed limit of ["
759+
+ nestedDocsLimit
760+
+ "]. "
761+
+ "This limit can be set by changing the ["
762+
+ MapperService.INDEX_MAPPING_NESTED_DOCS_LIMIT_SETTING.getKey()
761763
+ "] index level setting."
762764
);
763765
}

0 commit comments

Comments
 (0)