From ecd4fcc94740ecb760fefbed59a5b45a0787250a Mon Sep 17 00:00:00 2001 From: Mohammad Qureshi Date: Mon, 11 Mar 2024 15:08:58 -0700 Subject: [PATCH] Apply spotless to fix Gradle check --- .../org/opensearch/index/mapper/MapperServiceTestCase.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/framework/src/main/java/org/opensearch/index/mapper/MapperServiceTestCase.java b/test/framework/src/main/java/org/opensearch/index/mapper/MapperServiceTestCase.java index 504670d927d13..ddf8a23da6e46 100644 --- a/test/framework/src/main/java/org/opensearch/index/mapper/MapperServiceTestCase.java +++ b/test/framework/src/main/java/org/opensearch/index/mapper/MapperServiceTestCase.java @@ -241,7 +241,8 @@ protected XContentBuilder fieldMapping(CheckedConsumer buildField, Boolean isDerived) throws IOException { + protected final XContentBuilder fieldMapping(CheckedConsumer buildField, Boolean isDerived) + throws IOException { if (isDerived) { return derivedMapping(b -> { b.startObject("field");