RED-7290 - fix checkstyle
This commit is contained in:
parent
12649d99da
commit
6ebd6704e0
@ -24,7 +24,7 @@ public final class ResourceLoader {
|
||||
List<String> files;
|
||||
try {
|
||||
files = IOUtils.readLines(Thread.currentThread().getContextClassLoader().getResourceAsStream(name), "UTF-8");
|
||||
} catch (IOException e) {
|
||||
} catch (Exception e) {
|
||||
throw new IllegalArgumentException("could not load classpath resource: " + name, e);
|
||||
}
|
||||
return files.stream().collect(Collectors.toMap(ResourceLoader::getFileName, s -> name + s));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user