Code cleanup

This commit is contained in:
George Kalampokis 2023-11-06 16:58:01 +02:00
parent c6cdcc4b15
commit e42bdcfc0a
1 changed files with 0 additions and 6 deletions

View File

@ -12,11 +12,9 @@ import java.util.List;
public class DepositRepository implements RepositoryDeposit { public class DepositRepository implements RepositoryDeposit {
private final WebClient depositClient; private final WebClient depositClient;
private final List<String> configurationIds;
public DepositRepository(WebClient depositClient) { public DepositRepository(WebClient depositClient) {
this.depositClient = depositClient; this.depositClient = depositClient;
this.configurationIds = new ArrayList<>();
} }
@ -39,8 +37,4 @@ public class DepositRepository implements RepositoryDeposit {
public String getLogo(String repositoryId) { public String getLogo(String repositoryId) {
return depositClient.get().uri("/logo/" + repositoryId).exchangeToMono(mono -> mono.bodyToMono(String.class)).block(); return depositClient.get().uri("/logo/" + repositoryId).exchangeToMono(mono -> mono.bodyToMono(String.class)).block();
} }
public List<String> getConfigurationIds() {
return configurationIds;
}
} }