Bump commons-io:commons-io from 2.7 to 2.14.0 in /docs/documentation/tests (#41463)

Bumps commons-io:commons-io from 2.7 to 2.14.0.

---
updated-dependencies:
- dependency-name: commons-io:commons-io
  dependency-version: 2.14.0
  dependency-type: direct:development
...

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
This commit is contained in:
dependabot[bot] 2025-08-14 06:08:39 +00:00 committed by GitHub
parent a8fa4ecb14
commit 1a262cc899
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 17 deletions

View File

@ -117,7 +117,7 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.7</version>
<version>2.14.0</version>
<scope>test</scope>
</dependency>
<dependency>

View File

@ -7,7 +7,6 @@ import org.asciidoctor.OptionsBuilder;
import org.asciidoctor.ast.Document;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@ -153,25 +152,17 @@ public class Config {
}
private List<String> loadConfig(String resource) {
try {
return IOUtils.readLines(Config.class.getResourceAsStream(resource), "utf-8");
} catch (IOException e) {
throw new RuntimeException(e);
}
return IOUtils.readLines(Config.class.getResourceAsStream(resource), "utf-8");
}
private Map<String, String> loadConfigMap(String resource) {
try {
List<String> lines = IOUtils.readLines(Config.class.getResourceAsStream(resource), "utf-8");
Map<String, String> m = new HashMap<>();
for (String l : lines) {
String[] s = l.split("=");
m.put(s[0], s[1]);
}
return m;
} catch (IOException e) {
throw new RuntimeException(e);
List<String> lines = IOUtils.readLines(Config.class.getResourceAsStream(resource), "utf-8");
Map<String, String> m = new HashMap<>();
for (String l : lines) {
String[] s = l.split("=");
m.put(s[0], s[1]);
}
return m;
}
}