Skip to content

Commit e81bb0a

Browse files
committed
Bump org.apache.commons:commons-parent from 90 to 91
1 parent f11570f commit e81bb0a

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>org.apache.commons</groupId>
2121
<artifactId>commons-parent</artifactId>
22-
<version>90</version>
22+
<version>91</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525
<groupId>commons-io</groupId>

src/changes/changes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The <action> type attribute can be add,update,fix,remove.
7474
<action dev="pkarwasz" type="add" due-to="Piotr P. Karwasz">Add CloseShieldChannel to close-shielded NIO Channels #786.</action>
7575
<action dev="pkarwasz" type="add" due-to="Piotr P. Karwasz">Added IOUtils.checkFromIndexSize as a Java 8 backport of Objects.checkFromIndexSize #790.</action>
7676
<!-- UPDATE -->
77-
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.commons:commons-parent from 85 to 90 #774, #783, #808.</action>
77+
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">Bump org.apache.commons:commons-parent from 85 to 91 #774, #783, #808.</action>
7878
<action type="update" dev="ggregory" due-to="Gary Gregory">[test] Bump commons-codec:commons-codec from 1.18.0 to 1.19.0.</action>
7979
<action type="update" dev="ggregory" due-to="Gary Gregory, Dependabot">[test] Bump commons.bytebuddy.version from 1.17.6 to 1.17.8 #769.</action>
8080
<action type="update" dev="ggregory" due-to="Gary Gregory">[test] Bump org.apache.commons:commons-lang3 from 3.18.0 to 3.19.0.</action>

src/test/java/org/apache/commons/io/FileUtilsTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -666,17 +666,17 @@ void testContentEqualsIgnoreEOL() throws Exception {
666666
assertFalse(FileUtils.contentEqualsIgnoreEOL(tfile1, tfile3, null));
667667
assertFalse(FileUtils.contentEqualsIgnoreEOL(tfile2, tfile3, null));
668668

669-
final URL urlCR = getClass().getResource("FileUtilsTestDataCR.dat");
669+
final URL urlCR = getClass().getResource("FileUtilsTestDataCR.bin");
670670
assertNotNull(urlCR);
671671
final File cr = new File(urlCR.toURI());
672672
assertTrue(cr.exists());
673673

674-
final URL urlCRLF = getClass().getResource("FileUtilsTestDataCRLF.dat");
674+
final URL urlCRLF = getClass().getResource("FileUtilsTestDataCRLF.bin");
675675
assertNotNull(urlCRLF);
676676
final File crlf = new File(urlCRLF.toURI());
677677
assertTrue(crlf.exists());
678678

679-
final URL urlLF = getClass().getResource("FileUtilsTestDataLF.dat");
679+
final URL urlLF = getClass().getResource("FileUtilsTestDataLF.bin");
680680
assertNotNull(urlLF);
681681
final File lf = new File(urlLF.toURI());
682682
assertTrue(lf.exists());

src/test/java/org/apache/commons/io/IOUtilsTest.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1375,16 +1375,16 @@ void testResourceToByteArray_ExistingResourceAtRootPackage_WithClassLoader() thr
13751375

13761376
@Test
13771377
void testResourceToByteArray_ExistingResourceAtSubPackage() throws Exception {
1378-
final long fileSize = TestResources.getFile("FileUtilsTestDataCR.dat").length();
1379-
final byte[] bytes = IOUtils.resourceToByteArray("/org/apache/commons/io/FileUtilsTestDataCR.dat");
1378+
final long fileSize = TestResources.getFile("FileUtilsTestDataCR.bin").length();
1379+
final byte[] bytes = IOUtils.resourceToByteArray("/org/apache/commons/io/FileUtilsTestDataCR.bin");
13801380
assertNotNull(bytes);
13811381
assertEquals(fileSize, bytes.length);
13821382
}
13831383

13841384
@Test
13851385
void testResourceToByteArray_ExistingResourceAtSubPackage_WithClassLoader() throws Exception {
1386-
final long fileSize = TestResources.getFile("FileUtilsTestDataCR.dat").length();
1387-
final byte[] bytes = IOUtils.resourceToByteArray("org/apache/commons/io/FileUtilsTestDataCR.dat",
1386+
final long fileSize = TestResources.getFile("FileUtilsTestDataCR.bin").length();
1387+
final byte[] bytes = IOUtils.resourceToByteArray("org/apache/commons/io/FileUtilsTestDataCR.bin",
13881388
ClassLoader.getSystemClassLoader());
13891389
assertNotNull(bytes);
13901390
assertEquals(fileSize, bytes.length);
@@ -1436,8 +1436,8 @@ void testResourceToString_ExistingResourceAtRootPackage_WithClassLoader() throws
14361436

14371437
@Test
14381438
void testResourceToString_ExistingResourceAtSubPackage() throws Exception {
1439-
final long fileSize = TestResources.getFile("FileUtilsTestDataCR.dat").length();
1440-
final String content = IOUtils.resourceToString("/org/apache/commons/io/FileUtilsTestDataCR.dat",
1439+
final long fileSize = TestResources.getFile("FileUtilsTestDataCR.bin").length();
1440+
final String content = IOUtils.resourceToString("/org/apache/commons/io/FileUtilsTestDataCR.bin",
14411441
StandardCharsets.UTF_8);
14421442

14431443
assertNotNull(content);
@@ -1446,8 +1446,8 @@ void testResourceToString_ExistingResourceAtSubPackage() throws Exception {
14461446

14471447
@Test
14481448
void testResourceToString_ExistingResourceAtSubPackage_WithClassLoader() throws Exception {
1449-
final long fileSize = TestResources.getFile("FileUtilsTestDataCR.dat").length();
1450-
final String content = IOUtils.resourceToString("org/apache/commons/io/FileUtilsTestDataCR.dat",
1449+
final long fileSize = TestResources.getFile("FileUtilsTestDataCR.bin").length();
1450+
final String content = IOUtils.resourceToString("org/apache/commons/io/FileUtilsTestDataCR.bin",
14511451
StandardCharsets.UTF_8, ClassLoader.getSystemClassLoader());
14521452

14531453
assertNotNull(content);
@@ -1506,18 +1506,18 @@ void testResourceToURL_ExistingResourceAtRootPackage_WithClassLoader() throws Ex
15061506

15071507
@Test
15081508
void testResourceToURL_ExistingResourceAtSubPackage() throws Exception {
1509-
final URL url = IOUtils.resourceToURL("/org/apache/commons/io/FileUtilsTestDataCR.dat");
1509+
final URL url = IOUtils.resourceToURL("/org/apache/commons/io/FileUtilsTestDataCR.bin");
15101510
assertNotNull(url);
1511-
assertTrue(url.getFile().endsWith("/org/apache/commons/io/FileUtilsTestDataCR.dat"));
1511+
assertTrue(url.getFile().endsWith("/org/apache/commons/io/FileUtilsTestDataCR.bin"));
15121512
}
15131513

15141514
@Test
15151515
void testResourceToURL_ExistingResourceAtSubPackage_WithClassLoader() throws Exception {
1516-
final URL url = IOUtils.resourceToURL("org/apache/commons/io/FileUtilsTestDataCR.dat",
1516+
final URL url = IOUtils.resourceToURL("org/apache/commons/io/FileUtilsTestDataCR.bin",
15171517
ClassLoader.getSystemClassLoader());
15181518

15191519
assertNotNull(url);
1520-
assertTrue(url.getFile().endsWith("/org/apache/commons/io/FileUtilsTestDataCR.dat"));
1520+
assertTrue(url.getFile().endsWith("/org/apache/commons/io/FileUtilsTestDataCR.bin"));
15211521
}
15221522

15231523
@Test

0 commit comments

Comments
 (0)