fixing style

Signed-off-by: salaboy <Salaboy@gmail.com>
This commit is contained in:
salaboy 2025-08-26 11:50:04 +01:00
parent f118b31238
commit a1c116fd4d
1 changed files with 1 additions and 6 deletions

View File

@ -50,11 +50,6 @@ public class WorkflowTaskOptions {
public WorkflowTaskOptions(WorkflowTaskRetryPolicy retryPolicy, WorkflowTaskRetryHandler retryHandler, String appId) {
this.retryPolicy = retryPolicy;
this.retryHandler = retryHandler;
if( appId != null){
throw new RuntimeException("Setting an appId is not supported in 1.15.x");
}
}
if (appId != null) {
throw new RuntimeException("Setting an appId is not supported in 1.15.x");
}
@ -85,7 +80,7 @@ public class WorkflowTaskOptions {
*/
public WorkflowTaskOptions(WorkflowTaskRetryHandler retryHandler, String appId) {
this(null, retryHandler, appId);
if( appId != null){
if (appId != null) {
throw new RuntimeException("Setting an appId is not supported in 1.15.x");
}
}