From 467ed2e7b6ad0d8f8202627a7a9c6f9708d6c58a Mon Sep 17 00:00:00 2001 From: Holly Cummins Date: Thu, 20 Jun 2024 09:15:45 +0100 Subject: [PATCH] Update github-api to pick up secondary rate limit improvements --- site-validation/bad-image-issue.java | 14 +++++++------- site-validation/dead-link-issue.java | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/site-validation/bad-image-issue.java b/site-validation/bad-image-issue.java index 63a7e6e25448..fef49553f22e 100644 --- a/site-validation/bad-image-issue.java +++ b/site-validation/bad-image-issue.java @@ -2,7 +2,7 @@ //JAVA 17+ -//DEPS org.kohsuke:github-api:1.321 +//DEPS org.kohsuke:github-api:1.322 //DEPS info.picocli:picocli:4.2.0 import com.fasterxml.jackson.core.JsonProcessingException; @@ -144,7 +144,7 @@ private void processBadImage(GitHub github, BadImage link) { %s image: %s The problem image was found on these artifacts: %s - + Affected pages are - %s @@ -183,12 +183,12 @@ private List readTestOutputFile() throws IOException { if (Files.exists(filePath)) { try { return Arrays.asList(new ObjectMapper().readValue(filePath.toFile(), BadImage[].class)); - } catch (JsonProcessingException e) { - throw new RuntimeException(e); - } - } else { - return Collections.emptyList(); + } catch (JsonProcessingException e) { + throw new RuntimeException(e); } + } else { + return Collections.emptyList(); + } } public static void main(String... args) { diff --git a/site-validation/dead-link-issue.java b/site-validation/dead-link-issue.java index 209613e158bc..b8230d040116 100644 --- a/site-validation/dead-link-issue.java +++ b/site-validation/dead-link-issue.java @@ -18,7 +18,7 @@ //JAVA 17+ -//DEPS org.kohsuke:github-api:1.321 +//DEPS org.kohsuke:github-api:1.322 //DEPS info.picocli:picocli:4.2.0 import com.fasterxml.jackson.core.JsonProcessingException;