Bump commons-io:commons-io from 2.11.0 to 2.12.0
This commit is contained in:
parent
c662aa7e2d
commit
e055978562
|
@ -27,6 +27,7 @@ import java.io.File;
|
|||
import java.io.IOException;
|
||||
import java.io.ObjectOutputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.nio.file.InvalidPathException;
|
||||
|
||||
import org.apache.commons.fileupload2.disk.DiskFileItemFactory;
|
||||
import org.apache.commons.io.FileUtils;
|
||||
|
@ -206,9 +207,7 @@ public class DiskFileItemSerializeTest {
|
|||
// Create the FileItem
|
||||
final byte[] testFieldValueBytes = createContentBytes(THRESHOLD);
|
||||
final File repository = new File(FileUtils.getTempDirectory(), "\0");
|
||||
final FileItem item = createFileItem(testFieldValueBytes, repository);
|
||||
assertThrows(IOException.class, () -> deserialize(serialize(item)));
|
||||
|
||||
assertThrows(InvalidPathException.class, () -> createFileItem(testFieldValueBytes, repository));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -238,7 +238,7 @@
|
|||
<commons.osgi.import>!javax.portlet,*</commons.osgi.import>
|
||||
<commons.osgi.dynamicImport>javax.portlet</commons.osgi.dynamicImport>
|
||||
<commons.servlet-api.version>2.5</commons.servlet-api.version>
|
||||
<commons.io.version>2.11.0</commons.io.version>
|
||||
<commons.io.version>2.12.0</commons.io.version>
|
||||
<commons.lang3.version>3.12.0</commons.lang3.version>
|
||||
<japicmp.skip>true</japicmp.skip>
|
||||
<clirr.skip>true</clirr.skip>
|
||||
|
|
|
@ -78,7 +78,7 @@ The <action> type attribute can be add,update,fix,remove.
|
|||
<action dev="ggregory" type="update" due-to="Dependabot, Gary Gregory">Bump actions/checkout from 2.3.4 to 3.0.2 #125.</action>
|
||||
<action dev="ggregory" type="update" due-to="Gary Gregory">Bump build actions/setup-java from 1.4.3 to 3.8.0 #142, #175, #180, #182.</action>
|
||||
<action dev="jochen" type="update">Bump Java compiler level to 1.8.</action>
|
||||
<action dev="ggregory" type="update" due-to="Gary Gregory, Dependabot">Bump tests from commons-io:commons-io 2.6 to 2.11.0, #104.</action>
|
||||
<action dev="ggregory" type="update" due-to="Gary Gregory, Dependabot">Bump commons-io:commons-io 2.6 to 2.12.0, #104.</action>
|
||||
<action dev="ggregory" type="update" due-to="Dependabot">Bump junit-jupiter from 5.5.2 to 5.9.1 #31, #130, #156, #166.</action>
|
||||
<action dev="ggregory" type="update" due-to="Dependabot">Bump maven-pmd-plugin from 3.13.0 to 3.19.0 #48, #162.</action>
|
||||
<action dev="ggregory" type="update" due-to="Gary Gregory">Bump commons.japicmp.version from 0.13.0 to 0.16.0.</action>
|
||||
|
|
Loading…
Reference in New Issue