Skip to content

Commit 1bb7c4d

Browse files
committed
fix license
1 parent 223d852 commit 1bb7c4d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
/*
22
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
3-
* or more contributor license agreements. Licensed under the Elastic License
4-
* 2.0 and the Server Side Public License, v 1; you may not use this file except
5-
* in compliance with, at your election, the Elastic License 2.0 or the Server
6-
* Side Public License, v 1.
3+
* or more contributor license agreements. Licensed under the "Elastic License
4+
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
5+
* Public License v 1"; you may not use this file except in compliance with, at
6+
* your election, the "Elastic License 2.0", the "GNU Affero General Public
7+
* License v3.0 only", or the "Server Side Public License, v 1".
78
*/
89

910
package org.elasticsearch.index.mapper;
@@ -69,14 +70,14 @@ private static void parseAndPatchSource(
6970
case START_ARRAY -> {
7071
destination.writeStartArray();
7172
while (parser.nextToken() != XContentParser.Token.END_ARRAY) {
72-
parseAndPatchSource(destination, parser, fullPath, patchFields, patchApply);
73+
parseAndPatchSource(destination, parser, fullPath, patchFullPaths, patchApply);
7374
}
7475
destination.writeEndArray();
7576
}
7677
case START_OBJECT -> {
7778
destination.writeStartObject();
7879
while (parser.nextToken() != XContentParser.Token.END_OBJECT) {
79-
parseAndPatchSource(destination, parser, fullPath, patchFields, patchApply);
80+
parseAndPatchSource(destination, parser, fullPath, patchFullPaths, patchApply);
8081
}
8182
destination.writeEndObject();
8283
}

0 commit comments

Comments
 (0)