From 84488666db794f68a274453864b49c577ac1ceab Mon Sep 17 00:00:00 2001 From: Kostas Krikellas Date: Sat, 5 Oct 2024 19:22:35 +0300 Subject: [PATCH] spotless --- .../java/org/elasticsearch/index/mapper/MapperTestCase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/framework/src/main/java/org/elasticsearch/index/mapper/MapperTestCase.java b/test/framework/src/main/java/org/elasticsearch/index/mapper/MapperTestCase.java index 5ca9db8b93d80..eef7fc4e50080 100644 --- a/test/framework/src/main/java/org/elasticsearch/index/mapper/MapperTestCase.java +++ b/test/framework/src/main/java/org/elasticsearch/index/mapper/MapperTestCase.java @@ -1582,7 +1582,7 @@ public void testSyntheticSourceKeepArrays() throws IOException { String expected = Strings.toString(builder); String actual = syntheticSource(mapperAll, buildInput); // Check for single-element array, the array source is not stored in this case. - if (expected.replace("[","").replace("]", "").equals(actual) == false) { + if (expected.replace("[", "").replace("]", "").equals(actual) == false) { assertThat(actual, equalTo(expected)); } }