Skip to content

Commit

Permalink
Bump commons-io from 2.11.0 to 2.16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed May 20, 2024
1 parent 5a09870 commit 6473ab4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
<version>2.16.1</version>
</dependency>
</dependencies>

Expand Down
1 change: 1 addition & 0 deletions src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ The <action> type attribute can be add,update,fix,remove.
<release version="1.6.0" date="YYYY-MM-DD" description="1.6.0 Release, requires Java 8.">
<action dev="ggregory" type="update">Bump Java from 6 to 8.</action>
<action dev="ggregory" type="update">Bump commons-parent from 62 to 69.</action>
<action dev="ggregory" type="update">Bump commons-io from 2.11.0 to 2.16.1.</action>
</release>
<release version="1.5" date="2023-02-13" description="1.5 Release">
<action dev="markt" type="update">Bump Commons IO to 2.11.0</action>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.OutputStream;
import java.nio.file.InvalidPathException;

import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.io.FileUtils;
Expand Down Expand Up @@ -156,7 +157,7 @@ public void testInvalidRepository() throws Exception {
/**
* Test deserialization fails when repository contains a null character.
*/
@Test(expected=IOException.class)
@Test(expected = InvalidPathException.class)
public void testInvalidRepositoryWithNullChar() throws Exception {
// Create the FileItem
final byte[] testFieldValueBytes = createContentBytes(threshold);
Expand Down

0 comments on commit 6473ab4

Please sign in to comment.