Skip to content

Commit

Permalink
[#noissue] Rename activeAgentService to Validator
Browse files Browse the repository at this point in the history
  • Loading branch information
kojandy committed Oct 14, 2024
1 parent 176a7d8 commit 4d2382b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
public class BatchAgentServiceImpl implements BatchAgentService {

private final ApplicationIndexDao applicationIndexDao;
private final ActiveAgentValidator activeAgentService;
private final ActiveAgentValidator activeAgentValidator;

public BatchAgentServiceImpl(
ApplicationIndexDao applicationIndexDao,
ActiveAgentValidator activeAgentService
ActiveAgentValidator activeAgentValidator
) {
this.applicationIndexDao = Objects.requireNonNull(applicationIndexDao, "applicationIndexDao");
this.activeAgentService = Objects.requireNonNull(activeAgentService, "activeAgentService");
this.activeAgentValidator = Objects.requireNonNull(activeAgentValidator, "activeAgentValidator");
}

@Override
Expand All @@ -46,7 +46,7 @@ public List<String> getIds(String applicationName) {

@Override
public boolean isActive(String agentId, Range range) {
return this.activeAgentService.isActiveAgent(agentId, range);
return this.activeAgentValidator.isActiveAgent(agentId, range);
}

@Override
Expand Down

0 comments on commit 4d2382b

Please sign in to comment.