instance_id stringlengths 14 29 | project stringclasses 10
values | repo stringclasses 10
values | v_minus_1_commit stringlengths 40 40 | v0_commit stringlengths 40 40 | v0_date stringdate 2016-01-06 00:00:00 2025-12-31 00:00:00 | v0_message stringlengths 15 1.77k | labels listlengths 1 3 | changed_test_methods listlengths 1 74 | new_test_files listlengths 0 2 | new_test_methods stringlengths 2 685 | num_changed_files int64 2 20 | src_changed_lines int64 0 732 | test_changed_lines int64 5 200 | source_patch stringlengths 616 74.4k | test_patch stringlengths 762 3.32M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
commons-compress__20f2dfbc | commons-compress | apache/commons-compress | 5fc625d91c883f3e7c99f9e27ab78ffdbb3f5ae9 | 20f2dfbc48a18d8cce8f95005d067752c0bef31f | 2020-08-15 00:00:00 | COMPRESS-546 : throw exception on corrputed z64
ZipArchiveInputStream should throw exception if a corrputed zip64 extra
field is met. | [
"missing"
] | [
"ZipArchiveInputStreamTest.throwsIOExceptionIfThereIsCorruptedZip64Extra"
] | [] | {"ZipArchiveInputStreamTest": ["throwsIOExceptionIfThereIsCorruptedZip64Extra"]} | 4 | 4 | 8 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index ad224f7239f2192fea7959f942e3d0baa564cf52..73cf48cdcffb55c795ffb5bbef474e411025639f 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -185,6 +185,11 @@ The <action> type attribute can be add,update,fix,remove.
allocation to... | diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java
index 9e47fcd3aadec7afd22d2c1cf6c85495cce9781a..23b695a2aafc05a1d8f7e59465342cd22404a711 100644
--- a/src/test/java/org/apache/comm... |
commons-compress__212e7a28 | commons-compress | apache/commons-compress | dd27ef822a9b41e8d42ec6b343236703ed21b7bc | 212e7a280c925ca6d53dd43120f75ff2195a552b | 2025-08-04 00:00:00 | org.apache.commons.compress.archivers.zip.ZipFile.createBoundedInputStream(long,
long) now throws an ArchiveException instead of IllegalArgumentException
- org.apache.commons.compress.archivers.zip.ZipFile.getContentBeforeFirstLocalFileHeader()
now throws an ArchiveException instead of IllegalArgumentException | [
"missing",
"stale"
] | [
"TarArchiveInputStreamTest.testPaxHeaders",
"AirliftZstdZipFile.testCreateBoundedInputStream"
] | [] | {"ZipFileTest": ["testCreateBoundedInputStream"]} | 6 | 27 | 24 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index e1cddef5f529a77c11f34aa2870d44a0429067b3..b4258380d4807e8762220724ce84eec3a634ba3e 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -68,6 +68,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="add"... | diff --git a/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java b/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java
index 5a78e006fce2b7e6a665e2a330fd25734b04296e..036663cc00ed5183afebd9dd811567815f5189e8 100644
--- a/src/test/java/org/apache/commons/compress/arc... |
commons-compress__237879c3 | commons-compress | apache/commons-compress | d9166a57da9f412657482161fd2758538c11e8d9 | 237879c39c30d54e4899827260addafc66ccc3a4 | 2025-03-25 00:00:00 | [COMPRESS-696] ZipArchiveInputStream.getCompressedCount() throws
NullPointerException if called before getNextEntry() | [
"missing",
"stale"
] | [
"AirliftZipArchiveInputStream.testGetCompressedCountEmptyZip",
"AirliftZipArchiveInputStream.testGetUncompressedCountEmptyZip"
] | [] | {"ZipArchiveInputStreamTest": ["testGetCompressedCountEmptyZip", "testGetUncompressedCountEmptyZip"]} | 3 | 3 | 13 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 9552e0d442fc38289f68dc2bd63f766430b227bc..2cb45c5299a3beb11e30f813623608d6275d1a38 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -70,6 +70,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix"... | diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java
index c4a24a066892525a361032149eda7d6777141d89..c19ee53696d4fb14be22f7631ca3c266c75c37fe 100644
--- a/src/test/java/org/apache/comm... |
commons-compress__25e9cb30 | commons-compress | apache/commons-compress | f8ef32abb126cf752e8ccccc7eb5b574a70f1180 | 25e9cb3066ca82b1b12ef08e28bc69125254d0aa | 2024-11-06 00:00:00 | Add GzipParameters.getModificationInstant()
Add GzipParameters.setModificationInstant(Instant) | [
"stale"
] | [
"GZipTest.testMetadataRoundTrip"
] | [] | {} | 3 | 19 | 6 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 406a69c8bb6e5673578dea464e956ce3f273266c..6f55dcb4b1dac19ceba3b104676b273c05a3af9e 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -44,11 +44,13 @@ The <action> type attribute can be add,update,fix,remove.
<title>Apache Comm... | diff --git a/src/test/java/org/apache/commons/compress/compressors/GZipTest.java b/src/test/java/org/apache/commons/compress/compressors/GZipTest.java
index fc4cca1281adef22e9bff08b275fd6cc16219182..550dbcc30ac7ca771d829d8b26afedf602ae2fbe 100644
--- a/src/test/java/org/apache/commons/compress/compressors/GZipTest.java... |
commons-compress__28873912 | commons-compress | apache/commons-compress | c7c1a8b561bb94dc1154ac654cb957e807a21d77 | 2887391296216e5196921f04bea8cd834843cfe2 | 2021-05-01 00:00:00 | COMPRESS-575 harden parser for PAX 1.0 sparse struct blocks | [
"missing",
"stale"
] | [
"TarUtilsTest.parsePAX1XSparseHeaders",
"TarUtilsTest.parsePAX1XSparseHeadersRejectsIncompleteLastLine",
"TarUtilsTest.parsePAX1XSparseHeadersRejectsNonNumericNumberOfEntries",
"TarUtilsTest.parsePAX1XSparseHeadersRejectsNonNumericOffset",
"TarUtilsTest.parsePAX1XSparseHeadersRejectsNonNumericNumbytes",
"... | [] | {"TarUtilsTest": ["parsePAX1XSparseHeaders", "parsePAX1XSparseHeadersRejectsIncompleteLastLine", "parsePAX1XSparseHeadersRejectsNegativeNumberOfEntries", "parsePAX1XSparseHeadersRejectsNegativeNumbytes", "parsePAX1XSparseHeadersRejectsNegativeOffset", "parsePAX1XSparseHeadersRejectsNonNumericNumberOfEntries", "parsePAX... | 2 | 19 | 112 | diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarUtils.java
index eee894e999d8eb1a0556f647bde435ace00f7b06..3ba7a1b844f54d3c91aa1ae1de70d53465ae0286 100644
--- a/src/main/java/org/apache/commons/compress/archivers/tar/TarUtil... | diff --git a/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java b/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java
index 0bca2f00f1b697a9660891a649c531e649f1e91c..adb2408729f9b49e256846996d2f8bacba1a7d78 100644
--- a/src/test/java/org/apache/commons/compress/archivers/tar... |
commons-compress__29481dd0 | commons-compress | apache/commons-compress | 56d780acd21e4d42e4b4280682933910ce89d1c4 | 29481dd09b4b7d0b5ddbcc9ae92db49b9f2fba6a | 2020-08-09 00:00:00 | Add SevenZOutputFile.createArchiveEntry(Path, String). | [
"stale"
] | [
"SevenZOutputFileTest.testDirectoriesAndEmptyFiles"
] | [] | {} | 4 | 20 | 9 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index cad70d13a7e265b1db8273c2ef9f454852e64c6b..777b9d68dfed1320a472d1979c68f6bf41ed3f57 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -136,6 +136,9 @@ The <action> type attribute can be add,update,fix,remove.
<action type="up... | diff --git a/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFileTest.java b/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFileTest.java
index bebc26bd29a3dd9f5fc569042533c9d748992a58..b31ffcb039be73310a00f5a2c82bb6fc9914fa61 100644
--- a/src/test/java/org/apache/commons/... |
commons-compress__2acca516 | commons-compress | apache/commons-compress | 36ac1740fa32895c40af69c500524a5f551e4c7d | 2acca51656334254dcfac8f33d6d476464e93ea7 | 2022-11-30 00:00:00 | Avoid NPE in FileNameUtils.getExtension(Path) for paths with zero
elements like root paths | [
"stale"
] | [
"FileNameUtilsTest.getExtensionPathBaseCases"
] | [] | {} | 3 | 3 | 8 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 107d53056342cc1d269a405ea80ec193c79f1aa7..c43b4cb11cf726f3ccf3dff12542200bdb36f51a 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -46,6 +46,7 @@ The <action> type attribute can be add,update,fix,remove.
<!-- FIX -->
... | diff --git a/src/test/java/org/apache/commons/compress/utils/FileNameUtilsTest.java b/src/test/java/org/apache/commons/compress/utils/FileNameUtilsTest.java
index b0edcc3a889a7f53769421c22cf3804662c37b36..328918cc70f27134c03279d26a1808f2e967e69e 100644
--- a/src/test/java/org/apache/commons/compress/utils/FileNameUtils... |
commons-compress__2ea0e464 | commons-compress | apache/commons-compress | 1793167ce82c43b8ca15cee53fd96e164345607a | 2ea0e4647c6826bea9b04acb104a2954003e8b5c | 2020-05-24 00:00:00 | COMPRESS-523 be more defensive when skipping over remainder of archive | [
"missing"
] | [
"ZipArchiveInputStreamTest.throwsIfZip64ExtraCouldNotBeUnderstoodY"
] | [] | {} | 3 | 29 | 13 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 41f79f62ef137f8f0156c274ffbefceeb6ad0119..e454ea78765424cfadad9ac9f8c58f0d9fc71d9d 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -81,6 +81,9 @@ The <action> type attribute can be add,update,fix,remove.
IOException rath... | diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java
index fb468f12ceb9e7957ad751b99e4b4d69b39e3051..44ff4b3d8feb0780a2b228a4f1311192d9f9d57e 100644
--- a/src/test/java/org/apache/comm... |
commons-compress__36ac1740 | commons-compress | apache/commons-compress | 793b4db0a497defcc1232bf66d63fa8ae8cef057 | 36ac1740fa32895c40af69c500524a5f551e4c7d | 2022-11-30 00:00:00 | Avoid NPE in FileNameUtils.getBaseName(Path) for paths with zero
elements like root paths | [
"stale"
] | [
"FileNameUtilsTest.getBaseNamePathBaseCases"
] | [] | {} | 3 | 3 | 10 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 1764288c93cf21a7201c68c754aa74733c774957..107d53056342cc1d269a405ea80ec193c79f1aa7 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -45,6 +45,7 @@ The <action> type attribute can be add,update,fix,remove.
<release version="1.... | diff --git a/src/test/java/org/apache/commons/compress/utils/FileNameUtilsTest.java b/src/test/java/org/apache/commons/compress/utils/FileNameUtilsTest.java
index f100e3c4df88c250bc1d55ae44cb3d5e0566457e..b0edcc3a889a7f53769421c22cf3804662c37b36 100644
--- a/src/test/java/org/apache/commons/compress/utils/FileNameUtils... |
commons-compress__3db0879a | commons-compress | apache/commons-compress | b0dcbac737fc2ba7357272e5bfb0c4e93f80dd0c | 3db0879aabbafb815a6c5a2552d0e65e8c9d482c | 2019-10-21 00:00:00 | add testcases for random access in 7z | [
"missing",
"stale"
] | [
"SevenZFileTest.extractSpecifiedFile",
"SevenZFileTest.extractNonExistSpecifiedFile"
] | [] | {"SevenZFileTest": ["extractNonExistSpecifiedFile", "extractSpecifiedFile"]} | 2 | 3 | 47 | diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java
index da61b3ec42b22e0a78e2318ab1a40ecf176ee399..428e960a3640c073b6e2e8cb96dde0bce815cdd8 100644
--- a/src/main/java/org/apache/commons/compress/archivers/s... | diff --git a/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java b/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java
index db4fe1d5fe2f7030f71e1a35dfc6b7b74ba7610f..967673d2b900faf1363236afbfd05be91b480774 100644
--- a/src/test/java/org/apache/commons/compress/arc... |
commons-compress__4c9659c4 | commons-compress | apache/commons-compress | 75cb7770dc3784876cf738a279614ad1b56c039e | 4c9659c4ea66839e9219b3368b95af49dd032ba9 | 2023-11-11 00:00:00 | [COMPRESS-647] Throw IOException instead of
ArrayIndexOutOfBoundsException when reading Zip with data descriptor
entries. | [
"stale"
] | [
"ZipArchiveInputStreamTest.zipInputStream"
] | [] | {} | 4 | 4 | 18 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index ceabe3e6df9dfe2a4aa29d384fff1d1be00de0db..9359f82101fcf31f5c8e6a591bdb4f82450cc96f 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -88,6 +88,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix"... | diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java
index 0189a666ad39f5b884ff194d1b2082f91678cfac..b172724a5d5483285bd5d8ed939600e05479bd15 100644
--- a/src/test/java/org/apache/comm... |
commons-compress__50569e5b | commons-compress | apache/commons-compress | b87cc99c8312630427ade0319d100b40143dd9e7 | 50569e5bfb1526c54acf0abe5a6e4d5463c5a4bd | 2019-12-06 00:00:00 | COMPRESS-124 : add testcases for extracting sparse | [
"stale",
"missing"
] | [
"SparseFilesTest.testOldGNU",
"SparseFilesTest.testExtractSparseTarsOnWindows",
"SparseFilesTest.testExtractOldGNU",
"SparseFilesTest.testExtractExtendedOldGNU",
"SparseFilesTest.testExtractPaxGNU",
"TarUtilsTest.testParseSparse"
] | [] | {"SparseFilesTest": ["testExtractExtendedOldGNU", "testExtractOldGNU", "testExtractPaxGNU", "testExtractSparseTarsOnWindows"], "TarUtilsTest": ["testParseSparse"]} | 8 | 443 | 177 | diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
index 9012a3c1fcad042a806f203c1f5ca8236da139e9..2aac73ee99ed03e317417f76e65bd7691eb86489 100644
--- a/src/main/java/org/apache/commons/compress/archive... | diff --git a/src/test/java/org/apache/commons/compress/archivers/tar/SparseFilesTest.java b/src/test/java/org/apache/commons/compress/archivers/tar/SparseFilesTest.java
index 56ac2273108135c0ab796d48724c190f2870dfeb..33b0c9179d596004942b54690c44c81bda770274 100644
--- a/src/test/java/org/apache/commons/compress/archive... |
commons-compress__61288b80 | commons-compress | apache/commons-compress | 197a7e66ffc23babbce03d1354c3f6c1bd381961 | 61288b80c7327e542123d6fdcc8d443f26bba263 | 2025-08-03 00:00:00 | org.apache.commons.compress.archivers.sevenz.SevenZFile.Builder.get()
now throws a MemoryLimitException (an IOException subclass) instead of
an OOME
- Add org.apache.commons.compress.MemoryLimitException.MemoryLimitException(long,
long) | [
"stale",
"missing"
] | [
"MemoryLimitExceptionTest.testAccessorsLimitInt",
"MemoryLimitExceptionTest.testAccessorsLimitLong"
] | [] | {"MemoryLimitExceptionTest": ["testAccessorsLimitInt", "testAccessorsLimitLong"]} | 4 | 43 | 10 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 6821d19030d72255ad54d4672893d8da5a7ecb96..0a3333bd104e089fd3b6b2cdfe4390f1b1a865ba 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -42,7 +42,7 @@ The <action> type attribute can be add,update,fix,remove.
<title>Apache Common... | diff --git a/src/test/java/org/apache/commons/compress/MemoryLimitExceptionTest.java b/src/test/java/org/apache/commons/compress/MemoryLimitExceptionTest.java
index 8347f9db8ab4ec137d2ed50d83564fb9059f4ca1..42d9678c8809cded21bb721b3672132bf3d3d5b2 100644
--- a/src/test/java/org/apache/commons/compress/MemoryLimitExcept... |
commons-compress__69de512d | commons-compress | apache/commons-compress | 1e6fd140c081fc50b62c628bec259f2d88417ebf | 69de512db43c9ca35da11664a1502702353a6fdd | 2020-04-22 00:00:00 | COMPRESS-510 : fix for multiple retrievals of InputStream for same SevenZFile entry fails
fix for multiple retrievals of InputStream for same SevenZFile entry fails | [
"missing",
"stale"
] | [
"SevenZFileTest.retrieveInputStreamForAllEntriesWithoutCRCMultipleTimes"
] | [] | {"SevenZFileTest": ["retrieveInputStreamForAllEntriesWithoutCRCMultipleTimes"]} | 5 | 54 | 20 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 90804e8ef3b87df85b3745b4c3338e1bcb63a2f3..4ebd4709b2425fe993e72931c773cebcbf44c7e3 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -62,7 +62,7 @@ The <action> type attribute can be add,update,fix,remove.
</action>
<... | diff --git a/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java b/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java
index 68b478c53fa40c1b5ca100bf09c0d4e91d53e6a8..0839d0e50c4f467e6ef77ad4b824403f53da7c3e 100644
--- a/src/test/java/org/apache/commons/compress/arc... |
commons-compress__7897da76 | commons-compress | apache/commons-compress | 6615be084bf20b0044fbd8cb8ac869340e1336d9 | 7897da76152e44029b90698ff195c49e035f8c73 | 2019-08-20 00:00:00 | COMPRESS-478 provide default names in line with 7z tools | [
"missing",
"stale"
] | [
"SevenZFileTest.getDefaultNameWorksAsExpected"
] | [] | {"SevenZFileTest": ["getDefaultNameWorksAsExpected"]} | 3 | 36 | 17 | diff --git a/pom.xml b/pom.xml
index cecbedfe47e120af803bbd4554ec31865d947bb2..7b839ff0be5f7f0beed8808399ab7666d4f3c3a6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -90,6 +90,18 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj.
<version>4.12</version>
<scope>test</scope>
</dependency>
+ <d... | diff --git a/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java b/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java
index 4ce07eee9066f3cd493843d373452c414b9ac3f7..008aeba2a70e386bc7a631f65df667351214ee56 100644
--- a/src/test/java/org/apache/commons/compress/arc... |
commons-compress__7a96d544 | commons-compress | apache/commons-compress | 898e57b4dcd0f13ba7253398ac224da581e043e9 | 7a96d5449c7768da126d57bd4ef2305971c1a6dc | 2019-11-07 00:00:00 | COMPRESS-342 add random access of 7z files | [
"missing",
"stale"
] | [
"SevenZFileTest.extractSpecifiedFile",
"SevenZFileTest.testRandomAccessTogetherWithSequentialAccess",
"SevenZFileTest.testRandomAccessWhenJumpingBackwards"
] | [] | {"SevenZFileTest": ["testRandomAccessTogetherWithSequentialAccess", "testRandomAccessWhenJumpingBackwards"]} | 2 | 81 | 103 | diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java
index 4152d289b37e1b4e1570182aec5408c7cf4b4005..b73cf5cfb5b98770ab2a83efe58bee49098980a0 100644
--- a/src/main/java/org/apache/commons/compress/archivers/s... | diff --git a/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java b/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java
index 701a0e725d391c97988a97ddb2a43436c91f46f8..b37184b6cc7c7648aec32bf4b51c844061ada8ab 100644
--- a/src/test/java/org/apache/commons/compress/arc... |
commons-compress__7fffa344 | commons-compress | apache/commons-compress | 74f37a09b315451a514acfb6faefcd67d776f513 | 7fffa344e008a9df3e2872ac3049d9ae3ec87bc1 | 2025-03-02 00:00:00 | Use IOUtils.copyLarge()
Add missing unit tests | [
"stale"
] | [
"IOUtilsTest.testCopyRangeThrowsOnZeroBufferSize"
] | [] | {} | 2 | 11 | 5 | diff --git a/src/main/java/org/apache/commons/compress/utils/IOUtils.java b/src/main/java/org/apache/commons/compress/utils/IOUtils.java
index 04e9eb9facfa2696daef70a31e1734d956d419c6..81f8f91506297a256ab9e6c9adfae68bf26a92b6 100644
--- a/src/main/java/org/apache/commons/compress/utils/IOUtils.java
+++ b/src/main/java/... | diff --git a/src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java b/src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java
index 94a29bd50b2fdadde76f425c7ec8e248482abbe0..d5ddf22c4930388b5f55a70bdf5791a13ce6ac5b 100644
--- a/src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java
+++ b/sr... |
commons-compress__80124dd9 | commons-compress | apache/commons-compress | d80d76f81b45655b0b1d234d25ee26f817f7b770 | 80124dd9fe4b0a0b2e203ca19aacac8cd0afc96f | 2021-07-03 00:00:00 | remove pattern where we first allocate an array and then try to fill it | [
"stale",
"missing"
] | [
"IOUtilsTest.copyRangeThrowsOnZeroBufferSize",
"IOUtilsTest.copyRangeDoesntCopyMoreThanAskedFor",
"IOUtilsTest.copyRangeStopsIfThereIsNothingToCopyAnymore",
"IOUtilsTest.readRangeFromStreamDoesntReadMoreThanAskedFor",
"IOUtilsTest.readRangeFromStreamStopsIfThereIsNothingToReadAnymore",
"IOUtilsTest.readRa... | [] | {"IOUtilsTest": ["copyRangeDoesntCopyMoreThanAskedFor", "copyRangeStopsIfThereIsNothingToCopyAnymore", "copyRangeThrowsOnZeroBufferSize", "readRangeFromChannelDoesntReadMoreThanAskedFor", "readRangeFromChannelStopsIfThereIsNothingToReadAnymore", "readRangeFromStreamDoesntReadMoreThanAskedFor", "readRangeFromStreamStops... | 14 | 242 | 76 | diff --git a/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/ar/ArArchiveInputStream.java
index 36ef33f00de01278679df9b738b47d2babe8413b..f30951de7f89eb8c0b4ecd54e51777053814f98f 100644
--- a/src/main/java/org/apache/commons/compress... | diff --git a/src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java b/src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java
index 9b2b3146ca3c4438863ac36192a19b0cd6fcfa29..a692ef03b78648de210c004ec5bf004d15affe9b 100644
--- a/src/test/java/org/apache/commons/compress/utils/IOUtilsTest.java
+++ b/sr... |
commons-compress__82986dd1 | commons-compress | apache/commons-compress | ad9b4244607aaca0eb77c54219515c28c52839e7 | 82986dd12fc255d218a6454364a50eb9ae3f812d | 2019-08-18 00:00:00 | COMPRESS-482 stored with data descriptor now works without DD signature | [
"missing",
"stale"
] | [
"ZipArchiveInputStreamTest.properlyReadsStoredEntries",
"ZipArchiveInputStreamTest.rejectsStoredEntriesWithDataDescriptorByDefault",
"ZipArchiveInputStreamTest.properlyReadsStoredEntryWithDataDescriptorWithSignature",
"ZipArchiveInputStreamTest.properlyReadsStoredEntryWithDataDescriptorWithoutSignature"
] | [] | {"ZipArchiveInputStreamTest": ["properlyReadsStoredEntries", "properlyReadsStoredEntryWithDataDescriptorWithSignature", "properlyReadsStoredEntryWithDataDescriptorWithoutSignature", "rejectsStoredEntriesWithDataDescriptorByDefault"]} | 5 | 9 | 71 | diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStream.java
index 3d33fa4a220e63020f0de32c9154108d84549892..818c1bf703effbc33b68d0dc589da6c5f354fd76 100644
--- a/src/main/java/org/apache/commons/comp... | diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java
index b9395fbfd336625dd824c064e9f4c2f61365f257..0392fd5021680f5c1acf61244cebd276cd60db6e 100644
--- a/src/test/java/org/apache/comm... |
commons-compress__8797ec4e | commons-compress | apache/commons-compress | 1b7528fbd6295a3958daf1b1114621ee5e40e83c | 8797ec4eadc5ad4e0b278677979010ce6aa41f7b | 2021-02-20 00:00:00 | COMPRESS-566 allow gzip buffer size to be configured | [
"missing",
"stale"
] | [
"GZipTestCase.testInvalidBufferSize",
"GZipTestCase.testExtraFlagsFastestCompression",
"GZipTestCase.testExtraFlagsBestCompression",
"GZipTestCase.testExtraFlagsDefaultCompression"
] | [] | {"GZipTestCase": ["testInvalidBufferSize"]} | 3 | 21 | 25 | diff --git a/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java b/src/main/java/org/apache/commons/compress/compressors/gzip/GzipCompressorOutputStream.java
index 2cf6d935f103d74c727e1477acf21b258e613e81..fa5a816a554791d42ec3a17e059f1a2e5592c77c 100644
--- a/src/main/java/org/apa... | diff --git a/src/test/java/org/apache/commons/compress/compressors/GZipTestCase.java b/src/test/java/org/apache/commons/compress/compressors/GZipTestCase.java
index ca41d141172245241a062586c2dd59c1a7a17a5d..addf8b24ece91dd05d7dd358c39847f29b1d759a 100644
--- a/src/test/java/org/apache/commons/compress/compressors/GZipT... |
commons-compress__8f541a56 | commons-compress | apache/commons-compress | 69de512db43c9ca35da11664a1502702353a6fdd | 8f541a56b849c4fa9d5c22d2dde8d61eed8808cc | 2020-05-03 00:00:00 | COMPRESS-404: Use java.nio.Path as backing object in TarArchiveEntry | [
"missing",
"stale"
] | [
"TarArchiveEntryTest.getFileFromNonFileEntry"
] | [] | {"TarArchiveEntryTest": ["getFileFromNonFileEntry"]} | 2 | 107 | 6 | diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
index f180780126679d5d9139ed5108cdb4b7e58ba983..9e8144d32a2d084276f139cf870776bcedf3840e 100644
--- a/src/main/java/org/apache/commons/compress/archive... | diff --git a/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveEntryTest.java b/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveEntryTest.java
index 703d3a47018373f93be197e34b2e934cfe307b4e..81ba473634a57e380fb70c3e9aa9e89dfc4b034b 100644
--- a/src/test/java/org/apache/commons/compress... |
commons-compress__90417eec | commons-compress | apache/commons-compress | 6d4e0afab260b471d58931e2fe32e96a094204ba | 90417eec10b90722c3a8a5fb05de465c44930c75 | 2023-10-20 00:00:00 | Add GzipUtils.getCompressedFileName(String) and deprecate
getCompressedFilename(String)
- Add GzipUtils.getUncompressedFileName(String) and deprecate
getUncompressedFilename(String)
- Add GzipUtils.isCompressedFileName(String) and deprecate
isCompressedFilename(String) | [
"stale"
] | [
"GzipUtilsTestCase.testGetCompressedFilename",
"GzipUtilsTestCase.testGetUncompressedFilename",
"GzipUtilsTestCase.testIsCompressedFilename"
] | [] | {} | 3 | 49 | 57 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index d3a552117b73cd74944e367719f33230062cf0bc..7e4ace91143fbb89a17a1199d0548865a9d686ff 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -60,6 +60,9 @@ The <action> type attribute can be add,update,fix,remove.
<action type="add"... | diff --git a/src/test/java/org/apache/commons/compress/compressors/GzipUtilsTestCase.java b/src/test/java/org/apache/commons/compress/compressors/GzipUtilsTestCase.java
index cea4373cdf8f1f28b8558eb005583ab5e675b89e..cb873caf06b39718bf06b56b432d5a3ed9c4ae37 100644
--- a/src/test/java/org/apache/commons/compress/compres... |
commons-compress__96385a61 | commons-compress | apache/commons-compress | 415cd348a98a889aa999b6c5c60bcf8b9111bbb2 | 96385a611d2c9f1a3e36a77076ea278e020e3540 | 2025-02-04 00:00:00 | Add support for XZ compression in ZIP archives | [
"missing",
"stale"
] | [
"ZipCompressMethodXzTest.testXzInputStream",
"ZipCompressMethodXzTest.testXzMethodInZipFile",
"ZipCompressMethodXzTest.testXzMethodWriteRead",
"ZipCompressMethodZstdTest.testZstdInputStream"
] | [
"ZipCompressMethodXzTest"
] | {"ZipCompressMethodXzTest": ["testXzInputStream", "testXzMethodInZipFile", "testXzMethodWriteRead"]} | 8 | 20 | 175 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 825d67c53c84cc694c2030470b4276382f603ef3..fe609e70331c6fe3cf560e999b850b027cf0d4f6 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -85,6 +85,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="add"... | diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ZipCompressMethodXzTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ZipCompressMethodXzTest.java
new file mode 100644
index 0000000000000000000000000000000000000000..d464815b02cf2f24f6a3eeaa857504bf7c6fb8cd
--- /dev/null
+++ b/src/t... |
commons-compress__a6c6d671 | commons-compress | apache/commons-compress | 73a10d9604dec8e125697476008763ef3fc1aa3c | a6c6d6710beec71af392f7595a786335dafa3073 | 2023-01-13 00:00:00 | Add org.apache.commons.compress.archivers.zip.DefaultBackingStoreSupplier
to write to a custom folder instead of the default temporary folder | [
"missing",
"stale"
] | [
"ParallelScatterZipCreatorTest.concurrentCustomTempFolder",
"ParallelScatterZipCreatorTest.concurrentDefaultTempFolder"
] | [] | {"ParallelScatterZipCreatorTest": ["concurrentCustomTempFolder", "concurrentDefaultTempFolder"]} | 4 | 73 | 24 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 386e657fa43c4b8c0f49d949871939d7b3b38b57..abde48a95a87e588b64d5f2c9d18ad9495b4e1eb 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -56,6 +56,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="add"... | diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ParallelScatterZipCreatorTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ParallelScatterZipCreatorTest.java
index 71ae7b94b45cc477f1d4db5853da5b1ff06adb7d..cadfb2ac99309c237342d5c3357a88f2fba0cbc6 100644
--- a/src/test/java/org/apa... |
commons-compress__aa1bc872 | commons-compress | apache/commons-compress | ea37bc163ecd6dfa9e0ec4935f4f0d1557c30b4d | aa1bc8720d1186aeb03efff3f7f26cf2d76d2c6a | 2020-05-24 00:00:00 | COMPRESS-521 COMPRESS-522 COMPRESS-525 IOException instead of IllegalArgumentException | [
"missing",
"stale"
] | [
"Deflate64CompressorInputStreamTest.shouldThrowIOExceptionInsteadOfRuntimeExceptionCOMPRESS521",
"Deflate64CompressorInputStreamTest.shouldThrowIOExceptionInsteadOfRuntimeExceptionCOMPRESS522",
"Deflate64CompressorInputStreamTest.shouldThrowIOExceptionInsteadOfRuntimeExceptionCOMPRESS525"
] | [] | {"Deflate64CompressorInputStreamTest": ["shouldThrowIOExceptionInsteadOfRuntimeExceptionCOMPRESS521", "shouldThrowIOExceptionInsteadOfRuntimeExceptionCOMPRESS522", "shouldThrowIOExceptionInsteadOfRuntimeExceptionCOMPRESS525"]} | 3 | 6 | 66 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 1d1e1e959a1e21ce1ce4c24d4d39d5590bae1755..a94239085a6b99490a1e574dcf7e0399e32a000e 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -85,6 +85,12 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="CO... | diff --git a/src/test/java/org/apache/commons/compress/compressors/deflate64/Deflate64CompressorInputStreamTest.java b/src/test/java/org/apache/commons/compress/compressors/deflate64/Deflate64CompressorInputStreamTest.java
index 531a14fea02f4a9decce518bb779bd58ea2e0ebf..a6cbefd38abc7f89c6fe6a60a643ddbb5d31eeab 100644
-... |
commons-compress__aab830d1 | commons-compress | apache/commons-compress | 6a5d4ba3b4326b3ccd26b431af64e73f59301ec8 | aab830d131e9df3f1ca2e4701d25d7ededb5f62a | 2024-05-17 00:00:00 | Avoid NullPointerException in
java.nio.channels.spi.AbstractInterruptibleChannel.close() when calling
org.apache.commons.compress.archivers.zip.FileRandomAccessOutputStream.close() | [
"missing",
"stale"
] | [
"FileRandomAccessOutputStreamTest.testClose",
"FileRandomAccessOutputStreamTest.testWrite"
] | [] | {"FileRandomAccessOutputStreamTest": ["testClose"]} | 3 | 4 | 13 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 8c3c6fc0ff9614b2f6b5307d52ebb9e4cb62f5ef..bcf059fa2e2b479b35a08cdfb99700b787dc0ef5 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -57,6 +57,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix"... | diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/FileRandomAccessOutputStreamTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/FileRandomAccessOutputStreamTest.java
index 7cccd2514cba28a9d7c093554167b9a30562cf7c..1c563c250911e11101ffe449ebf33b3685fb23cd 100644
--- a/src/test/java/o... |
commons-compress__ab8316c5 | commons-compress | apache/commons-compress | ac6cfa45e457227e49d66e4670453abf812e5608 | ab8316c57b0a1ce62b6c58c7d459132e6e735be9 | 2023-11-11 00:00:00 | [COMPRESS-648] Add ability to restrict autodetection in CompressorStreamFactory (#433)
* Changes for COMPRESS-648
* Added comment
* refactored
* Removed line breaks and changed one method to package-private
* refactoring test
* Removed unused import
---------
Co-authored-by: Yakov Shafranovich <ya... | [
"missing",
"stale"
] | [
"TestData.testDetect",
"TestData.testDetectNullOrEmptyCompressorNames",
"TestData.testDetectLimitedByName",
"TestData.testDetectLimitedByNameNotFound",
"TestData.testCreateWithAutoDetection",
"TestData.testCreateLimitedByName",
"TestData.testCreateLimitedByNameNotFound"
] | [] | {"DetectCompressorTest": ["testCreateLimitedByName", "testCreateLimitedByNameNotFound", "testCreateWithAutoDetection", "testDetectLimitedByNameNotFound", "testDetectNullOrEmptyCompressorNames"]} | 2 | 58 | 117 | diff --git a/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java b/src/main/java/org/apache/commons/compress/compressors/CompressorStreamFactory.java
index fc7c7fe5ea2352a109d796986941d6f57c156a41..3f604cfcb3bae547d458222abcedb366ad38b805 100644
--- a/src/main/java/org/apache/commons/comp... | diff --git a/src/test/java/org/apache/commons/compress/compressors/DetectCompressorTest.java b/src/test/java/org/apache/commons/compress/compressors/DetectCompressorTest.java
index 1c7e2ab810bf3802461aedb59a11a709dfd2640f..c8970294a4fb1eb152c2c5da578ff9fe010373c1 100644
--- a/src/test/java/org/apache/commons/compress/c... |
commons-compress__af63d690 | commons-compress | apache/commons-compress | 3449298549c1f59bebb262b476fe42170010cb48 | af63d69043348dcb24d76adcde0e6db61e6657b3 | 2020-01-04 00:00:00 | COMPRESS-499 properly set the position when truncate is called
closes #88 | [
"stale",
"missing"
] | [
"SeekableInMemoryByteChannelTest.shouldSignalEOFWhenPositionAtTheEnd",
"SeekableInMemoryByteChannelTest.shouldSetProperPosition",
"SeekableInMemoryByteChannelTest.shouldThrowExceptionWhenTruncatingToIncorrectSize",
"SeekableInMemoryByteChannelTest.closeIsIdempotent",
"SeekableInMemoryByteChannelTest.throwsC... | [] | {"SeekableInMemoryByteChannelTest": ["closeIsIdempotent", "readingFromAPositionAfterEndReturnsEOF", "shouldThrowExceptionWhenTruncatingToIncorrectSize", "throwsClosedChannelExceptionWhenPositionIsSetOnClosedChannel", "throwsIllegalArgumentExceptionWhenPositionIsSetToANegativeValue", "throwsIllegalArgumentExceptionWhenT... | 3 | 39 | 200 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 01cbadaf47371b3ed2bd66341c077ee8f0183da8..2a6c0389ec4c20c3e3e7c93f80d3535f3512aab9 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -82,6 +82,10 @@ The <action> type attribute can be add,update,fix,remove.
due-to="P... | diff --git a/src/test/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannelTest.java b/src/test/java/org/apache/commons/compress/utils/SeekableInMemoryByteChannelTest.java
index 32af30847fa37b36d36f71a00019a47392a734a3..df2fc83ac961eedb98751b7c36e0133ef2a7c30d 100644
--- a/src/test/java/org/apache/commons/... |
commons-compress__b1caa7ce | commons-compress | apache/commons-compress | f59a682158941b4003bdd88f83b72e1a10e7231f | b1caa7cef3733b24a4d682b8d8f1d7094200bb30 | 2023-10-20 00:00:00 | Add LZMAUtils.getCompressedFileName(String) and deprecate
getCompressedFilename(String)
- Add LZMAUtils.getUncompressedFileName(String) and deprecate
getUncompressedFilename(String)
- Add LZMAUtils.isCompressedFileName(String) and deprecate
isCompressedFilename(String) | [
"stale"
] | [
"LZMAUtilsTestCase.testGetCompressedFilename",
"LZMAUtilsTestCase.testGetUncompressedFilename",
"LZMAUtilsTestCase.testIsCompressedFilename"
] | [] | {} | 4 | 73 | 25 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index ff10b3edcb0caa4a1252e8c34c9496da09fed5af..9b362e22ac5e059a2aa1fb8e0e514b2c59379d89 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -54,6 +54,9 @@ The <action> type attribute can be add,update,fix,remove.
<action type="add"... | diff --git a/src/test/java/org/apache/commons/compress/compressors/lzma/LZMAUtilsTestCase.java b/src/test/java/org/apache/commons/compress/compressors/lzma/LZMAUtilsTestCase.java
index 48babdf8673ac86909e0215047cc0de525a54125..d6b02e20d4b1089408bee6154dd41b4ad2edb6eb 100644
--- a/src/test/java/org/apache/commons/compre... |
commons-compress__ba415833 | commons-compress | apache/commons-compress | 754018bd11cfae20c3787633da4fd0c1f351a7f9 | ba415833dcbcddabf7e47d6e2ecfa5c602ac1560 | 2023-11-14 00:00:00 | COMPRESS-632: Check for invalid PAX values in TarArchiveEntry (#438)
* Added check for invalid Instant values when parsing PAX headers in TarArchiveEntry
* updated TarArchiveEntry
* Better internal comment
---------
Co-authored-by: Yakov Shafranovich <yakovsh@amazon.com>
Co-authored-by: Gary Gregory <gary... | [
"stale"
] | [
"TarArchiveEntryTest.testPaxTimeFieldsForInvalidValues"
] | [] | {} | 2 | 9 | 5 | diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveEntry.java
index 360f9407a0c31c22f4895e6936b243ac8346bca5..13ab998a6a808acc34c18795e9ade1f5c715833c 100644
--- a/src/main/java/org/apache/commons/compress/archive... | diff --git a/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveEntryTest.java b/src/test/java/org/apache/commons/compress/archivers/tar/TarArchiveEntryTest.java
index 2e36fc513e4355ed3308c0b03141b55844be91c9..3d3e9e94404b3a903f8ffa2f3d38fd08d9df28d5 100644
--- a/src/test/java/org/apache/commons/compress... |
commons-compress__c4d61c64 | commons-compress | apache/commons-compress | 532161e106dfc411295040b51b44b197450b9900 | c4d61c6484235ac2c0e45f9022f376bfe9cc9e73 | 2025-08-11 00:00:00 | Simplify `ArArchiveInputStream` special record handling (#685)
* Simplify `ArArchiveInputStream` special record handling
Refactors `ArArchiveInputStream.getNextEntry()` to follow the same structural approach as `TarArchiveInputStream.getNextEntry()`, improving consistency and maintainability.
**Key changes:**
* Uni... | [
"stale",
"missing"
] | [
"ArTest.testExplicitFileEntry",
"ArTest.testFileEntryFromFile",
"ArTest.testFileEntryFromPath",
"ArTest.testXtestDirectoryEntryFromFile",
"ArTest.testXtestExplicitDirectoryEntry",
"ArArchiveInputStreamTest.testGetNextArEntry",
"ArArchiveInputStreamTest.testSimpleInputStreamDeprecated"
] | [] | {"ArArchiveInputStreamTest": ["testGetNextArEntry"]} | 7 | 322 | 22 | diff --git a/.gitattributes b/.gitattributes
index 7271615af795d746ce2127065b206c54fccb4ea8..72348c0062d759815879bad4d315e4ccd8ba8afc 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -16,6 +16,7 @@
* text=auto
*.ar binary
*.arj binary
+*.... | diff --git a/src/test/java/org/apache/commons/compress/archivers/ArTest.java b/src/test/java/org/apache/commons/compress/archivers/ArTest.java
index ceb7501dc6c80921474c78e8517903ff65aa3c70..9650057794d3467cf83d0dbe31718e87639af388 100644
--- a/src/test/java/org/apache/commons/compress/archivers/ArTest.java
+++ b/src/t... |
commons-compress__ccf4f3d8 | commons-compress | apache/commons-compress | 1e8d131ec08ae418f0140d8166d452dff6739937 | ccf4f3d856f4ec7f62644bf0a8e0ad6bc155b1f9 | 2020-03-06 00:00:00 | COMPRESS-505 : multiple read of same 7z entry fix
There are exceptions when reading multiple times of same 7z entry.
There are also some exceptions when using getNextEntry and getInputStream at the same time.
This is the fix for them. | [
"stale",
"missing"
] | [
"SevenZFileTest.testRandomAccessWhenJumpingBackwards",
"SevenZFileTest.testRandomAccessWhenJumpingForwards",
"SevenZFileTest.testRandomAccessMultipleReadSameFile"
] | [] | {"SevenZFileTest": ["testRandomAccessMultipleReadSameFile", "testRandomAccessWhenJumpingForwards"]} | 3 | 170 | 112 | diff --git a/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java b/src/main/java/org/apache/commons/compress/archivers/sevenz/SevenZFile.java
index 713211a631007f6f0af6c2b9e14da3f244ce739d..6d6d085a236c41df52f3e7d14abebcbc6aeba61b 100644
--- a/src/main/java/org/apache/commons/compress/archivers/s... | diff --git a/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java b/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZFileTest.java
index 3fb99ced2372c1308fa6cc23b37eb98dae45e840..c47904b9f1bd725c20dee49ff66aa2eb2ed03bfe 100644
--- a/src/test/java/org/apache/commons/compress/arc... |
commons-compress__d29c0856 | commons-compress | apache/commons-compress | b1caa7cef3733b24a4d682b8d8f1d7094200bb30 | d29c085640f579231c9afe39e2ba97ab5e94c59b | 2023-10-20 00:00:00 | Add XYUtils.getCompressedFileName(String) and deprecate
getCompressedFilename(String)
- Add XYUtils.getUncompressedFileName(String) and deprecate
getUncompressedFilename(String)
- Add XYUtils.isCompressedFileName(String) and deprecate
isCompressedFilename(String) | [
"stale"
] | [
"XZUtilsTestCase.testGetCompressedFilename",
"XZUtilsTestCase.testGetUncompressedFilename",
"XZUtilsTestCase.testIsCompressedFilename"
] | [] | {} | 3 | 32 | 27 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 9b362e22ac5e059a2aa1fb8e0e514b2c59379d89..8b19ad66a6ef09b027aa304edca163660b79e8f5 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -57,6 +57,9 @@ The <action> type attribute can be add,update,fix,remove.
<action type="add"... | diff --git a/src/test/java/org/apache/commons/compress/compressors/xz/XZUtilsTestCase.java b/src/test/java/org/apache/commons/compress/compressors/xz/XZUtilsTestCase.java
index f600699c3ca773a4d7f1d6bac10e3842ffd4fd46..8dada43600c144c6efd66b89f5f4b03adb08ad96 100644
--- a/src/test/java/org/apache/commons/compress/compr... |
commons-compress__d561559e | commons-compress | apache/commons-compress | a99c96e0a1d487bd285dc1b97cc758aa2ae8cf8f | d561559e2745f8cd3c22d6bc8020a32720b80a6c | 2025-08-16 00:00:00 | org.apache.commons.compress.harmony.unpack200 now throws
Pack200Exception, instead of other runtime exceptions | [
"stale",
"missing"
] | [
"LookupSwitchFormTest.test",
"TableSwitchFormTest.test"
] | [
"TableSwitchFormTest"
] | {"TableSwitchFormTest": ["test"]} | 4 | 12 | 53 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index f214de914e8ee263cbb34ab1555c8c4bef5d016e..df32edcc2e1f866ec227393f986037d3328440e1 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -77,9 +77,9 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix"... | diff --git a/src/test/java/org/apache/commons/compress/harmony/unpack200/LookupSwitchFormTest.java b/src/test/java/org/apache/commons/compress/harmony/unpack200/LookupSwitchFormTest.java
index 3c5cb2e692dd88add38b051b73859a040cac4f26..c3fce2d29608a2eabb272ce7a9a1fb69bcb1533b 100644
--- a/src/test/java/org/apache/common... |
commons-compress__dab9c488 | commons-compress | apache/commons-compress | 2c85b2cd40889166c0341a3049cd769b22d7687e | dab9c48811f90c92daf3dd095623f5f18010a553 | 2020-08-09 00:00:00 | Add Path support to ZipArchiveOutputStream with an eye on implementing (#123)
additional ArchiveOutputStream.createArchiveEntry(Path, String,
LinkOption...) methods. | [
"missing",
"stale"
] | [
"ZipTestCase.testFileEntryFromFile",
"ZipTestCase.testZipArchiveEntryNewFromPath"
] | [] | {"ZipTestCase": ["testZipArchiveEntryNewFromPath"]} | 4 | 126 | 76 | diff --git a/src/main/java/org/apache/commons/compress/archivers/ArchiveOutputStream.java b/src/main/java/org/apache/commons/compress/archivers/ArchiveOutputStream.java
index 4377b6dc4494bc6529b854c414559f1a8f16948e..c7c4a520afad72dcddb1066aa8081acb336f040a 100644
--- a/src/main/java/org/apache/commons/compress/archive... | diff --git a/src/test/java/org/apache/commons/compress/archivers/ZipTestCase.java b/src/test/java/org/apache/commons/compress/archivers/ZipTestCase.java
index e66a30a8078d0e752d842b54ca0dec8106329e78..dcb61fdd5cf76b6f52fea202568b92c643dacdc4 100644
--- a/src/test/java/org/apache/commons/compress/archivers/ZipTestCase.j... |
commons-compress__dd0063a0 | commons-compress | apache/commons-compress | 6b8ae855e41aa1c0e7e07c72d384c5ce88f67999 | dd0063a0ee0349dcbd71c2e0ac7341df7dec6742 | 2019-08-17 00:00:00 | COMPRESS-479 simplify some implementation parts, add tests | [
"stale",
"missing"
] | [
"ZipArchiveEntryTest.reparsingUnicodeExtraWithUnsupportedversionThrowsInStrictMode",
"ZipArchiveEntryTest.bestEffortIncludesUnparseableExtraData",
"ZipArchiveEntryTest.onlyParseableLenientExcludesUnparseableExtraData",
"ZipArchiveEntryTest.strictForKnowExtraFieldsIncludesUnparseableExtraData",
"ZipArchiveEn... | [] | {"ZipArchiveEntryTest": ["bestEffortIncludesUnparseableExtraData", "draconicThrowsOnUnparseableExtraData", "onlyParseableLenientExcludesUnparseableExtraData", "onlyParseableStrictExcludesUnparseableExtraData", "strictForKnowExtraFieldsIncludesUnparseableExtraData"]} | 2 | 82 | 59 | diff --git a/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java b/src/main/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntry.java
index 0412d212326790f68488199a118c1b033f701db4..767f615d87d2f7bdc7b0c69afdd6cca34017246d 100644
--- a/src/main/java/org/apache/commons/compress/archive... | diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntryTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveEntryTest.java
index 584235f1c74ffc4a22fe4ee506824647291eabf0..4ae85e02b581b94cd280f23acebd6dc63fd6691c 100644
--- a/src/test/java/org/apache/commons/compress... |
commons-compress__e0d45558 | commons-compress | apache/commons-compress | c5b60cabd77773ca50072f2eb1a9aec36c89babf | e0d455582500ad0ff70dbb89b02d875ebd70b110 | 2021-06-05 00:00:00 | add TarFile special case to Lister and Expander | [
"missing",
"stale"
] | [
"ExpanderTest.tarFileVersion"
] | [] | {"ExpanderTest": ["tarFileVersion"]} | 4 | 54 | 32 | diff --git a/src/main/java/org/apache/commons/compress/archivers/Lister.java b/src/main/java/org/apache/commons/compress/archivers/Lister.java
index 0b651991ae13cad21a44a1490ab48d1803087904..e50020f8ed0631cf1b57aca4d2a7eb9510b21737 100644
--- a/src/main/java/org/apache/commons/compress/archivers/Lister.java
+++ b/src/m... | diff --git a/src/test/java/org/apache/commons/compress/archivers/examples/ExpanderTest.java b/src/test/java/org/apache/commons/compress/archivers/examples/ExpanderTest.java
index e3aa0dd18cc036ffbab15121a9ee9514167362b9..1a9cf30f37a0662a7fe21175a78b8b7d64aae817 100644
--- a/src/test/java/org/apache/commons/compress/arc... |
commons-compress__e0f21a49 | commons-compress | apache/commons-compress | 2de7057052b311cf30874da266331df85931b868 | e0f21a4996738e0275db0d6ba38cf51b07a711a0 | 2023-11-10 00:00:00 | [COMPRESS-632] LZWInputStream.initializeTables(int) should throw
IllegalArgumentException instead of ArrayIndexOutOfBoundsException #435
Apply a different version of PR #435 from Yakov Shafranovich | [
"missing",
"stale"
] | [
"ZCompressorInputStreamTest.testInvalidMaxCodeSize",
"ZCompressorInputStreamTest.testMultiByteReadConsistentlyReturnsMinusOneAtEof",
"ZCompressorInputStreamTest.testSingleByteReadConsistentlyReturnsMinusOneAtEof"
] | [] | {"ZCompressorInputStreamTest": ["testInvalidMaxCodeSize"]} | 3 | 10 | 31 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 6448265ed1ab58769e282c66bb5a1dae54d20c05..412805e02f1b35b5bf1ef466aacb9348df0066e8 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -86,6 +86,7 @@ The <action> type attribute can be add,update,fix,remove.
<action type="fix"... | diff --git a/src/test/java/org/apache/commons/compress/compressors/z/ZCompressorInputStreamTest.java b/src/test/java/org/apache/commons/compress/compressors/z/ZCompressorInputStreamTest.java
index 793360f05eb98a718fa06c2c94781da9147618dd..4509092059f30a50b1fafa97f8b67521da8c3dd2 100644
--- a/src/test/java/org/apache/co... |
commons-compress__e176d4b7 | commons-compress | apache/commons-compress | aa1bc8720d1186aeb03efff3f7f26cf2d76d2c6a | e176d4b7d2a818dd7550c9dcb16250c3470869f2 | 2020-05-24 00:00:00 | COMPRESS-526 COMRESS-527 more potential runtime exceptions in deflate64 | [
"missing",
"stale"
] | [
"Deflate64CompressorInputStreamTest.shouldThrowIOExceptionInsteadOfRuntimeExceptionCOMPRESS526",
"Deflate64CompressorInputStreamTest.shouldThrowIOExceptionInsteadOfRuntimeExceptionCOMPRESS527"
] | [] | {"Deflate64CompressorInputStreamTest": ["shouldThrowIOExceptionInsteadOfRuntimeExceptionCOMPRESS526", "shouldThrowIOExceptionInsteadOfRuntimeExceptionCOMPRESS527"]} | 4 | 11 | 43 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index a94239085a6b99490a1e574dcf7e0399e32a000e..fb47c04499653ce364c459fc010b743d2da2d6e8 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -89,7 +89,7 @@ The <action> type attribute can be add,update,fix,remove.
Added improved c... | diff --git a/src/test/java/org/apache/commons/compress/compressors/deflate64/Deflate64CompressorInputStreamTest.java b/src/test/java/org/apache/commons/compress/compressors/deflate64/Deflate64CompressorInputStreamTest.java
index a6cbefd38abc7f89c6fe6a60a643ddbb5d31eeab..f4f1aa22f0ce00c0abe7c5cc594867342c91135c 100644
-... |
commons-compress__ecf514b4 | commons-compress | apache/commons-compress | ef765af60786caf58be3efcf1fe84620bf4f2872 | ecf514b46342c783586c2703a5b0f371092933c3 | 2021-05-01 00:00:00 | COMPRESS-575 harden parser of PAX 0.1 GNU sparse map | [
"missing",
"stale"
] | [
"TarUtilsTest.parseFromPAX01SparseHeaders",
"TarUtilsTest.parseFromPAX01SparseHeadersRejectsOddNumberOfEntries",
"TarUtilsTest.parseFromPAX01SparseHeadersRejectsNonNumericOffset",
"TarUtilsTest.parseFromPAX01SparseHeadersRejectsNonNumericNumbytes",
"TarUtilsTest.parseFromPAX01SparseHeadersRejectsNegativeOff... | [] | {"TarUtilsTest": ["parseFromPAX01SparseHeaders", "parseFromPAX01SparseHeadersRejectsNegativeNumbytes", "parseFromPAX01SparseHeadersRejectsNegativeOffset", "parseFromPAX01SparseHeadersRejectsNonNumericNumbytes", "parseFromPAX01SparseHeadersRejectsNonNumericOffset", "parseFromPAX01SparseHeadersRejectsOddNumberOfEntries",... | 4 | 54 | 54 | diff --git a/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/tar/TarArchiveInputStream.java
index e67f1d7430e083f56e56e9c1268d07b513293d43..4aaeba96730b46a77c30bc754415c5a0fe384011 100644
--- a/src/main/java/org/apache/commons/comp... | diff --git a/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java b/src/test/java/org/apache/commons/compress/archivers/tar/TarUtilsTest.java
index 4e04f06dddfaef2ef9609d41bb3c995603ff8480..1727ecd1009b1ffb5bd6ce8dcfbd323fdd88ffea 100644
--- a/src/test/java/org/apache/commons/compress/archivers/tar... |
commons-compress__f0d13f96 | commons-compress | apache/commons-compress | f4eb199ba9f786a5e7e1ec8c5799d741439a028f | f0d13f961fedfe93f3114778608edca8533cd717 | 2022-12-10 00:00:00 | [COMPRESS-633] Add encryption support for SevenZ (#332)
* feat: Encyrption support for Seven7
Implementation of password-based encryption for 7z compressor
COMPRESS-633
* feat: Encyrption support for Seven7 without `AES/CBC/PKCS5Padding`
As `AES/CBC/PKCS5Padding` is raised as weak of security, a manual imp... | [
"missing",
"stale"
] | [
"SevenZOutputFileTest.testEncrypt"
] | [] | {"SevenZOutputFileTest": ["testEncrypt"]} | 6 | 324 | 65 | diff --git a/.gitignore b/.gitignore
index aae2af58b3d3480c5c55e8222d28a9476b55106b..c57d236b9ddea97140ec6e579c1cc0979c5be6d9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@ target
.classpath
.settings
.idea
+.vscode
*.iml
*~
/.externalToolBuilders/
diff --git a/src/main/java/org/apache/commons/compress/... | diff --git a/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFileTest.java b/src/test/java/org/apache/commons/compress/archivers/sevenz/SevenZOutputFileTest.java
index 908951fdd7af4cd26c83daabefaa764826ec9b17..53b165435a93cac88b9134fcc3c5df9bd7a6c968 100644
--- a/src/test/java/org/apache/commons/... |
commons-compress__f59a6821 | commons-compress | apache/commons-compress | 6c20f8b1226cc7dd55bae98b224bb87795390b75 | f59a682158941b4003bdd88f83b72e1a10e7231f | 2023-10-19 00:00:00 | Add BZip2Util.getCompressedFileName(String) and deprecate
getCompressedFilename(String)
- Add BZip2Util.getUncompressedFileName(String) and deprecate
getUncompressedFilename(String)
- Add BZip2Util.isCompressedFileName(String) and deprecate
isCompressedFilename(String) | [
"stale"
] | [
"BZip2UtilsTestCase.testGetCompressedFilename",
"BZip2UtilsTestCase.testGetUncompressedFilename",
"BZip2UtilsTestCase.testIsCompressedFilename"
] | [] | {} | 3 | 48 | 35 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index a71ea082041cdd24ebe28b43bc6b78a5ad9262f0..ff10b3edcb0caa4a1252e8c34c9496da09fed5af 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -51,6 +51,9 @@ The <action> type attribute can be add,update,fix,remove.
<action type="add"... | diff --git a/src/test/java/org/apache/commons/compress/compressors/BZip2UtilsTestCase.java b/src/test/java/org/apache/commons/compress/compressors/BZip2UtilsTestCase.java
index 8203bcb63b1f7a965186fcc5d36c0ed1de3dc9f0..1e41c4ab58b262d383602814b7815bed0f5a9726 100644
--- a/src/test/java/org/apache/commons/compress/compr... |
commons-compress__f5d0bb1e | commons-compress | apache/commons-compress | a9aabdd9ef5e822710734aafde1a90e4b619ce78 | f5d0bb1e287038de05415ca65145d82166a7bf0f | 2019-08-18 00:00:00 | COMPRESS-483 throw exception if stored DD doesn't match what has been read | [
"missing",
"stale"
] | [
"ZipArchiveInputStreamTest.throwsIfStoredDDIsInconsistent",
"ZipArchiveInputStreamTest.throwsIfStoredDDIsDifferentFromLengthRead"
] | [] | {"ZipArchiveInputStreamTest": ["throwsIfStoredDDIsDifferentFromLengthRead", "throwsIfStoredDDIsInconsistent"]} | 6 | 13 | 28 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index d18539b8ea2c66f173bc8149caac8b4bfaf545e9..4e381c047cbbec60f2bbfc30d9ff231e1f0cb447 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -127,11 +127,28 @@ when they are read via ZipArchiveInputStream or ZipFile.
parsing proce... | diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/ZipArchiveInputStreamTest.java
index 0392fd5021680f5c1acf61244cebd276cd60db6e..43a509ead8d490b979c0f47704d16d5b3f2e58f4 100644
--- a/src/test/java/org/apache/comm... |
commons-compress__f64639c6 | commons-compress | apache/commons-compress | a8ea3cf67b3437a0521ab93df0617f1cedf017d0 | f64639c6c4e3fc47662c0b3f4572204a0bcf7c3d | 2024-02-11 00:00:00 | Test duplicate nodes | [
"stale",
"missing"
] | [
"DumpArchiveInputStreamTest.testDirectoryNullBytes",
"DumpArchiveInputStreamTest.testLoopingInodes",
"DumpArchiveInputStreamTest.testRecLenZeroLongExecution"
] | [] | {"DumpArchiveInputStreamTest": ["testRecLenZeroLongExecution"]} | 4 | 19 | 25 | diff --git a/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java b/src/main/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStream.java
index f76df65d2a97f9b377692e2c307446dc6af8a4ae..0050b35cab5e3f8f0af28a0da24eb4398b574c5f 100644
--- a/src/main/java/org/apache/commons/... | diff --git a/src/test/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStreamTest.java b/src/test/java/org/apache/commons/compress/archivers/dump/DumpArchiveInputStreamTest.java
index a57909441c6ac4e074529e84951a65e2a10b30c0..5b158c54ced6b39ba46920dc9f2f5eed4fde513d 100644
--- a/src/test/java/org/apache/... |
commons-compress__f71d3ddd | commons-compress | apache/commons-compress | e2b9f6445330be3ae98fe14404e31366a5557825 | f71d3ddd9f9ab2b6c4c072168451e6f72920398f | 2020-05-24 00:00:00 | COMPRESS-517 make sure flags and existing fields agree with each other | [
"missing",
"stale"
] | [
"X5455_ExtendedTimestampTest.resetsFlagsWhenLocalFileArrayIsTooShort"
] | [] | {"X5455_ExtendedTimestampTest": ["resetsFlagsWhenLocalFileArrayIsTooShort"]} | 3 | 6 | 9 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index db5a000b8d1db2243b01bf2c8f9933dff75d43c9..dcad6f0fa7d582ea2d6232e42d3b2cd87630a77b 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -73,6 +73,9 @@ The <action> type attribute can be add,update,fix,remove.
throw the expect... | diff --git a/src/test/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestampTest.java b/src/test/java/org/apache/commons/compress/archivers/zip/X5455_ExtendedTimestampTest.java
index e3bd60eab7f9871d60c612ee85dbabc0ddd15576..51a807ed4e83d0500b6b7f518b129c28ea203a47 100644
--- a/src/test/java/org/apache/... |
commons-compress__fc9bb924 | commons-compress | apache/commons-compress | f3de16bf7b6c1fe4f13553ae1a07610c766b3e2d | fc9bb924edef470dc96c258ae2ce164343586664 | 2025-04-23 00:00:00 | Adds a builder to ZstdCompressorOutputStream to configure almost all (#666)
zstd options
- Avoid JVM segmentation fault in zstd-jni 1.5.7-2
See also https://github.com/luben/zstd-jni/pull/356
- Deprecate constructors except the classic one-argument constructor
- Add tests
- Better Javadocs | [
"stale",
"missing"
] | [
"ZstdRoundtripTest.testRoundtripSetChainLogNonDefaultMax",
"ZstdRoundtripTest.testRoundtripSetChainLogNonDefaultMin",
"ZstdRoundtripTest.testRoundtripSetChecksumNonDefault",
"ZstdRoundtripTest.testRoundtripSetCloseFrameOnFlushNonDefault",
"ZstdRoundtripTest.testRoundtripSetHashLogNonDefaultMax",
"ZstdRoun... | [] | {"ZstdRoundtripTest": ["testRoundtripSetChainLogNonDefaultMax", "testRoundtripSetChainLogNonDefaultMin", "testRoundtripSetChecksumNonDefault", "testRoundtripSetCloseFrameOnFlushNonDefault", "testRoundtripSetHashLogNonDefaultMax", "testRoundtripSetHashLogNonDefaultMin", "testRoundtripSetJobSizeNonDefault", "testRoundtri... | 4 | 680 | 120 | diff --git a/pom.xml b/pom.xml
index 4db05eb319e395bd74f1e6cd4bb346b1b4a50c6a..4cab1efcb819c33460f2f4c35668bbbd114bccf3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -59,7 +59,7 @@ Brotli, Zstandard and ar, cpio, jar, tar, zip, dump, 7z, arj.
org.apache.commons.io;resolution:=optional,
org.apache.commons.io.*;res... | diff --git a/src/test/java/org/apache/commons/compress/compressors/zstandard/ZstdRoundtripTest.java b/src/test/java/org/apache/commons/compress/compressors/zstandard/ZstdRoundtripTest.java
index b25f880abe6483d234075fff16321f9cda66065e..32034735c364f927a8e5405cff811a0c8f3c18cf 100644
--- a/src/test/java/org/apache/comm... |
commons-csv__030fb8e3 | commons-csv | apache/commons-csv | 4d2616b7a550c2ce855b612829eb34dea9ce09dc | 030fb8e37c4024b24fac2b5404300449a6741699 | 2019-05-24 00:00:00 | [CSV-239] Add CSVRecord.getHeaderNames and allow duplicate headers (#41)
* [CSV-239] Cannot get headers in column order from CSVRecord.
* getHeaderNames returns all headers in column order including repeats which are allowed as per RFC 4180
* add CSVFormat.withAllowDuplicateHeaderNames()
* [CSV-239] Cannot get he... | [
"breaking",
"missing"
] | [
"CSVParserTest.testDuplicateHeadersNotAllowed",
"CSVParserTest.testDuplicateHeadersAllowedByDefault",
"CSVParserTest.testEmptyFileHeaderParsing",
"CSVParserTest.testRepeatedHeadersAreReturnedInCSVRecordHeaderNames"
] | [] | {"CSVParserTest": ["testDuplicateHeadersAllowedByDefault", "testDuplicateHeadersNotAllowed", "testEmptyFileHeaderParsing", "testRepeatedHeadersAreReturnedInCSVRecordHeaderNames"]} | 4 | 134 | 22 | diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java
index 6f77bef535e3108a28155408ed6926559f016790..33130b0b5e39e7c5b1481aaa794db8895b98b7bf 100644
--- a/src/main/java/org/apache/commons/csv/CSVFormat.java
+++ b/src/main/java/org/apache/commons/csv/CSVF... | diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index 57bed48b2095b975009f3999ff71306107f83928..f71e479d7a5ec0d55c46b209ad53fdf8770ae23b 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__05964916 | commons-csv | apache/commons-csv | dcc44cdcd1419c65cc0b51a7368f3a63a06e9872 | 059649167c5045dfd40ebf0f97def33a9235c3d1 | 2019-10-08 00:00:00 | CSV-247: CSVParser to check an empty header before checking duplicates. (#47)
This updates the issues test for CSV-247 and adds tests to the
CSVParserTest. | [
"breaking",
"stale",
"missing"
] | [
"CSVParserTest.testHeaderMissing",
"CSVParserTest.testHeaderMissingWithNull",
"CSVParserTest.testHeadersMissing",
"CSVParserTest.testHeadersMissingException",
"CSVParserTest.testHeadersMissingOneColumnException",
"JiraCsv247Test.testHeadersMissingOneColumnWhenAllowingMissingColumnNames",
"JiraCsv247Test... | [] | {"CSVParserTest": ["testHeadersMissingOneColumnException"], "JiraCsv247Test": ["testHeadersMissingOneColumnWhenAllowingMissingColumnNames", "testHeadersMissingThrowsWhenNotAllowingMissingColumnNames"]} | 4 | 23 | 41 | diff --git a/src/main/java/org/apache/commons/csv/CSVParser.java b/src/main/java/org/apache/commons/csv/CSVParser.java
index 3b3b3e7cbc95180874b6ab85002b92448e3e3af0..3803d9676e9717b16f7eeef74006b2b1da9e83b2 100644
--- a/src/main/java/org/apache/commons/csv/CSVParser.java
+++ b/src/main/java/org/apache/commons/csv/CSVP... | diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index eeb35261c807b6c0f62459f47743783c27e6e7b7..310574ac8e023d5b3d819f83c6c4d6de56cec679 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__088672f6 | commons-csv | apache/commons-csv | 931531bcd8e333372f05fc19f670dd5a9ecfd219 | 088672f6f93dc5784e5e01478639706ac7ec41f9 | 2025-03-15 00:00:00 | CSVParser.parse(File, Charset, CSVFormat) with a null CSVFormat maps to
CSVFormat.DEFAULT (like CSVParser.parse(Reader, CSVFormat))
CSVParser.parse(Path, Charset, CSVFormat) with a null CSVFormat maps to
CSVFormat.DEFAULT (like CSVParser.parse(Reader, CSVFormat)) | [
"breaking",
"missing",
"stale"
] | [
"CSVParserTest.testParseFileCharsetNullFormat",
"CSVParserTest.testParsePathCharsetNullFormat",
"CSVParserTest.testParseUrlCharsetNullFormat"
] | [] | {"CSVParserTest": ["testParseFileCharsetNullFormat", "testParsePathCharsetNullFormat"]} | 3 | 5 | 17 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index bca27da305f4ad2ff739457a3ef13381efa4c8a3..03dd0a98bf7322f1e05871d3dd965ccb6ff902bb 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -46,6 +46,8 @@
<action type="fix" dev="ggregory" due-to="Gary Gregory">Remove -nouses direc... | diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index df9f0d8b704bae6f3ead112df20c4252e0f104c4..45287d35eaf621fc93f98077f1fff74fd9d76965 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__14d31b02 | commons-csv | apache/commons-csv | ca1ed20288dc7cf50f0c3f9a97ea2a60d0cd7c0a | 14d31b0244741cc453f7bb6a611ad20f56a77dd1 | 2024-09-15 00:00:00 | Rename internal methods | [
"breaking"
] | [
"ExtendedBufferedReaderTest.testEmptyInput",
"ExtendedBufferedReaderTest.testReadLine",
"ExtendedBufferedReaderTest.testReadLookahead1",
"ExtendedBufferedReaderTest.testReadLookahead2"
] | [] | {} | 4 | 24 | 30 | diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java
index 6c7317f2f9460baa566a4d270148395a407fb28a..712d35e1572b6e0dd1420cecd324f596cadda3c2 100644
--- a/src/main/java/org/apache/commons/csv/CSVFormat.java
+++ b/src/main/java/org/apache/commons/csv/CSVF... | diff --git a/src/test/java/org/apache/commons/csv/ExtendedBufferedReaderTest.java b/src/test/java/org/apache/commons/csv/ExtendedBufferedReaderTest.java
index 07bbae1903e2fc040cd06be342aa522df72ee201..b0aec6f8777456a10f242cac3dcde365c70a9521 100644
--- a/src/test/java/org/apache/commons/csv/ExtendedBufferedReaderTest.j... |
commons-csv__28441e6a | commons-csv | apache/commons-csv | 761a33730cc6a5aeba12ef85c1555d7e10489e24 | 28441e6a8505cd0e1a34800dd65c1eeacfc5e363 | 2024-09-14 00:00:00 | Add CSVException that extends IOException thrown on invalid input
instead of IOException | [
"breaking"
] | [
"CSVParserTest.testThrowExceptionWithLineAndPosition"
] | [] | {} | 6 | 107 | 7 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 5b6960a22567e5d94c522a803a72bc50a72d58d9..efb120ed564dc52bbca978a07716d993c9411dc7 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -42,6 +42,7 @@
<body>
<release version="1.11.1" date="YYYY-MM-DD" description="Feature an... | diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index 6b2e2594a38a660f868b3b22f86f90e296b0f8f3..4cbbf8e5b26e2f325d77ea3bc2144579d7c67b80 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__2c83a308 | commons-csv | apache/commons-csv | 6a2376a906b3b6507533b33139f57d06ded1d7a4 | 2c83a308255d07295c761d7e61f10359b0687b01 | 2021-07-05 00:00:00 | Fixed CSV-271 & Add testcase for new change (#157) | [
"breaking",
"stale",
"missing"
] | [
"CSVFormatTest.testFormatThrowsNullPointerException",
"JiraCsv271Test.testJiraCsv271_withArray",
"JiraCsv271Test.testJiraCsv271_withList"
] | [
"JiraCsv271Test"
] | {"JiraCsv271Test": ["testJiraCsv271_withArray", "testJiraCsv271_withList"]} | 3 | 3 | 49 | diff --git a/src/main/java/org/apache/commons/csv/CSVPrinter.java b/src/main/java/org/apache/commons/csv/CSVPrinter.java
index b953582b4e26bb2269f561c4e42bc81059e783e8..161f4522a84aec2c2e2b93d335227510f4a8b0b8 100644
--- a/src/main/java/org/apache/commons/csv/CSVPrinter.java
+++ b/src/main/java/org/apache/commons/csv/C... | diff --git a/src/test/java/org/apache/commons/csv/CSVFormatTest.java b/src/test/java/org/apache/commons/csv/CSVFormatTest.java
index 2c29463bd892b667e904e14affe2dce0e0f5d1e6..3e5d73422d808680ce0d4a4fbc36f1006019f428 100644
--- a/src/test/java/org/apache/commons/csv/CSVFormatTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__5e5e28c5 | commons-csv | apache/commons-csv | 1eb95dc4d991641d707e84a43750f6097a442d2e | 5e5e28c55189da018b2ecc5346b364e2f07b32f2 | 2024-03-11 00:00:00 | Internal refactoring
Reduce whitepace | [
"breaking"
] | [
"ExtendedBufferedReaderTest.testEmptyInput",
"ExtendedBufferedReaderTest.testReadChar",
"ExtendedBufferedReaderTest.testReadLookahead1"
] | [] | {} | 6 | 64 | 27 | diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java
index fae274e140caf3c24903b609d9685367db3f2cfb..6b203a6d7d138efe016f9cdceda8452caf1379bd 100644
--- a/src/main/java/org/apache/commons/csv/CSVFormat.java
+++ b/src/main/java/org/apache/commons/csv/CSVF... | diff --git a/src/test/java/org/apache/commons/csv/ExtendedBufferedReaderTest.java b/src/test/java/org/apache/commons/csv/ExtendedBufferedReaderTest.java
index 76f1568b0b9b9f0e88080cc9250eb12223581cb4..20c9deddf76f473554754d66459fdb7fcfd219a9 100644
--- a/src/test/java/org/apache/commons/csv/ExtendedBufferedReaderTest.j... |
commons-csv__605bc015 | commons-csv | apache/commons-csv | 3718ec3a8e551a08900b3abb5df06791fe2b4a38 | 605bc0154f080e7a98c70256830a7d1d620e1358 | 2019-06-14 00:00:00 | CSV-242 CSVFormat equals() and hash() don't use all fields
Fix equals()
TODO fix hash() | [
"breaking",
"missing"
] | [
"CSVFormatTest.testEqualsHash"
] | [] | {"CSVFormatTest": ["testEqualsHash"]} | 2 | 21 | 54 | diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java
index 1f6078517830d5e2f1ce2c26004767f2feb33976..0531786239a7f011046f5272873adc10dbdd713e 100644
--- a/src/main/java/org/apache/commons/csv/CSVFormat.java
+++ b/src/main/java/org/apache/commons/csv/CSVF... | diff --git a/src/test/java/org/apache/commons/csv/CSVFormatTest.java b/src/test/java/org/apache/commons/csv/CSVFormatTest.java
index 2a74b6f58f606c9d52581ca2dc8bb3000e06f0e2..c62cb5830b34efeee22c1d02f03384b711b2e34d 100644
--- a/src/test/java/org/apache/commons/csv/CSVFormatTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__76ee73d7 | commons-csv | apache/commons-csv | 2448f4fbe4762420e35d02e655ad74ac0bff99fe | 76ee73d7e47d99afa1cfb5e0366b12a319e80562 | 2023-08-31 00:00:00 | fixing code review changes | [
"breaking",
"stale"
] | [
"CSVParserTest.testFaultyCSVShouldThrowErrorAndDetailedMessageShouldBeAvailable_1",
"CSVParserTest.testFaultyCSVShouldThrowErrorAndDetailedMessageShouldBeAvailable_2"
] | [] | {} | 2 | 3 | 42 | diff --git a/src/main/java/org/apache/commons/csv/CSVParser.java b/src/main/java/org/apache/commons/csv/CSVParser.java
index 3029c4e50cca0f1e434f751cf11005150e9d6f72..950864d5fe558ff75b5cf31e13b27cd5e4358e80 100644
--- a/src/main/java/org/apache/commons/csv/CSVParser.java
+++ b/src/main/java/org/apache/commons/csv/CSVP... | diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index 3349406c3d9eea55a46e6941e020fcf98bacdb6b..ee2f41bba9b9adeea051c46e935230a428acbac0 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__788f2aaa | commons-csv | apache/commons-csv | d8d5de6476ac411593bd34ca89492e74905372ab | 788f2aaa7aff361416e11fba5df7cfc31060cbb1 | 2019-05-19 00:00:00 | [CSV-239] Cannot get headers in column order from CSVRecord. | [
"breaking",
"missing"
] | [
"CSVRecordTest.testGetStringInconsistentRecord",
"CSVRecordTest.testIsConsistent",
"CSVRecordTest.testGetHeaderNames"
] | [] | {"CSVRecordTest": ["testGetHeaderNames"]} | 4 | 276 | 30 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index ce721ef83efa316810b9198e60a544857b1ddd66..2fa93696ee8dcacae0b976309b739203204f2e88 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -45,6 +45,7 @@
<action issue="CSV-234" type="add" dev="ggregory" due-to="Roberto Benedetti,... | diff --git a/src/test/java/org/apache/commons/csv/CSVRecordTest.java b/src/test/java/org/apache/commons/csv/CSVRecordTest.java
index 6347cc51a4cc828edc9030cc5b1368e65715f345..dab4d550363b87faaab367f4a5e0e3c20314fd78 100644
--- a/src/test/java/org/apache/commons/csv/CSVRecordTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__7bfb0cea | commons-csv | apache/commons-csv | 7b4e1059ab87e29dc93e104d9ea2b4f5e002f1eb | 7bfb0ceaf708a649becb319a06a2d7f8e5022e9b | 2025-03-09 00:00:00 | CSVParser.getRecords() knows how to use CSVFormat's maxRows
CSVParser.stream() knows how to use CSVFormat's maxRows | [
"breaking",
"missing",
"stale"
] | [
"CSVParserTest.testGetRecordsMaxRows",
"CSVParserTest.testStreamMaxRows",
"CSVPrinterTest.testExcelPrintAllStreamOfArrays",
"CSVPrinterTest.testJdbcPrinterWithResultSet",
"CSVPrinterTest.testJdbcPrinterWithResultSetHeader",
"CSVPrinterTest.testJdbcPrinterWithResultSetMetaData",
"CSVPrinterTest.testPrint... | [] | {} | 6 | 12 | 44 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 4898ae8e3cac902189189b52c0d60c2fc79aba1b..80a6edd6d7dd8196afeebc306ff356d2c39b606d 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -51,6 +51,8 @@
<action type="add" dev="ggregory" due-to="Gary Gregory">CSVPrinter.printReco... | diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index 59a1dd6ed1ad4f14ef7dbc67c5d48615ccb1b00f..50bf052b67760b3e3314ffb301bd444e5202b439 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__7e648a6e | commons-csv | apache/commons-csv | 573eab776cc63b47a1dee95b8ad526aeeba4f797 | 7e648a6e86dc35ccb6a29e9068341e54dd9e0fc8 | 2022-09-13 00:00:00 | CSVParser.getRecords() now throws UncheckedIOException instead of
IOException | [
"breaking"
] | [
"CSVParserTest.testGetRecordsFromBrokenInputStream"
] | [] | {} | 4 | 16 | 9 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index a2c56117b7dd7cf2d86b985ff7c36839dbc69dc6..b3311e219ed1b170b9a270dc9519e44c83b548b9 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -45,8 +45,8 @@
<action issue="CSV-288" type="fix" dev="ggregory" due-to="Santhsoh, Angus">F... | diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index 25855ca3b32dd0aff31e93c2633a94682d04f951..076168005e3de556edd8668e748bb7c7a4ec4559 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__931531bc | commons-csv | apache/commons-csv | 41362db16e59cf41c122d63337372657f4bde7b7 | 931531bcd8e333372f05fc19f670dd5a9ecfd219 | 2025-03-15 00:00:00 | CSVParser.parse(String, CSVFormat) with a null CSVFormat maps to
CSVFormat.DEFAULT (like CSVParser.parse(Reader, CSVFormat)) | [
"breaking"
] | [
"CSVParserTest.testParseStringNullFormat"
] | [] | {} | 3 | 3 | 13 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 8b00e71c70ccd8d5c2e7803f4418c70d700c8f6c..bca27da305f4ad2ff739457a3ef13381efa4c8a3 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -44,7 +44,8 @@
<!-- FIX -->
<action type="fix" issue="CSV-317" dev="ggregory" due-to... | diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index 6a4fe93476fe12a94204544fc56f27462d3d9b5e..df9f0d8b704bae6f3ead112df20c4252e0f104c4 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__9f4bf36e | commons-csv | apache/commons-csv | da934d0e8a724916deaf131d10798ffcee0b6e62 | 9f4bf36ecc8f8a01ec352d5b731faa288cdeb7cf | 2024-09-19 00:00:00 | Improve parser performance by up to 20%, YMMV | [
"breaking"
] | [
"ExtendedBufferedReaderTest.testReadChar",
"ExtendedBufferedReaderTest.testReadingInDifferentBuffer",
"ExtendedBufferedReaderTest.testReadLine",
"ExtendedBufferedReaderTest.testReadLookahead1"
] | [] | {} | 4 | 60 | 64 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 67e12591e958d0e80b9cfb584dc8630a9d6d0ed9..4802cedd403324d42530df8da02daf5706a1f5a4 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -51,7 +51,8 @@
<action type="fix" dev="ggregory" due-to="Dávid Szigecsán">Fix documentation... | diff --git a/src/test/java/org/apache/commons/csv/ExtendedBufferedReaderTest.java b/src/test/java/org/apache/commons/csv/ExtendedBufferedReaderTest.java
index 9cdba76b419cee931f1597f80f4999c77ff2e45e..90b91c2978e91fefa9c3e723f448b8ea81601c97 100644
--- a/src/test/java/org/apache/commons/csv/ExtendedBufferedReaderTest.j... |
commons-csv__a0fcf9a5 | commons-csv | apache/commons-csv | 805d329bda8c322eabdd9fd821157ea011ee62e1 | a0fcf9a5a595c63e7098debac25d9c0c9f01fb36 | 2021-07-03 00:00:00 | Use Stream.of() and rename new method to be like Collection#stream()
instead of toStream(). | [
"breaking",
"missing"
] | [
"CSVRecordTest.testStream"
] | [] | {"CSVRecordTest": ["testStream"]} | 3 | 20 | 9 | diff --git a/src/main/java/org/apache/commons/csv/CSVRecord.java b/src/main/java/org/apache/commons/csv/CSVRecord.java
index ced1a9a221b8016f84cd6fa4499497afcd3dfafd..64bb40baf323daef7f68b77422fa777b80779c5b 100644
--- a/src/main/java/org/apache/commons/csv/CSVRecord.java
+++ b/src/main/java/org/apache/commons/csv/CSVR... | diff --git a/src/test/java/org/apache/commons/csv/CSVFileParserTest.java b/src/test/java/org/apache/commons/csv/CSVFileParserTest.java
index 61a6ebdb97211e117ab1fc4d3775bc47f07fc941..2362aac3f5571d8d783d02b51f12c67f2cddb32e 100644
--- a/src/test/java/org/apache/commons/csv/CSVFileParserTest.java
+++ b/src/test/java/org... |
commons-csv__a4237345 | commons-csv | apache/commons-csv | 3dad2eef41f31d363795bab7bd6ab115eef30c1a | a4237345a1de8c9ada81a73fe1b8e44d0174dcf7 | 2021-07-08 00:00:00 | [CSV-263] Print from Reader with embedded quotes generates incorrect
output.
- Resolve conflicts from PR #78 by Jason A. Guild.
- Don't use depreacted methods.
- Javadoc.
- Use final. | [
"breaking",
"missing"
] | [
"CSVFormatTest.testPrintWithQuotes",
"JiraCsv263Test.testPrintFromReaderWithQuotes"
] | [
"JiraCsv263Test"
] | {"JiraCsv263Test": ["testPrintFromReaderWithQuotes"]} | 4 | 4 | 66 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 72ac11f5af6da24a02317139ddb81514b95baf38..3db75c491978718daf082110116fb1b193652be6 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -59,6 +59,7 @@
<action type="fix" dev="ggregory" due-to="Gary Gregory">Upda... | diff --git a/src/test/java/org/apache/commons/csv/CSVFormatTest.java b/src/test/java/org/apache/commons/csv/CSVFormatTest.java
index 400cc072e038206b8caeeb7830a5c455f4c3c564..ecb02a0995e7aea75a8c39f3818d7522fc5d28c3 100644
--- a/src/test/java/org/apache/commons/csv/CSVFormatTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__ac280e70 | commons-csv | apache/commons-csv | 4083b7a2a0e7c2fa952b034614224fe6dc786b34 | ac280e705d99cc1168f93f7d9a5f92618bebbb97 | 2021-07-09 00:00:00 | [CSV-93] Allow the handling of NULL values.
- [CSV-253] Handle absent values in input (null).
- Cleaned up version of PR 77 from dota17 where:
- Don't duplicate two state items from the format.
- Use try-with-resources.
- Remove useless parens.
- Update Javaodc.
- Sort members in the new tests.
- Use builder. | [
"breaking",
"stale",
"missing"
] | [
"CSVPrinterTest.testMySqlNullOutput",
"JiraCsv253Test.testHandleAbsentValues",
"JiraCsv93Test.testWithNotSetNullString",
"JiraCsv93Test.testWithSetNullStringEmptyString",
"JiraCsv93Test.testWithSetNullStringNULL"
] | [
"JiraCsv253Test",
"JiraCsv93Test"
] | {"JiraCsv253Test": ["testHandleAbsentValues"], "JiraCsv93Test": ["testWithNotSetNullString", "testWithSetNullStringEmptyString", "testWithSetNullStringNULL"]} | 7 | 40 | 191 | diff --git a/src/main/java/org/apache/commons/csv/CSVParser.java b/src/main/java/org/apache/commons/csv/CSVParser.java
index 3224013dcedc41da3b8aaac2dcfd49180e51b76b..94bb3612ce742be3198429c16d1e6409e1e35dae 100644
--- a/src/main/java/org/apache/commons/csv/CSVParser.java
+++ b/src/main/java/org/apache/commons/csv/CSVP... | diff --git a/src/test/java/org/apache/commons/csv/CSVPrinterTest.java b/src/test/java/org/apache/commons/csv/CSVPrinterTest.java
index 780a5021067d2db0b2866622703ccfe14c0ebdef..6890bc26d68ddb99bf9543feea49cebc8b0cef82 100644
--- a/src/test/java/org/apache/commons/csv/CSVPrinterTest.java
+++ b/src/test/java/org/apache/c... |
commons-csv__ad11cd14 | commons-csv | apache/commons-csv | d6845084c07756c481930cd6d7164fdcd75b3f22 | ad11cd14d0e407e351d7de71018cbc25ccb4352f | 2020-06-02 00:00:00 | [CSV-149]/[CSV-195] fix line number is not proper at EOF (#60) | [
"breaking",
"stale"
] | [
"CSVParserTest.testGetRecordWithMultiLineValues"
] | [] | {} | 3 | 3 | 14 | diff --git a/src/main/java/org/apache/commons/csv/ExtendedBufferedReader.java b/src/main/java/org/apache/commons/csv/ExtendedBufferedReader.java
index b9ca79df9cb626a3fa23b459fe5b0f7743f85cbd..9731f8186c66034e1f8d15e65b60b2cd7f635be2 100644
--- a/src/main/java/org/apache/commons/csv/ExtendedBufferedReader.java
+++ b/sr... | diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index d058cc422bf0414c1ce7bd1d69441931c0852ee7..8c4109452dba22a42d36bd36121e8c1531a53842 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__c1581885 | commons-csv | apache/commons-csv | 9e687fff3065a4e0997601ca0b69e5cdb2f4d273 | c158188597aeea34ef279788e6a539fd725bab98 | 2022-02-20 00:00:00 | [CSV-269] CSVRecord.get(Enum) should use Enum.name() instead of
Enum.toString(). | [
"breaking",
"stale"
] | [
"CSVRecordTest.testGetString",
"CSVRecordTest.testGetWithEnum",
"CSVRecordTest.testIsMapped",
"CSVRecordTest.testIsSetString"
] | [] | {} | 3 | 3 | 36 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 79715a75fec2f3d475bd93e5cd9806d2792c23b4..c0bd27060494ce9fd0cd387c4f054bdfb80f78da 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -43,6 +43,7 @@
<action type="fix" dev="ggregory" due-to="Arturo Bernal">Min... | diff --git a/src/test/java/org/apache/commons/csv/CSVRecordTest.java b/src/test/java/org/apache/commons/csv/CSVRecordTest.java
index 6b23e4406b86941f824fe14f608e7bff4493cebd..465c77754744fcdd5e1da0921a7a281fcc60c729 100644
--- a/src/test/java/org/apache/commons/csv/CSVRecordTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__d6e494b4 | commons-csv | apache/commons-csv | 7d100bf05bd2f2f109739a96bff21d170237ffe6 | d6e494b44d85540923b39eb4956a704ecee295b1 | 2019-06-06 00:00:00 | [CSV-241] CSVFormat#valiadte() does not account for
llowDuplicateHeaderNames.
Applying a different version of the GitHub patch with adjustments to the
tests. Also remove trailing whitespace from CSVRecord.
Closes #43. | [
"breaking",
"missing"
] | [
"CSVFormatTest.testDuplicateHeaderElementsFalse",
"CSVFormatTest.testDuplicateHeaderElements"
] | [] | {"CSVFormatTest": ["testDuplicateHeaderElementsFalse"]} | 4 | 4 | 12 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 0a7aa45ad67dab528c94b7735a8815326a43f44f..44892736300f4e8aaeeb7190728831325ee39e0a 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -38,6 +38,9 @@
<title>Release Notes</title>
</properties>
<body>
+ <release versi... | diff --git a/src/test/java/org/apache/commons/csv/CSVFormatTest.java b/src/test/java/org/apache/commons/csv/CSVFormatTest.java
index 6d30e37165b78661065dbc0c2dd3cfe045a6f74b..2a74b6f58f606c9d52581ca2dc8bb3000e06f0e2 100644
--- a/src/test/java/org/apache/commons/csv/CSVFormatTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__d93c4940 | commons-csv | apache/commons-csv | c36d6cdeabac051bc74c1490263df129e3c0750d | d93c4940f2673a98033457705bc5bf0d989f7f62 | 2025-03-15 00:00:00 | CSVParser.parse(*) methods with a null Charset maps to
Charset.defaultCharset()
Javadoc | [
"breaking",
"stale"
] | [
"CSVParserTest.testParse",
"CSVParserTest.testParserUrlNullCharsetFormat",
"CSVParserTest.testParseUrlCharsetNullFormat"
] | [] | {} | 3 | 48 | 14 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 69103432bb4bf3ea6fa2a9a4fb40c21bb8cac9ec..f801b350024ca399774c34c7360b95f7fa7d54ae 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -49,6 +49,7 @@
<action type="fix" dev="ggregory" due-to="Gary Gregory">CSVParser.parse(File... | diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index 31ede333b87b82e6b716223c7e328e5a3d2577ba..20ab9b658863bff9697367a5532631527046686a 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__ef51c1ec | commons-csv | apache/commons-csv | 9dcad06c005a29085d9d26e4e54bc7c9bdb9bd5a | ef51c1ecad91aad5527b8e1568e2a17748039be8 | 2019-05-20 00:00:00 | [CSV-239] Cannot get headers in column order from CSVRecord.
- Redo so that the record tracks its source parser where call sites can
find metadata. This avoids adding slots to the record class itself. | [
"breaking",
"missing"
] | [
"CSVParserTest.testGetHeaderNames",
"CSVParserTest.testIgnoreCaseHeaderMapping",
"CSVParserTest.testIteratorSequenceBreaking",
"CSVRecordTest.testIsConsistent",
"CSVRecordTest.testIsInconsistent"
] | [] | {"CSVParserTest": ["testGetHeaderNames"], "CSVRecordTest": ["testIsInconsistent"]} | 6 | 100 | 88 | diff --git a/src/main/java/org/apache/commons/csv/CSVParser.java b/src/main/java/org/apache/commons/csv/CSVParser.java
index 6eb97f81fbfb25155c7452b96cc489818d9f5429..7fd82926136f56df66d47763b43a9bc9902c5cd4 100644
--- a/src/main/java/org/apache/commons/csv/CSVParser.java
+++ b/src/main/java/org/apache/commons/csv/CSVP... | diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index a5539f602ee52a7179b8e63fa8b813e43337e75f..530df93e117dd662af87d8c1731118bbdbaeb1dd 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__30f0e1d6 | commons-csv | apache/commons-csv | c62d12a8ec5f987c3107674c03c8577fbbb70033 | 30f0e1d6cafb2f6bec24b82493d850e5ae787173 | 2025-03-08 00:00:00 | CSVPrinter.printRecords(ResultSet) knows how to use CSVFormat's maxRows
- Add CSVFormat.Builder.setMaxRows(long)
- Add CSVFormat.getMaxRows() | [
"stale"
] | [
"CSVPrinterTest.testCRComment",
"CSVPrinterTest.testDontQuoteEuroFirstChar",
"CSVPrinterTest.testExcelPrintAllArrayOfArrays",
"CSVPrinterTest.testExcelPrintAllArrayOfArraysWithFirstEmptyValue2",
"CSVPrinterTest.testExcelPrintAllArrayOfArraysWithFirstSpaceValue1",
"CSVPrinterTest.testExcelPrintAllArrayOfAr... | [] | {} | 4 | 98 | 136 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index c245957e6b2d3472afe758b6e8e701f4541727ab..8632cf7862c4b56b98a7b7ffdf902af503a9da82 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -46,6 +46,9 @@
<action type="fix" dev="ggregory" due-to="Gary Gregory">Remove -nouses direc... | diff --git a/src/test/java/org/apache/commons/csv/CSVPrinterTest.java b/src/test/java/org/apache/commons/csv/CSVPrinterTest.java
index d34ccd473a37ae4c78a96b1d828288ab6b8576cd..9e865a1a1db1cd368efa248ad27781d97644be0d 100644
--- a/src/test/java/org/apache/commons/csv/CSVPrinterTest.java
+++ b/src/test/java/org/apache/c... |
commons-csv__31a546ad | commons-csv | apache/commons-csv | c51b595e345954a286d59ed4e37d5d6d319cc78a | 31a546adab3a95ac2378000cbd4a79fb21dba794 | 2022-09-06 00:00:00 | [CSV-304] Accessors for header/trailer comments
Add accessors for header comments (before the header row)
and trailer comments (after the last record)
Also add javadoc and tests | [
"stale",
"missing"
] | [
"CSVParserTest.getHeaderComment",
"CSVParserTest.getTrailerComment"
] | [] | {"CSVParserTest": ["getHeaderComment", "getTrailerComment"]} | 2 | 53 | 121 | diff --git a/src/main/java/org/apache/commons/csv/CSVParser.java b/src/main/java/org/apache/commons/csv/CSVParser.java
index 58cdb146b218f6f7f11939a718f55d3597a6757d..3385f418b56f5e064453dda39bf2f1418c357231 100644
--- a/src/main/java/org/apache/commons/csv/CSVParser.java
+++ b/src/main/java/org/apache/commons/csv/CSVP... | diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index 38663a1619fc53a246fcfbd19918668cf838e9a0..aa6c977757504db485c98757023d65442de84d94 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__3ac0ec24 | commons-csv | apache/commons-csv | df3732ba2253ae35c86066d62f287a19bd14674b | 3ac0ec24816175883d094ae8429e3932d812c6de | 2024-03-12 00:00:00 | JDBC Blob columns are now output as Base64 instead of Object#toString(),
which usually is InputStream#toString() | [
"stale"
] | [
"CSVPrinterTest.testCloseBackwardCompatibility",
"CSVPrinterTest.testCloseWithCsvFormatAutoFlushOn",
"CSVPrinterTest.testCRComment",
"CSVPrinterTest.testCSV135",
"CSVPrinterTest.testExcelPrintAllArrayOfLists",
"CSVPrinterTest.testExcelPrintAllArrayOfListsWithFirstEmptyValue2",
"CSVPrinterTest.testExcelP... | [] | {} | 5 | 35 | 177 | diff --git a/pom.xml b/pom.xml
index 4055237d61c4082a0569bab967f9a098455faea9..8e9fae8dece9b99e8ddb56b0f8b90268e435e51b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -52,6 +52,11 @@
<artifactId>commons-io</artifactId>
<version>2.15.1</version>
</dependency>
+ <dependency>
+ <groupId>commons-codec</gr... | diff --git a/src/test/java/org/apache/commons/csv/CSVPrinterTest.java b/src/test/java/org/apache/commons/csv/CSVPrinterTest.java
index 85353dc1be925efc85830b4f48fce8700e6af7c0..55be57b0911e8fec22156de1b6e155c6bb3140d4 100644
--- a/src/test/java/org/apache/commons/csv/CSVPrinterTest.java
+++ b/src/test/java/org/apache/c... |
commons-csv__4033a019 | commons-csv | apache/commons-csv | 129641ead46c8faefdb18903e283f7c4f55a000d | 4033a0199e2d0086afeeb07870a687e3b0caf4bf | 2019-12-26 00:00:00 | Add CSVRecord.isSet(int) method (#52)
* Add CSVRecord.isSet(int) method
* Remove unnecessary unboxing
* Revert: Remove unnecessary unboxing | [
"missing",
"stale"
] | [
"CSVRecordTest.testIsSetString",
"CSVRecordTest.testIsSetInt"
] | [] | {"CSVRecordTest": ["testIsSetInt", "testIsSetString"]} | 2 | 10 | 11 | diff --git a/src/main/java/org/apache/commons/csv/CSVRecord.java b/src/main/java/org/apache/commons/csv/CSVRecord.java
index b1b3f99541f518db2f84a110c689bc4cb1c430ec..e063edc31719eef893929edcf8d3d106936efe1b 100644
--- a/src/main/java/org/apache/commons/csv/CSVRecord.java
+++ b/src/main/java/org/apache/commons/csv/CSVR... | diff --git a/src/test/java/org/apache/commons/csv/CSVRecordTest.java b/src/test/java/org/apache/commons/csv/CSVRecordTest.java
index 68310027de428573b99cabb96fb3b34318378a78..06e771c42e83ba139d3df14608fedaaa154af777 100644
--- a/src/test/java/org/apache/commons/csv/CSVRecordTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__4fdfc59b | commons-csv | apache/commons-csv | caa59a3c090fdc5a775b83f5f4861ff52922fff8 | 4fdfc59b1cb668cb110b074742a1e760819f719b | 2022-02-20 00:00:00 | CSV-264: Added DuplicateHeaderMode for flexibility with header strictness. (#114)
* csv-264: added duplicateheadermode for flexibility with header strictness
* fix: use assertthrows and update docs | [
"stale",
"missing"
] | [
"CSVFormatTest.testEqualsHash",
"CSVFormatTest.testWithEmptyDuplicates",
"JiraCsv264Test.testJiraCsv264",
"JiraCsv264Test.testJiraCsv264WithGapAllowEmpty",
"JiraCsv264Test.testJiraCsv264WithGapDisallow"
] | [
"JiraCsv264Test"
] | {"CSVFormatTest": ["testWithEmptyDuplicates"], "JiraCsv264Test": ["testJiraCsv264", "testJiraCsv264WithGapAllowEmpty", "testJiraCsv264WithGapDisallow"]} | 6 | 109 | 87 | diff --git a/src/main/java/org/apache/commons/csv/CSVFormat.java b/src/main/java/org/apache/commons/csv/CSVFormat.java
index 6bf3ed18a7b2e84f967184c3dfb0b8374c298c16..77a009dc13b648704c7ed6ea32e161210fb6aa89 100644
--- a/src/main/java/org/apache/commons/csv/CSVFormat.java
+++ b/src/main/java/org/apache/commons/csv/CSVF... | diff --git a/src/test/java/org/apache/commons/csv/CSVFormatTest.java b/src/test/java/org/apache/commons/csv/CSVFormatTest.java
index 682764f94764b2df36331a1dd061f22c8bdf7617..f7c32bd6d431395662029451cd0886980eb111a3 100644
--- a/src/test/java/org/apache/commons/csv/CSVFormatTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__920c9497 | commons-csv | apache/commons-csv | 49c50d7d298c0a77b1c387b0735e4f47c4568915 | 920c9497cb7dfa82648c28dc5ab9a05f2dd63bb8 | 2024-10-11 00:00:00 | [CSV-313] Add CSVPrinter.getRecordCount() | [
"stale"
] | [
"CSVPrinterTest.testCloseBackwardCompatibility",
"CSVPrinterTest.testCloseWithCsvFormatAutoFlushOff",
"CSVPrinterTest.testCloseWithCsvFormatAutoFlushOn",
"CSVPrinterTest.testCloseWithFlushOff",
"CSVPrinterTest.testCloseWithFlushOn",
"CSVPrinterTest.testCRComment",
"CSVPrinterTest.testCSV259",
"CSVPrin... | [] | {} | 3 | 31 | 139 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 8b1645ce4e86f8f5958aa79c5247f19f17cf968c..48a1f7714f6f8d46362a07a8754ce0df90084d54 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -40,9 +40,10 @@
<title>Apache Commons CSV Release Notes</title>
</properties>
<body>
... | diff --git a/src/test/java/org/apache/commons/csv/CSVPrinterTest.java b/src/test/java/org/apache/commons/csv/CSVPrinterTest.java
index ce938073bd310870ad5bb64f64e7bab0556bdced..2bd318ca44c18b34df10ec6713fcf19ddd4becca 100644
--- a/src/test/java/org/apache/commons/csv/CSVPrinterTest.java
+++ b/src/test/java/org/apache/c... |
commons-csv__b25b2509 | commons-csv | apache/commons-csv | a557344f3d2f5b9c2f58a8859533914772a2dbf1 | b25b2509c839f490546586d70f360448bb17e449 | 2025-03-08 00:00:00 | CSVPrinter.printRecords(Iterable) knows how to use CSVFormat's maxRows | [
"stale"
] | [
"CSVParserTest.testBackslashEscaping",
"CSVParserTest.testBackslashEscaping2",
"CSVParserTest.testDefaultFormat",
"CSVPrinterTest.testPrintCSVParser",
"CSVPrinterTest.testPrintCSVRecord",
"CSVPrinterTest.testPrintCSVRecords",
"CSVPrinterTest.testPrintRecordStream"
] | [] | {} | 5 | 6 | 32 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 8632cf7862c4b56b98a7b7ffdf902af503a9da82..91fb9b41ac95e4dadfe89e3096c19a637cda186a 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -48,7 +48,8 @@
<action type="add" dev="ggregory" due-to="Gary Gregory">Define and use Maven... | diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index 38d442e55beb3ebd423f568f0902816114a9a93a..59a1dd6ed1ad4f14ef7dbc67c5d48615ccb1b00f 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__d8d08045 | commons-csv | apache/commons-csv | b4b9a6bc0e24d65e3696bea4a61c0996d519f919 | d8d080453e30ee732bbdd1448d6c2e307d0746f4 | 2021-07-06 00:00:00 | Add support for String delimiters #76.
Bump PMD core from 6.29.0 to 6.36.0. Fix rule set. | [
"missing",
"stale"
] | [
"CSVParserTest.testParseWithDelimiterWithQuote",
"CSVParserTest.testParseWithDelimiterStringWithQuote",
"CSVParserTest.testParseWithDelimiterWithEscape",
"CSVParserTest.testParseWithDelimiterStringWithEscape",
"CSVParserTest.testParseWithQuoteWithEscape",
"CSVParserTest.testParseWithQuoteThrowsException",... | [
"JiraCsv206Test"
] | {"CSVParserTest": ["testNotValueCSV", "testParseWithDelimiterStringWithEscape", "testParseWithDelimiterStringWithQuote", "testParseWithDelimiterWithEscape", "testParseWithDelimiterWithQuote", "testParseWithQuoteThrowsException", "testParseWithQuoteWithEscape"], "CSVPrinterTest": ["testDelimeterStringQuoteNone", "testDe... | 10 | 384 | 187 | diff --git a/pom.xml b/pom.xml
index c83aa0c42427793847ab91f4fb041b66a7fee3b8..8e9c455ff6983c1a4fe5b34f3bb2dcfc71b133f2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -172,6 +172,7 @@
<checkstyle.resourceExcludes>LICENSE.txt, NOTICE.txt, **/maven-archiver/pom.properties</checkstyle.resourceExcludes>
<commons.pmd.ver... | diff --git a/src/test/java/org/apache/commons/csv/CSVParserTest.java b/src/test/java/org/apache/commons/csv/CSVParserTest.java
index 02d8c6ca80b59e3a7c948d37f84dbeebd644bdd7..392d82ec691325d90ab15ad5841f7fd46bb6fcde 100644
--- a/src/test/java/org/apache/commons/csv/CSVParserTest.java
+++ b/src/test/java/org/apache/comm... |
commons-csv__e991e6d5 | commons-csv | apache/commons-csv | 9dcc633f71278969ebbee44e507d05e981dd55f1 | e991e6d5c2a523fffe9fb103265e044396cee31a | 2024-11-01 00:00:00 | Add and use CSVParser.Builder and builder() | [
"stale"
] | [
"CSVFileParserTest.testCSVFile",
"CSVParserTest.testBOM",
"CSVParserTest.testBOMInputStreamParserWithInputStream",
"CSVParserTest.testBOMInputStreamParserWithReader",
"CSVParserTest.testBOMInputStreamParseWithReader",
"CSVParserTest.testCarriageReturnEndings",
"CSVParserTest.testCarriageReturnLineFeedEn... | [] | {} | 12 | 71 | 157 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 28be74c6c79049d3785ad32fee42868be17dfdfa..09b60e514ca7ce915fd749fb69890ac1c4422bd4 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -44,6 +44,7 @@
<!-- FIX -->
<!-- ADD -->
<action type="add" issue="CSV-313"... | diff --git a/src/test/java/org/apache/commons/csv/CSVFileParserTest.java b/src/test/java/org/apache/commons/csv/CSVFileParserTest.java
index 4d9b87118f07a059b01982bf0b8abf8a90ca71d9..728686eb84dd134f6fb9cc5e568017838559041c 100644
--- a/src/test/java/org/apache/commons/csv/CSVFileParserTest.java
+++ b/src/test/java/org... |
commons-lang__0abfa791 | commons-lang | apache/commons-lang | b77014c9536deb38f91eb579c27e2484793eda44 | 0abfa791934a846a563ee6d4e89eb5e3f92f63de | 2019-09-06 00:00:00 | [LANG-1486] Generify builder classes Diffable, DiffBuilder, and DiffResult
[LANG-1486] Generify builder classes Diffable, DiffBuilder, and DiffResult #452. | [
"breaking"
] | [
"TypeTestClass.testBoolean",
"TypeTestClass.testBooleanArray",
"TypeTestClass.testByte",
"TypeTestClass.testByteArray",
"TypeTestClass.testChar",
"TypeTestClass.testCharArray",
"TypeTestClass.testDouble",
"TypeTestClass.testDoubleArray",
"TypeTestClass.testFloat",
"TypeTestClass.testFloatArray",
... | [] | {} | 6 | 86 | 72 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 053d23bfea4a81f63d0fc32ee4bf5f4072c70eec..6768cbef583f9246a9cbd2841912c981171344a4 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -63,6 +63,7 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="LANG-... | diff --git a/src/test/java/org/apache/commons/lang3/builder/DiffBuilderTest.java b/src/test/java/org/apache/commons/lang3/builder/DiffBuilderTest.java
index 6fd77825dd52fd1dc1adc5faeade9de4a96b75d4..aebd3ee4268144043ee48b4765d518ed332dc932 100644
--- a/src/test/java/org/apache/commons/lang3/builder/DiffBuilderTest.java... |
commons-lang__11b1bc19 | commons-lang | apache/commons-lang | ae6457f4a55e6df27c146aff503d43f844092b19 | 11b1bc19ab360afce8a48167002bfcb747faeb68 | 2022-08-22 00:00:00 | Deprecate ThreadUtils code that defines custom function interfaces in
favor of stock java.util.function.Predicate usage. | [
"breaking",
"missing"
] | [
"TestThread.testThreadGroupsNullParent",
"TestThread.testThreadGroupsNullPredicate",
"TestThread.testThreadsNullPredicate"
] | [] | {"ThreadUtilsTest": ["testThreadGroupsNullParent", "testThreadGroupsNullPredicate"]} | 3 | 172 | 16 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 0121fc61dea310a72963e3d483b18dd24cbc05f6..fa7d084207dfc1abe83d8b395bef559a09786a08 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -97,6 +97,7 @@ The <action> type attribute can be add,update,fix,remove.
<action ... | diff --git a/src/test/java/org/apache/commons/lang3/ThreadUtilsTest.java b/src/test/java/org/apache/commons/lang3/ThreadUtilsTest.java
index 5b0891db596a2160c07bf59870a5b69613558322..ac4d72a157704920178aea423428cb5b93686cac 100644
--- a/src/test/java/org/apache/commons/lang3/ThreadUtilsTest.java
+++ b/src/test/java/org... |
commons-lang__14d34506 | commons-lang | apache/commons-lang | 1897e4d7f6cdf129db7a4c8f35f7a3657c712a70 | 14d34506c993dcefa0860e4a98fa30062d851997 | 2025-08-30 00:00:00 | MethodUtils cannot find or invoke vararg methods when widening primitive
types following the JLS 5.1.2. Widening Primitive Conversion. | [
"breaking",
"stale"
] | [
"TestMutableSubclass.testInvokeMethod",
"TestMutableSubclass.testInvokeStaticMethod"
] | [] | {} | 5 | 122 | 22 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 340f9906f3fc65327a58aa84ba8d95b8bdda9feb..8d319dc97d42e32c5ba70ca662f08fca593ee124 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -54,6 +54,7 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="LANG-... | diff --git a/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java b/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java
index 10673134604d6376d424e32ff00a7972ade36888..ec5679aa40a99cf819bf76e7aca51391294bcc79 100644
--- a/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java... |
commons-lang__1dabf262 | commons-lang | apache/commons-lang | 182b2506b304463f8f1a9ad765c6db0420fa356f | 1dabf262c90d76958175e98f7ac9d0189fd7fbf2 | 2019-11-24 00:00:00 | sort fields in ReflectionToStringBuilder for deterministic order (#481) | [
"breaking"
] | [
"MultilineRecursiveToStringStyleTest.nestedElements",
"MultilineRecursiveToStringStyleTest.noArray",
"MultilineRecursiveToStringStyleTest.boolArray",
"MultilineRecursiveToStringStyleTest.charArray",
"MultilineRecursiveToStringStyleTest.intArray",
"MultilineRecursiveToStringStyleTest.doubleArray",
"Multi... | [] | {} | 4 | 3 | 50 | diff --git a/src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java b/src/main/java/org/apache/commons/lang3/builder/ReflectionToStringBuilder.java
index 392cdb539c0dd603cdce07a80f95d0b3fb9ccd33..aeed52e398d85e16b58eb9d249f24aafe34277c4 100644
--- a/src/main/java/org/apache/commons/lang3/builder/... | diff --git a/src/test/java/org/apache/commons/lang3/builder/MultilineRecursiveToStringStyleTest.java b/src/test/java/org/apache/commons/lang3/builder/MultilineRecursiveToStringStyleTest.java
index 4eb1db4cb162fcfada35ae97e0e17b1693a9e6a0..4c302b8e2e0a47efefd42efed63f106801893bd3 100644
--- a/src/test/java/org/apache/co... |
commons-lang__24e64686 | commons-lang | apache/commons-lang | 16cc98fbfae41b0fa3206dcb1e1a0cd7ba09c949 | 24e64686834ecd4a0dda80c91b53b15e227fc898 | 2019-11-05 00:00:00 | [LANG-1498] Add support of lambda value evaluation for defaulting
methods #416. | [
"breaking",
"missing"
] | [
"ObjectUtilsTest.testDefaultIfNull"
] | [] | {"StringUtilsTest": ["testGetIfBlank_StringStringSupplier", "testGetIfEmpty_StringStringSupplier"]} | 4 | 110 | 79 | diff --git a/src/main/java/org/apache/commons/lang3/ObjectUtils.java b/src/main/java/org/apache/commons/lang3/ObjectUtils.java
index 175f3c0331cd58896c37047cfb3f842c403e2b00..3b83ce16cdfc6e004cfe14075041e8effa2e310b 100644
--- a/src/main/java/org/apache/commons/lang3/ObjectUtils.java
+++ b/src/main/java/org/apache/comm... | diff --git a/src/test/java/org/apache/commons/lang3/ObjectUtilsTest.java b/src/test/java/org/apache/commons/lang3/ObjectUtilsTest.java
index 84059f4ab440c111b7c0d4c1c5ca590575db49b3..b181524b022a4ce4a487497cdd49d141ba96fe59 100644
--- a/src/test/java/org/apache/commons/lang3/ObjectUtilsTest.java
+++ b/src/test/java/org... |
commons-lang__35fb9fca | commons-lang | apache/commons-lang | abb5a409f71d8f920bb178ea3f839d42c551dd69 | 35fb9fca83af4ffbaf6f1163a927d8751938fda3 | 2022-03-06 00:00:00 | LANG-1172: Support dash as a delimiter in locales (#766)
* LANG-1172: Support dash as a delimiter in locales
* Extract constants for dash and underscore
* Prioritize old delimiter in comparison order | [
"breaking",
"stale"
] | [
"LocaleUtilsTest.testToLocale_2Part",
"LocaleUtilsTest.testToLocale_3Part"
] | [] | {} | 2 | 13 | 6 | diff --git a/src/main/java/org/apache/commons/lang3/LocaleUtils.java b/src/main/java/org/apache/commons/lang3/LocaleUtils.java
index 587d3a7e97672de22795ed84ea8faa1fea991c26..69f5eae95e6a66d97937ecf7e0ad98e10273b5cd 100644
--- a/src/main/java/org/apache/commons/lang3/LocaleUtils.java
+++ b/src/main/java/org/apache/comm... | diff --git a/src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java b/src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java
index d8bd84dd1471b083b1163aacd30d8565949d2b3a..112f5baec32b5e95c6361756015452ea38e73e57 100644
--- a/src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java
+++ b/src/test/java/org... |
commons-lang__3700641b | commons-lang | apache/commons-lang | 031f4f61b70ec88d16affc982a7092935fd4a0c9 | 3700641b4e745a1804b4409c58dee15b459dad16 | 2020-07-10 00:00:00 | Correct Javadocs of methods that use Validate.notNull() and replace some uses of Validate.isTrue() with Validate.notNull(). (#525)
* Update Javadocs of methods that call Validate.notNull() to refer to NullPointerException instead of IllegalArgumentException for null values.
* Use Validate.notNull() instead of Valid... | [
"breaking"
] | [
"TestMutable.testGetMethodsWithAnnotationIllegalArgumentException1",
"TestMutable.testGetMethodsListWithAnnotationIllegalArgumentException1",
"TestMutable.testGetAnnotationIllegalArgumentException1"
] | [] | {} | 11 | 88 | 6 | diff --git a/src/main/java/org/apache/commons/lang3/CharUtils.java b/src/main/java/org/apache/commons/lang3/CharUtils.java
index b4e8ccf7edb6b53990cf2c9acdd3686e8b07bb3f..4e07693fb3eb0791e714600674679cf4f28b3d20 100644
--- a/src/main/java/org/apache/commons/lang3/CharUtils.java
+++ b/src/main/java/org/apache/commons/la... | diff --git a/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java b/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java
index ceafcac087f6280e2162f3d3e222a48fe7c61198..5a6820d60e2483cd5f0f257c08d12036bc46a900 100644
--- a/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java... |
commons-lang__4369537d | commons-lang | apache/commons-lang | d672dafa2ee86c82c25d362e8aae54b8ff558dde | 4369537d8b1387b94a1126a36a4fc400a35d35cc | 2021-12-09 00:00:00 | ArrayUtils.toPrimitive(Boolean...) null array elements map to false,
like Boolean.parseBoolean(null) and its callers return false.
This also happens to address issues with catching NPEs reported by
Spotbugs 4.5.1 . | [
"breaking"
] | [
"TestClass.testToPrimitive_boolean",
"BooleanUtilsTest.testAnd_object_nullElementInput",
"BooleanUtilsTest.testOr_object_nullElementInput",
"BooleanUtilsTest.testXor_object_nullElementInput"
] | [] | {} | 5 | 64 | 8 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 024d766a51c466e441577bb53a8f872fb307b538..205c78839b9ad2b51b433685a186a6158bca2649 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -66,6 +66,7 @@ The <action> type attribute can be add,update,fix,remove.
<action ... | diff --git a/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java b/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
index 292a4a5fd73fe9e5820d68d9e272ba19ec9588c8..3e76bf2736144bf7bb08ebd83a5b48d94cfd42d6 100644
--- a/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
+++ b/src/test/java/org/ap... |
commons-lang__45acc1c9 | commons-lang | apache/commons-lang | 0de1d11a9aaef992026c40d09f94e7f4ec7174a7 | 45acc1c97094cd68928f634ce4896e4b05ee92ac | 2022-09-16 00:00:00 | LANG-1691: ClassUtils.getShortCanonicalName - using canonicalName rather than class name (#949) | [
"breaking",
"stale"
] | [
"DeeplyNested.test_getShortCanonicalName_Class",
"DeeplyNested.test_getShortCanonicalName_Object"
] | [] | {} | 2 | 4 | 14 | diff --git a/src/main/java/org/apache/commons/lang3/ClassUtils.java b/src/main/java/org/apache/commons/lang3/ClassUtils.java
index 2d7f93d2af0ec43cf51d918af0cf891127ff2d22..2e37d54d3c0bf683888208f5b8b3357ecd285f90 100644
--- a/src/main/java/org/apache/commons/lang3/ClassUtils.java
+++ b/src/main/java/org/apache/commons... | diff --git a/src/test/java/org/apache/commons/lang3/ClassUtilsTest.java b/src/test/java/org/apache/commons/lang3/ClassUtilsTest.java
index 11672c6cee866fafbca152b5f985baf42bc30543..0050753bd622ff6122a81f5c7a7a72af3762878d 100644
--- a/src/test/java/org/apache/commons/lang3/ClassUtilsTest.java
+++ b/src/test/java/org/ap... |
commons-lang__46b15a2e | commons-lang | apache/commons-lang | 9f0f3c838b00354009f265b7d0fcefd6f1dec454 | 46b15a2ecb05bdc281bc6109bb2db99b566d4a10 | 2022-07-15 00:00:00 | Rename method for next release. | [
"breaking"
] | [
"StreamsTest.testNullSafeStreamNotNull",
"StreamsTest.testNullSafeStreamNull"
] | [] | {} | 2 | 4 | 8 | diff --git a/src/main/java/org/apache/commons/lang3/stream/Streams.java b/src/main/java/org/apache/commons/lang3/stream/Streams.java
index f20be935e3f3faa780f2dea63dd291598b6cb85e..e44ed7bf063d5a624204b4266f12f587f065baf5 100644
--- a/src/main/java/org/apache/commons/lang3/stream/Streams.java
+++ b/src/main/java/org/ap... | diff --git a/src/test/java/org/apache/commons/lang3/stream/StreamsTest.java b/src/test/java/org/apache/commons/lang3/stream/StreamsTest.java
index ea31452644f0dd65ed7edfd3f588765194c0067c..625bff4cbd182644bd2bca8847b57d5cd360e6ac 100644
--- a/src/test/java/org/apache/commons/lang3/stream/StreamsTest.java
+++ b/src/test... |
commons-lang__4c1cbdbb | commons-lang | apache/commons-lang | a37e8de046a328c3400ea2f78b51d792152e9569 | 4c1cbdbb8002074959f3291371b34f4b0ce1f359 | 2024-05-30 00:00:00 | Flip args on new API | [
"breaking"
] | [
"TestConsumer.testAccept",
"FunctionsTest.testApply"
] | [] | {} | 4 | 12 | 16 | diff --git a/src/main/java/org/apache/commons/lang3/function/Consumers.java b/src/main/java/org/apache/commons/lang3/function/Consumers.java
index 49b514ec1149ded100a22f87444dd49ce0fa82c0..0fa880c6bb1b92e627dc7c163dd86e393876605f 100644
--- a/src/main/java/org/apache/commons/lang3/function/Consumers.java
+++ b/src/main... | diff --git a/src/test/java/org/apache/commons/lang3/function/ConsumersTest.java b/src/test/java/org/apache/commons/lang3/function/ConsumersTest.java
index e649c25dba045249da1b1e639dfad6bb81874c95..a4a4ab64ee00b0c17aa8f08e196db8d29939872f 100644
--- a/src/test/java/org/apache/commons/lang3/function/ConsumersTest.java
++... |
commons-lang__5f72c773 | commons-lang | apache/commons-lang | 059fb3b8c10a7ce5e78a01a99659f62a5cf75c48 | 5f72c77386d0ee148b0d05239c0160e0af93fe33 | 2024-05-03 00:00:00 | Default values in new SystemProperties APIs are now Strings instead of
Suppliers | [
"breaking"
] | [
"SystemPropertiesTest.testGetJavaSpecificationVersionSupplier",
"SystemPropertiesTest.testGetUserName"
] | [] | {} | 4 | 24 | 10 | diff --git a/src/main/java/org/apache/commons/lang3/JavaVersion.java b/src/main/java/org/apache/commons/lang3/JavaVersion.java
index 6b0fab9d58964ee97b2ad047abc6a47e0a0faaaa..37d73a2d8da2c2bc347516f37f4610015d4103b1 100644
--- a/src/main/java/org/apache/commons/lang3/JavaVersion.java
+++ b/src/main/java/org/apache/comm... | diff --git a/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java b/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java
index b192fd1ea792ce5cd6edf1443493b51417739d43..a7cd1defa509a0259ef1e39657b28dc75a7c7c53 100644
--- a/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java
+++ b/sr... |
commons-lang__78ce2d79 | commons-lang | apache/commons-lang | d6ec3655b12c3b5e96de4570987dd7e64960487c | 78ce2d79f2b1341bfc366b1fde487d960493a08a | 2022-07-15 00:00:00 | More precise exceptions | [
"breaking"
] | [
"EventListenerSupportTest.testSubclassInvocationHandling"
] | [] | {} | 2 | 17 | 12 | diff --git a/src/main/java/org/apache/commons/lang3/event/EventListenerSupport.java b/src/main/java/org/apache/commons/lang3/event/EventListenerSupport.java
index db2ac8fdb0371167b61f11f544745df8587a29e0..92c371591c0a227d67404b98a3ccd211e5830727 100644
--- a/src/main/java/org/apache/commons/lang3/event/EventListenerSup... | diff --git a/src/test/java/org/apache/commons/lang3/event/EventListenerSupportTest.java b/src/test/java/org/apache/commons/lang3/event/EventListenerSupportTest.java
index 70658a74675f32f4fc3a24d5c2f36d8ca45176ea..1b730dc1e24e789eb534e6302be721d8235915bd 100644
--- a/src/test/java/org/apache/commons/lang3/event/EventLis... |
commons-lang__7d7e8af4 | commons-lang | apache/commons-lang | 6cca6ff4a540b1811bec01934f9452761f7ef489 | 7d7e8af45032f1f3a29a18888cd3b0ca6085a156 | 2023-04-20 00:00:00 | Better common primitives as getters | [
"breaking"
] | [
"SystemPropertiesTest.testGetBoolean",
"SystemPropertiesTest.testGetInt",
"SystemPropertiesTest.testGetLong"
] | [] | {} | 2 | 15 | 21 | diff --git a/src/main/java/org/apache/commons/lang3/SystemProperties.java b/src/main/java/org/apache/commons/lang3/SystemProperties.java
index a27aef602bf6eb4a432d4ab255c09d9fb2a57298..1e54f0fda59a69918a4b17998d9ea5d07cccf312 100644
--- a/src/main/java/org/apache/commons/lang3/SystemProperties.java
+++ b/src/main/java/... | diff --git a/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java b/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java
index cd59fc2a1e664ae53400fdf6d05a52915c108995..4a24724d0e90bfe755f53d8b9d3aedd8550b7078 100644
--- a/src/test/java/org/apache/commons/lang3/SystemPropertiesTest.java
+++ b/sr... |
commons-lang__7e0d6dbd | commons-lang | apache/commons-lang | e53ac03299baba72a2cb875efb4a8c1c7d374353 | 7e0d6dbd2a65d8b36a4c9042565d06af34d489a0 | 2024-12-02 00:00:00 | Improve container detection by mimicing systemd (#1323)
* Improve container detection by checking for special files
* check for FreeBSD file
* mimic SystemD logic to detect container
* Fix RAT report complaint
* Various refactors and improvements
* Fix checkstyle import order | [
"breaking"
] | [
"RuntimeEnvironmentTest.testIsContainer"
] | [] | {} | 2 | 86 | 59 | diff --git a/src/main/java/org/apache/commons/lang3/RuntimeEnvironment.java b/src/main/java/org/apache/commons/lang3/RuntimeEnvironment.java
index 66b93d86cb965282b83247c79eec1665dfc1503b..3ee8f723c645c7cf1c36363f49f3a5dbebfb08c0 100644
--- a/src/main/java/org/apache/commons/lang3/RuntimeEnvironment.java
+++ b/src/main... | diff --git a/src/test/java/org/apache/commons/lang3/RuntimeEnvironmentTest.java b/src/test/java/org/apache/commons/lang3/RuntimeEnvironmentTest.java
index af0461f753c125e05839c462da4812442130c508..dc3be2ba7c35a0b0b4022e3ddbac2e5eab734325 100644
--- a/src/test/java/org/apache/commons/lang3/RuntimeEnvironmentTest.java
++... |
commons-lang__85959a45 | commons-lang | apache/commons-lang | bf5865ae915ececcdbfa7a473b0d708e3e235bcf | 85959a457076b740380c4d6f3d83098edd17a9e7 | 2023-08-09 00:00:00 | Syntax for optional tokens in DurationFormatUtils (#1062)
Allow optional tokens using the [ and ] characters.
Disallows nesting of optional tokens.
The leading literal within an optional block depends on first non-literal within the same block. | [
"breaking",
"missing"
] | [
"DurationFormatUtilsTest.testLexx",
"DurationFormatUtilsTest.testUnmatchedOptionalTokens",
"DurationFormatUtilsTest.testOptionalLiteralSpecialCharacters",
"DurationFormatUtilsTest.testAlternatingLiteralOptionals",
"DurationFormatUtilsTest.testLiteralPrefixOptionalToken",
"DurationFormatUtilsTest.testEmpty... | [] | {"DurationFormatUtilsTest": ["testAlternatingLiteralOptionals", "testEmptyOptionals", "testLiteralPrefixOptionalToken", "testMultipleOptionalBlocks", "testOptionalLiteralSpecialCharacters", "testOptionalToken", "testUnmatchedOptionalTokens"]} | 2 | 152 | 177 | diff --git a/src/main/java/org/apache/commons/lang3/time/DurationFormatUtils.java b/src/main/java/org/apache/commons/lang3/time/DurationFormatUtils.java
index 4daf47f13d3f0e3b8c129882fa9a56096f9a3635..00173ce98696624856f4435ec224082a9c7b7202 100644
--- a/src/main/java/org/apache/commons/lang3/time/DurationFormatUtils.j... | diff --git a/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java b/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java
index 545b220fb3629d077cd6d0416400e40e21dc1176..94e235927ffeb4034dc53e50e6d831eb85e112ce 100644
--- a/src/test/java/org/apache/commons/lang3/time/DurationForma... |
commons-lang__8a7b0da6 | commons-lang | apache/commons-lang | dc9e94626e19615b8970e2ba2532a7d11ea8f5da | 8a7b0da6fc783127f8272d955d9f06f1966949ec | 2025-07-18 00:00:00 | org.apache.commons.lang3.reflect.MethodUtils.getMethodObject(Class<?>,
String, Class<?>...) now returns null instead of throwing a
NullPointerException, as it does for other exception types | [
"breaking",
"stale"
] | [
"TestMutable.testGetMethodObject",
"TestMutable.testInvokeExactMethod",
"TestMutable.testInvokeMethod",
"TestMutable.testInvokeMethod_VarArgsNotUniqueResolvable",
"TestMutable.testInvokeMethod_VarArgsWithNullValues",
"TestMutable.testInvokeMethodForceAccessWithArgs"
] | [] | {} | 3 | 21 | 86 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 606469e51f9797eeae08531c3346a9c889783e53..cebd5f4dad22db31790ff3c4aa8518f24d30d481 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -50,6 +50,8 @@ The <action> type attribute can be add,update,fix,remove.
<action ... | diff --git a/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java b/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java
index d81234d9b63d4ba1e0d96a964f791229931f6e85..ace3af8e3df748cd601cf22b42838fd2c1b52110 100644
--- a/src/test/java/org/apache/commons/lang3/reflect/MethodUtilsTest.java... |
commons-lang__aae5a352 | commons-lang | apache/commons-lang | a588f7e6936b26026c0e6c7eca1c47a252291abe | aae5a3522fd585513693d6c550044247eae28a51 | 2022-07-05 00:00:00 | Use Objects#requireNonNull() | [
"breaking"
] | [
"TestClass.testIsSortedNullComparator",
"StringEscapeUtilsTest.testEscapeJava",
"StringEscapeUtilsTest.testUnescapeJava",
"StringEscapeUtilsTest.testEscapeEcmaScript",
"StringEscapeUtilsTest.testUnescapeEcmaScript",
"StringEscapeUtilsTest.testEscapeJson",
"StringEscapeUtilsTest.testUnescapeJson",
"Tes... | [] | {} | 6 | 27 | 28 | diff --git a/src/main/java/org/apache/commons/lang3/ArrayUtils.java b/src/main/java/org/apache/commons/lang3/ArrayUtils.java
index a098b0d5b8ec8d68e345d61828d46c15877e5af1..f0a698f3c3c71c08617390f25909be1fe101aafe 100644
--- a/src/main/java/org/apache/commons/lang3/ArrayUtils.java
+++ b/src/main/java/org/apache/commons... | diff --git a/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java b/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
index c44419d7aee6e6d9673b2291efe12ca26ba1fed4..23a37bac1609b3cbec8402a4fb3f77e26f43513b 100644
--- a/src/test/java/org/apache/commons/lang3/ArrayUtilsTest.java
+++ b/src/test/java/org/ap... |
commons-lang__aeca68f2 | commons-lang | apache/commons-lang | 7bb195000acb96ae9e0dd3a9b6f86ff13711ec60 | aeca68f2a5e5b87ab5bb94e1139ca42e547f0bd4 | 2024-02-24 00:00:00 | Make ArraySorter null-safe
Make ArrayUtils.removeAll() null-safe | [
"breaking",
"stale"
] | [
"ArraySorterTest.testSortByteArray",
"ArraySorterTest.testSortCharArray",
"ArraySorterTest.testSortComparable",
"ArraySorterTest.testSortDoubleArray",
"ArraySorterTest.testSortFloatArray",
"ArraySorterTest.testSortIntArray",
"ArraySorterTest.testSortLongArray",
"ArraySorterTest.testSortObjects",
"Ar... | [] | {} | 5 | 41 | 129 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index ebcb2fa2098c0e0cdd9299879ab8e2cad133500a..c1a58c9f6b4adb5d46297094c3bbea87a5095100 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -109,6 +109,8 @@ The <action> type attribute can be add,update,fix,remove.
<action ... | diff --git a/src/test/java/org/apache/commons/lang3/ArraySorterTest.java b/src/test/java/org/apache/commons/lang3/ArraySorterTest.java
index d3664321bcae6386b03105c75515678f22aa506f..b56e0ae8ed717e4229219f081a4ac9fcb1747298 100644
--- a/src/test/java/org/apache/commons/lang3/ArraySorterTest.java
+++ b/src/test/java/org... |
commons-lang__b1b409ae | commons-lang | apache/commons-lang | 75c6b5877735da8558e49aec29a91f8453ff268a | b1b409ae4096664a33787bf52be32d9d2eb0cb31 | 2023-12-11 00:00:00 | [LANG-1724] Customise text pattern in DiffResult#toString()
Internal refactoring toward solution | [
"breaking",
"missing"
] | [
"SimpleClass.testDefaultStyle",
"SimpleClass.testIterator",
"SimpleClass.testLeftAndRightGetters",
"SimpleClass.testListIsNonModifiable",
"SimpleClass.testNullLhs",
"SimpleClass.testNullList",
"SimpleClass.testNullRhs"
] | [] | {"DiffResultTest": ["testDefaultStyle"]} | 3 | 99 | 26 | diff --git a/src/main/java/org/apache/commons/lang3/builder/DiffBuilder.java b/src/main/java/org/apache/commons/lang3/builder/DiffBuilder.java
index 1bacfd8464b19ef326649131b4fe4e52bdf81470..b0e6c3aa3b3dc432e7dd7672f71eeb027a0dee9c 100644
--- a/src/main/java/org/apache/commons/lang3/builder/DiffBuilder.java
+++ b/src/m... | diff --git a/src/test/java/org/apache/commons/lang3/builder/DiffResultTest.java b/src/test/java/org/apache/commons/lang3/builder/DiffResultTest.java
index 18ccbb551b2dd7674707dfc1b4774792c547ffe7..06331f85f8515e01092cc9d6e5790f4e03398e1f 100644
--- a/src/test/java/org/apache/commons/lang3/builder/DiffResultTest.java
++... |
commons-lang__b55d278c | commons-lang | apache/commons-lang | e53d4c52d3717aa70e1c6216a59a1f6c767ec72b | b55d278cce19df99fd50f2ae800c5de2fc0991f7 | 2023-10-07 00:00:00 | Fix ThresholdCircuitBreaker (#1100)
* Fix ThresholdCircuitBreaker checkState bug
According to the document, checkState() should return `true` if the circuit breaker is currently closed。
* Update ThresholdCircuitBreakerTest.java
Fix threshold circuitbreaker unit test | [
"breaking"
] | [
"ThresholdCircuitBreakerTest.testThreshold",
"ThresholdCircuitBreakerTest.testThresholdCircuitBreakingException",
"ThresholdCircuitBreakerTest.testThresholdEqualsZero",
"ThresholdCircuitBreakerTest.testClosingThresholdCircuitBreaker"
] | [] | {} | 2 | 2 | 8 | diff --git a/src/main/java/org/apache/commons/lang3/concurrent/ThresholdCircuitBreaker.java b/src/main/java/org/apache/commons/lang3/concurrent/ThresholdCircuitBreaker.java
index 8cfd58e9ab809ecfb0b02e5bd446f7bc394563bc..7c6148c053391af76ee63a6afdb76a07d695534a 100644
--- a/src/main/java/org/apache/commons/lang3/concur... | diff --git a/src/test/java/org/apache/commons/lang3/concurrent/ThresholdCircuitBreakerTest.java b/src/test/java/org/apache/commons/lang3/concurrent/ThresholdCircuitBreakerTest.java
index c6a97fe44c1572023540e65877493a8ec012512a..be8a85e31b78f388771c9de604da695e134181c3 100644
--- a/src/test/java/org/apache/commons/lang... |
commons-lang__bc8a3b9d | commons-lang | apache/commons-lang | 1163e177137f5c57ce80092c0743209b28d33400 | bc8a3b9d8428bfcdfbce67e9010cf0aa27e6c8a6 | 2019-11-23 00:00:00 | sort fields in HashCodeBuilder for deterministic order (#480) | [
"breaking"
] | [
"TestSubObject.testReflectionHashCodeExcludeFields"
] | [] | {} | 2 | 3 | 8 | diff --git a/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java b/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java
index 1c2d722f182199d0055c7780e248d8e470212bfb..a1569dab6ad55b99d9740d430ed413f9d9201d68 100644
--- a/src/main/java/org/apache/commons/lang3/builder/HashCodeBuilder.java... | diff --git a/src/test/java/org/apache/commons/lang3/builder/HashCodeBuilderTest.java b/src/test/java/org/apache/commons/lang3/builder/HashCodeBuilderTest.java
index 148c533880a951c43de87d29ea0e5d0bac4d8d5e..598f8998fb612e5274151fc8f44df3763cdf2e00 100644
--- a/src/test/java/org/apache/commons/lang3/builder/HashCodeBuil... |
commons-lang__c9e825e8 | commons-lang | apache/commons-lang | b5de0ef28017583a451dbec86928f7682b2f8a94 | c9e825e823e30c5b1e3ddc9de5e8fd0094d52ee5 | 2020-12-22 00:00:00 | Add and use LocaleUtils.toLocale(Locale) to avoid NPEs and use the
default locale when an input locale is null. | [
"breaking",
"missing",
"stale"
] | [
"LocaleUtilsTest.testToLocale_Locale_defaults",
"LocaleUtilsTest.testToLocales",
"LocaleUtilsTest.testToLocale_1Part",
"LocaleUtilsTest.testParseAllLocales"
] | [] | {"LocaleUtilsTest": ["testToLocale_Locale_defaults"]} | 9 | 69 | 31 | diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 25a2839a75e3241796dcc5473c33f1b08222f3eb..5804a9c56bb201a93d8cd6b630c8d80d12d7369c 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -81,6 +81,7 @@ The <action> type attribute can be add,update,fix,remove.
<action issue="LANG-... | diff --git a/src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java b/src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java
index 558b5f9cf33deefefccf39593ec8c85a390bb6bc..8a8513d039363258088d8aff1c203aae6f18072b 100644
--- a/src/test/java/org/apache/commons/lang3/LocaleUtilsTest.java
+++ b/src/test/java/org... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.