Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HardNorth committed Dec 22, 2023
1 parent c3cefa1 commit 4233968
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
import static com.epam.reportportal.utils.ParameterUtils.NULL_VALUE;
import static com.epam.reportportal.utils.ParameterUtils.formatParametersAsTable;
import static com.epam.reportportal.utils.markdown.MarkdownUtils.formatDataTable;
import static com.google.common.base.Strings.isNullOrEmpty;
import static java.util.Optional.ofNullable;
import static org.apache.commons.lang3.StringUtils.isNotBlank;

Expand Down Expand Up @@ -92,7 +91,7 @@ protected StartLaunchRQ buildStartLaunchRq(ListenerParameters parameters) {
rq.setStartTime(Calendar.getInstance().getTime());
rq.setMode(parameters.getLaunchRunningMode());
rq.setAttributes(new HashSet<>(parameters.getAttributes()));
if (!isNullOrEmpty(parameters.getDescription())) {
if (!isNotBlank(parameters.getDescription())) {
rq.setDescription(parameters.getDescription());
}
rq.setRerun(parameters.isRerun());
Expand Down

0 comments on commit 4233968

Please sign in to comment.