fix checkstyle
This commit is contained in:
parent
1759f340c8
commit
7a8456a0aa
@ -32,7 +32,7 @@ public class KiasService {
|
|||||||
public List<GrantDto> getNewGrantsDto() throws ParseException, IOException {
|
public List<GrantDto> getNewGrantsDto() throws ParseException, IOException {
|
||||||
Integer leaderId = userService.findOneByLoginIgnoreCase("admin").getId();
|
Integer leaderId = userService.findOneByLoginIgnoreCase("admin").getId();
|
||||||
List<GrantDto> grants = new ArrayList<>();
|
List<GrantDto> grants = new ArrayList<>();
|
||||||
try (final WebClient webClient = new WebClient()) {
|
try (WebClient webClient = new WebClient()) {
|
||||||
for (Integer year : generateGrantYears()) {
|
for (Integer year : generateGrantYears()) {
|
||||||
final HtmlPage page = webClient.getPage(String.format(BASE_URL, CONTEST_STATUS_ID, CONTEST_TYPE, year));
|
final HtmlPage page = webClient.getPage(String.format(BASE_URL, CONTEST_STATUS_ID, CONTEST_TYPE, year));
|
||||||
grants.addAll(getKiasGrants(page));
|
grants.addAll(getKiasGrants(page));
|
||||||
|
Loading…
Reference in New Issue
Block a user