From cac3d1e49b9f7453e998e2fe583e2fcfbc35c2d7 Mon Sep 17 00:00:00 2001 From: Jim Ferenczi Date: Tue, 16 Apr 2024 09:40:45 +0100 Subject: [PATCH] checkstyle --- .../elasticsearch/index/mapper/DynamicTemplatesTests.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/src/test/java/org/elasticsearch/index/mapper/DynamicTemplatesTests.java b/server/src/test/java/org/elasticsearch/index/mapper/DynamicTemplatesTests.java index 2c6c013eb613..cd8a59a1a6ad 100644 --- a/server/src/test/java/org/elasticsearch/index/mapper/DynamicTemplatesTests.java +++ b/server/src/test/java/org/elasticsearch/index/mapper/DynamicTemplatesTests.java @@ -245,11 +245,13 @@ public void testDynamicMapperWithBadMapping() throws IOException { b.endArray(); })); assertWarnings( - "Parameter [badparam] is used in a dynamic template mapping and has no effect on type [null]. Usage will result in an error in future major versions and should be removed." + "Parameter [badparam] is used in a dynamic template mapping and has no effect on type [null]. " + + "Usage will result in an error in future major versions and should be removed." ); mapper.parse(source(b -> b.field("field", "foo"))); assertWarnings( - "Parameter [badparam] is used in a dynamic template mapping and has no effect on type [null]. Usage will result in an error in future major versions and should be removed." + "Parameter [badparam] is used in a dynamic template mapping and has no effect on type [null]. " + + "Usage will result in an error in future major versions and should be removed." ); }