From 8fa6cc588b8423d5d7446725d92fda7046cef0fd Mon Sep 17 00:00:00 2001 From: Andrei Piankouski Date: Mon, 23 Oct 2023 16:00:35 +0300 Subject: [PATCH] EPMRPP-87223 || Fix checkstyle --- .../ws/rabbit/AsyncReportingListener.java | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/java/com/epam/ta/reportportal/ws/rabbit/AsyncReportingListener.java b/src/main/java/com/epam/ta/reportportal/ws/rabbit/AsyncReportingListener.java index 8b0e41284b..574610eeef 100644 --- a/src/main/java/com/epam/ta/reportportal/ws/rabbit/AsyncReportingListener.java +++ b/src/main/java/com/epam/ta/reportportal/ws/rabbit/AsyncReportingListener.java @@ -296,16 +296,16 @@ private void createItemLog(SaveLogRQ request, TestItem item, BinaryDataMetaInfo Launch effectiveLaunch = testItemService.getEffectiveLaunch(item); logService.saveLogMessageToElasticSearch(log, effectiveLaunch.getId()); - if (Objects.nonNull(request.getFile())) { - saveAttachment(request.getFile().getName(), metaInfo, - log.getId(), - projectId, - effectiveLaunch.getId(), - item.getItemId(), - effectiveLaunch.getUuid(), - log.getUuid() - ); - } + if (Objects.nonNull(request.getFile())) { + saveAttachment(request.getFile().getName(), metaInfo, + log.getId(), + projectId, + effectiveLaunch.getId(), + item.getItemId(), + effectiveLaunch.getUuid(), + log.getUuid() + ); + } } private void createLaunchLog(SaveLogRQ request, Launch launch, BinaryDataMetaInfo metaInfo,