Feature idea
The modifyArgumentsOnBackgroundProcess method is currently throwing an IllegalStateException if the method was called with a non background processMode. The only call of this method and the name suggests that the method should only be called if isBackground is true. We should check if this exception is still needed and maybe can be replaced with an assert instead.
Additional context
Mentioned in: #1330 (comment)
Feature idea
The
modifyArgumentsOnBackgroundProcessmethod is currently throwing anIllegalStateExceptionif the method was called with a non backgroundprocessMode. The only call of this method and the name suggests that the method should only be called ifisBackgroundis true. We should check if this exception is still needed and maybe can be replaced with an assert instead.Additional context
Mentioned in: #1330 (comment)