From 949779d804cffad534a138686b130b2b499dadd3 Mon Sep 17 00:00:00 2001 From: "uri.nudelman" Date: Mon, 19 Aug 2024 18:07:32 -0400 Subject: [PATCH] spotlessJavaCheck Signed-off-by: uri.nudelman --- .../client/opensearch/core/MsearchRequestTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/java-client/src/test/java/org/opensearch/client/opensearch/core/MsearchRequestTest.java b/java-client/src/test/java/org/opensearch/client/opensearch/core/MsearchRequestTest.java index 3cd112e451..1113bed475 100644 --- a/java-client/src/test/java/org/opensearch/client/opensearch/core/MsearchRequestTest.java +++ b/java-client/src/test/java/org/opensearch/client/opensearch/core/MsearchRequestTest.java @@ -26,10 +26,10 @@ public void toBuilder() { @Test public void cancelAfterTimeInterval() { Time cancelAfterTimeInterval = Time.of(ti -> ti.time("1000ms")); - MsearchRequest request = new MsearchRequest.Builder() - .index("index") - .searches(Collections.emptyList()) - .cancelAfterTimeInterval(cancelAfterTimeInterval).build(); + MsearchRequest request = new MsearchRequest.Builder().index("index") + .searches(Collections.emptyList()) + .cancelAfterTimeInterval(cancelAfterTimeInterval) + .build(); assertEquals("[]", toJson(request)); assertEquals(cancelAfterTimeInterval, request.cancelAfterTimeInterval());