File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
server/src/main/java/org/elasticsearch/index/mapper Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1717import org .elasticsearch .common .xcontent .XContentHelper ;
1818import org .elasticsearch .core .Nullable ;
1919import org .elasticsearch .features .NodeFeature ;
20- import org .elasticsearch .index .IndexSettings ;
2120import org .elasticsearch .index .IndexVersion ;
2221import org .elasticsearch .index .IndexVersions ;
2322import org .elasticsearch .index .fielddata .FieldDataContext ;
@@ -754,9 +753,10 @@ private static void parseNonDynamicArray(
754753 long nestedDocsLimit = context .indexSettings ().getMappingNestedDocsLimit ();
755754 while ((token = parser .nextToken ()) != XContentParser .Token .END_ARRAY ) {
756755 if (token == XContentParser .Token .START_OBJECT ) {
757- if (countArray ++ >= nestedDocsLimit ) {
758- throw new IllegalStateException ("Limit [" + nestedDocsLimit + "] of elements in an array field [" + lastFieldName + "] " +
759- "has been exceeded" );
756+ if (countArray ++ >= nestedDocsLimit ) {
757+ throw new IllegalStateException (
758+ "Limit [" + nestedDocsLimit + "] of elements in an array field [" + lastFieldName + "] " + "has been exceeded"
759+ );
760760 }
761761 elements = 2 ;
762762 parseObject (context , lastFieldName );
You can’t perform that action at this time.
0 commit comments