From 1bb7c4d7bf986f601f32de5c0dfeefc11deaacd8 Mon Sep 17 00:00:00 2001 From: Jim Ferenczi Date: Tue, 17 Sep 2024 17:46:38 +0100 Subject: [PATCH] fix license --- .../index/mapper/PatchSourceUtils.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/server/src/main/java/org/elasticsearch/index/mapper/PatchSourceUtils.java b/server/src/main/java/org/elasticsearch/index/mapper/PatchSourceUtils.java index c321b3dfe4ab9..760cce12dc45b 100644 --- a/server/src/main/java/org/elasticsearch/index/mapper/PatchSourceUtils.java +++ b/server/src/main/java/org/elasticsearch/index/mapper/PatchSourceUtils.java @@ -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; @@ -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(); }