Code cleanup
This commit is contained in:
parent
c6cdcc4b15
commit
e42bdcfc0a
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue