Skip to content
Snippets Groups Projects
Commit c9912ec7 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-4713 OZG-4927 formatting

parent 3928c735
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,8 @@ public class StatusChangeHistoryBuilder extends ChangeHistoryBuilder<StatusChang
}
String getStatusBeforeChange(CommandWithPrevious commandWithPrevious) {
return Optional.ofNullable(commandWithPrevious.getPrevious()).map(this::getStatus)
return Optional.ofNullable(commandWithPrevious.getPrevious())
.map(this::getStatus)
.orElse(VORGANG_STATUS_TO_NAME.get(VorgangStatus.NEU));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment