Skip to content

Commit

Permalink
fix license
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczi committed Sep 17, 2024
1 parent 223d852 commit 1bb7c4d
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
* or more contributor license agreements. Licensed under the "Elastic License
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
* Public License v 1"; you may not use this file except in compliance with, at
* your election, the "Elastic License 2.0", the "GNU Affero General Public
* License v3.0 only", or the "Server Side Public License, v 1".
*/

package org.elasticsearch.index.mapper;
Expand Down Expand Up @@ -69,14 +70,14 @@ private static void parseAndPatchSource(
case START_ARRAY -> {
destination.writeStartArray();
while (parser.nextToken() != XContentParser.Token.END_ARRAY) {
parseAndPatchSource(destination, parser, fullPath, patchFields, patchApply);
parseAndPatchSource(destination, parser, fullPath, patchFullPaths, patchApply);
}
destination.writeEndArray();
}
case START_OBJECT -> {
destination.writeStartObject();
while (parser.nextToken() != XContentParser.Token.END_OBJECT) {
parseAndPatchSource(destination, parser, fullPath, patchFields, patchApply);
parseAndPatchSource(destination, parser, fullPath, patchFullPaths, patchApply);
}
destination.writeEndObject();
}
Expand Down

0 comments on commit 1bb7c4d

Please sign in to comment.