From ead41f1e1480e03e0f8533950589e562416890b0 Mon Sep 17 00:00:00 2001 From: evanchooly Date: Sun, 15 Oct 2023 18:32:03 +0100 Subject: [PATCH] spotless apply --- core/src/test/java/dev/morphia/test/TestBase.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/src/test/java/dev/morphia/test/TestBase.java b/core/src/test/java/dev/morphia/test/TestBase.java index aefa1683b41..ccf5616f585 100644 --- a/core/src/test/java/dev/morphia/test/TestBase.java +++ b/core/src/test/java/dev/morphia/test/TestBase.java @@ -12,7 +12,6 @@ import java.util.Map; import java.util.Map.Entry; import java.util.function.Supplier; -import java.util.stream.Collectors; import com.mongodb.client.MongoCollection; import com.mongodb.client.MongoCursor; @@ -44,7 +43,6 @@ import static java.nio.file.Files.lines; import static java.util.stream.Collectors.toList; import static org.testng.Assert.assertEquals; -import static org.testng.Assert.assertSame; import static org.testng.Assert.fail; public abstract class TestBase extends MorphiaTestSetup { @@ -292,7 +290,7 @@ private void assertDocumentEquals(String path, Object actual, Object expected) { @NotNull private static String append(String path, String key) { - return path.isEmpty() ? key: path + "." + key; + return path.isEmpty() ? key : path + "." + key; } private static Object coerceToLong(Object object) {