Skip to content

Commit

Permalink
remove all args constructor and extranneous import
Browse files Browse the repository at this point in the history
  • Loading branch information
pmossman committed Oct 20, 2022
1 parent 233738a commit 7ef51a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import jakarta.inject.Singleton;
import java.io.IOException;
import java.util.UUID;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
Expand All @@ -19,12 +18,16 @@
*/
@Singleton
@Slf4j
@AllArgsConstructor
public class RouterService {

private final ConfigRepository configRepository;
private final GeographyMapper geographyMapper;

public RouterService(final ConfigRepository configRepository, final GeographyMapper geographyMapper) {
this.configRepository = configRepository;
this.geographyMapper = geographyMapper;
}

/**
* Given a connectionId, look up the connection's configured {@link Geography} in the config DB and
* use it to determine which Task Queue should be used for this connection's sync.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import io.airbyte.commons.temporal.scheduling.GeographyMapper;
import io.airbyte.config.Geography;
import io.airbyte.workers.temporal.scheduling.DefaultGeographyMapper;
import java.util.Arrays;
import java.util.Set;
import java.util.stream.Collectors;
Expand Down

0 comments on commit 7ef51a4

Please sign in to comment.