Skip to content
Snippets Groups Projects
Commit 124ca097 authored by Felix Reichenbach's avatar Felix Reichenbach
Browse files

OZG-7038 remove unnecessary cast

parent 8e185f8b
Branches
Tags
1 merge request!3Ozg 7038 evaluation dms quittung
......@@ -53,8 +53,7 @@ public class CommandService {
}
public Stream<ArchiveManagerCommand> findFinishedCommands(@NonNull String vorgangId) {
return remoteService.findCommands(vorgangId, Optional.of(CommandStatus.FINISHED.name()), Optional.empty())
.map(ArchiveManagerCommand.class::cast);
return remoteService.findCommands(vorgangId, Optional.of(CommandStatus.FINISHED.name()), Optional.empty());
}
public boolean hasPendingCommandsExceptWithOrder(String vorgangId, String order) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment