Skip to content

Commit

Permalink
[io] Update commons io to 2.11.0 and fix code to handle illegal argum…
Browse files Browse the repository at this point in the history
…ent exception

mainly due to test sending incredibly wrong value on purpose that old just stated io exception on.
  • Loading branch information
hazendaz committed Dec 26, 2023
1 parent 2cf58dd commit 9c2f398
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.7</version>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private void copyCustomResources(String resourceLocation, File srcFile) {
} catch (FileNotFoundException e) {
LOG.log(Level.WARNING, "File not found: {0}", srcFile.getAbsolutePath());
LOG.log(Level.FINE, "", e);
} catch (IOException e) {
} catch (IOException | IllegalArgumentException e) {
throw new ValidationException(e);
}
}
Expand Down

0 comments on commit 9c2f398

Please sign in to comment.