Skip to content

Commit ba385e4

Browse files
committed
Fix spotless
Signed-off-by: Peter Nied <peternied@hotmail.com>
1 parent edd8902 commit ba385e4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

test/framework/src/main/java/org/opensearch/test/OpenSearchTestCase.java

+9-1
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,15 @@ protected static void checkStaticState(boolean afterClass) throws Exception {
639639
try {
640640
// ensure that there are no status logger messages which would indicate a problem with our Log4j usage; we map the
641641
// StatusData instances to Strings as otherwise their toString output is useless
642-
assertThat(statusData.stream().map(status -> status.getLevel() + ": " + status.getMessage() + (status.getThrowable() == null ? "" : "\r\n\r\nTrowable:\r\n" + status.getThrowable().toString())).collect(Collectors.joining("\r\n")),
642+
assertThat(
643+
statusData.stream()
644+
.map(
645+
status -> status.getLevel()
646+
+ ": "
647+
+ status.getMessage()
648+
+ (status.getThrowable() == null ? "" : "\r\n\r\nTrowable:\r\n" + status.getThrowable().toString())
649+
)
650+
.collect(Collectors.joining("\r\n")),
643651
statusData.stream().map(status -> status.getMessage().getFormattedMessage()).collect(Collectors.toList()),
644652
empty()
645653
);

0 commit comments

Comments
 (0)