Skip to content

Commit

Permalink
feat(impl):[TRI-1663] code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
ds-ext-kmassalski committed Sep 29, 2023
1 parent 0212f4a commit a990255
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,12 @@ void shouldReplyOnlyWhenAllJobsAreCompleted() {
}

private RelatedInvestigationJobs createRelatedJobsWith(List<UUID> uuids) {
final EdcNotification<InvestigationNotificationContent> build = EdcNotification.<InvestigationNotificationContent>builder()
.header(EdcNotificationHeader.builder()
.notificationId(
"notification-id")
.build())
.content(InvestigationNotificationContent.builder().build())
.build();
return new RelatedInvestigationJobs(build, uuids);
return new RelatedInvestigationJobs(EdcNotification.<InvestigationNotificationContent>builder()
.header(EdcNotificationHeader.builder()
.notificationId(
"notification-id")
.build())
.build(), uuids);
}

}

0 comments on commit a990255

Please sign in to comment.