Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
apply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
v1r3n committed Mar 27, 2023
1 parent 9465a46 commit 5443798
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
import java.lang.reflect.Method;
import java.util.*;

import com.google.common.base.Strings;
import com.netflix.conductor.common.utils.EnvUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand All @@ -26,6 +24,7 @@
import com.netflix.conductor.sdk.workflow.task.WorkerTask;

import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Strings;
import com.google.common.reflect.ClassPath;

public class AnnotatedWorkerExecutor {
Expand Down Expand Up @@ -168,10 +167,10 @@ private void addMethod(WorkerTask annotation, Method method, Object bean) {
workerToPollingInterval.put(name, pollingInterval);

String domain = workerConfiguration.getDomain(name);
if(Strings.isNullOrEmpty(domain)) {
if (Strings.isNullOrEmpty(domain)) {
domain = annotation.domain();
}
if(!Strings.isNullOrEmpty(domain)) {
if (!Strings.isNullOrEmpty(domain)) {
workerDomains.put(name, domain);
}

Expand Down

0 comments on commit 5443798

Please sign in to comment.