You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/09/24 16:01:57 UTC
[commons-io] branch release updated (60392c9a -> e6b39f68)
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a change to branch release
in repository https://gitbox.apache.org/repos/asf/commons-io.git
from 60392c9a Bump to next development version
add 058de054 [IO-799] ReaderInputStream.read() throws an exception instead of returning -1 when called again after returning -1.
add 916cda63 End sentence.
add d3910a91 Test PathUtils.deleteDirectory(Path)
add b9efbe5d [IO-800] Fix back-incompatible change for PathUtils.deleteDirectory(): throw NoSuchFileException instead of IllegalArgumentException (#459)
add eb3ab126 [IO-800] Fix back-incompatible change for PathUtils.deleteDirectory(): throw NoSuchFileException instead of IllegalArgumentException
add 38cbc659 [IO-801] Deprecation documentation gives incorrect alternative.
add 5bee6abe Deduplicate information
add 8d8935e0 Add DeferredFileOutputStream.getPath().
add 32d2f338 Javadoc
add 0671c86b Add FileCleaningTracker.track(Path, Object[, FileDeleteStrategy]).
add 37ce4d5b Test: Do NOT used a try-with-resources statement here or the test will fail.
add 283c50bc Whitespace police
add fcb1ce52 Add IOUtils.skip[Fully](InputStream, long, Supplier<byte>)
add a6774dbc Add FilesUncheck.find(Path, int, BiPredicate<Path, BasicFileAttributes>, FileVisitOption...)
add a8969828 Add tests for IO-803
add 40965f18 Bump actions/checkout from 3.5.2 to 3.5.3
add c9c9cc02 [IO-804] FileUtils.forceMkdirParent api doc is likely incorrect
add 44876fcd Better internal name
add 23460adf Add IOIntSupplier
add 746d28e2 Javadoc
add 43953ce6 Rename test class
add 06daabe5 Reuse Uncheck
add 5f6432f9 Add Uncheck.run(IORunnable, Supplier<String>)
add b4caca0c Add Uncheck.get(IOSupplier, Supplier<String>)
add d6e836d4 Merge 2 similar test classes
add c6d891ec Add Uncheck.getAsInt(IOIntSupplier, Supplier<String>)
add 6fea8f40 Add missing test
add d3b51407 Add Uncheck.getAsLong(IOIntSupplier, Supplier<String>)
add 3b8665b5 [StepSecurity] ci: Harden GitHub Actions (#461)
add dfc98629 [StepSecurity] ci: Harden GitHub Actions #461.
add fc555985 IOFileFilter now also extends java.nio.file.PathMatcher
add cee49cf5 Bump ossf/scorecard-action from 2.1.3 to 2.2.0 (#463)
add 4d1ded4b Add PathMatcherFileFilter to adapt java.nio.file.PathMatcher
add d96a21b3 Bump github/codeql-action from 2.1.22 to 2.20.1 (#464)
add c3471687 Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-io.git
add fe02b59c Add PathMatcherFileFilter to adapt java.nio.file.PathMatcher
add 3f39f4fe Don't make assertions Windows-specific
add 3609deb3 Inline private method (single-use and simple)
add beee436f Bump jimfs from 1.2 to 1.3.0 (#465)
add a297b9b0 Bump jimfs from 1.2 to 1.3.0 #465 (tests).
add 186d886a Bump github/codeql-action from 2.20.1 to 2.20.3 (#466)
add 50d8e9c3 Fix formatting
add 18e1b6e0 More testing
add ba967e37 Test should generate temporary files in the Maven "target" folder instead of the root
add 5035e97f Add ThresholdingOutputStream.getOutputStream() and deprecate getStream()
add 0f2c3bc1 Javadoc
add f9d59dcf Add DeferredFileOutputStream.Builder.setOutputFile(Path)
add 0f3a88d0 Javadoc
add b57c42a5 Format tweak
add 4a298b78 Add AbstractStreamBuilder.setBufferSizeMax(int).
add 6c01d24c Use IntUnaryOperator
add f0971f8a Use a JRE built-in Charset instead of a magic string
add 525cb87a Bump github/codeql-action from 2.20.3 to 2.21.0 (#467)
add c511d152 Normalize spelling
add 72b1f88f Javadoc
add 3c9d7bc1 Match XML PI at start of document
add 06fde314 Better regular expression
add 5e5f4abd Spelling (#468)
add 5168fa5e Spelling #468
add 80a349e3 Bump github/codeql-action from 2.21.0 to 2.21.1 (#469)
add c632f209 Bump commons-parent from 58 to 59
add dd6854ab Bump actions/setup-java from 3.11.0 to 3.12.0 (#470)
add 62369354 Bump commons-lang3 from 3.12.0 to 3.13.0
add 044c850a Bump github/codeql-action from 2.21.1 to 2.21.2 (#471)
add d3b99843 Bump jmh.version from 1.36 to 1.37 (#472)
add 1e84a779 Better JUnit API usage
add 3fe80bb5 Bump github/codeql-action from 2.21.2 to 2.21.3 (#473)
add f58664d3 Bump github/codeql-action from 2.21.3 to 2.21.4 (#474)
add adcb56a8 Better test class name
add dec88cac Fix formatting
add ec3410ae Normalize array type declarations
add 59c332a7 Bump actions/checkout from 3.5.3 to 3.6.0 (#476)
add ab9325e1 Bump commons-parent from 59 to 61
add 530c5557 Bump github/codeql-action from 2.21.4 to 2.21.5 (#477)
add 45cbb668 Update DTD
add fc69738e Bump commons-parent from 61 to 62
add 313f3c5d Bump actions/upload-artifact from 3.1.2 to 3.1.3 (#479)
add 0163d248 Bump actions/checkout from 3.6.0 to 4.0.0 (#481)
add 2d27d951 Bump actions/cache from 3.3.1 to 3.3.2 (#480)
add d36381fb Use assertThrows (#475)
add 63123363 Use assertThrows #475
add c2b11cec Bump github/codeql-action from 2.21.5 to 2.21.7 (#482)
add 92b8a1f1 Bump actions/setup-java from 3.12.0 to 3.13.0 (#484)
add 3a17f525 Prepare for release candidate
new e6b39f68 Prepare for release candidate
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/workflows/codeql-analysis.yml | 10 +-
.github/workflows/coverage.yml | 8 +-
.github/workflows/maven.yml | 6 +-
.github/workflows/scorecards-analysis.yml | 8 +-
README.md | 6 +-
RELEASE-NOTES.txt | 82 +++++-
pom.xml | 14 +-
src/changes/changes.xml | 96 ++++++-
src/changes/release-notes.vm | 2 +
src/conf/checkstyle.xml | 4 +-
.../org/apache/commons/io/FileCleaningTracker.java | 33 ++-
.../java/org/apache/commons/io/FileSystem.java | 2 +-
src/main/java/org/apache/commons/io/FileUtils.java | 23 +-
.../org/apache/commons/io/IOExceptionList.java | 4 +-
.../org/apache/commons/io/IOIndexedException.java | 2 +-
src/main/java/org/apache/commons/io/IOUtils.java | 68 ++++-
.../apache/commons/io/RandomAccessFileMode.java | 6 +-
.../org/apache/commons/io/TaggedIOException.java | 2 +-
.../apache/commons/io/UncheckedIOExceptions.java | 4 +-
.../commons/io/build/AbstractOriginSupplier.java | 22 +-
.../commons/io/build/AbstractStreamBuilder.java | 69 ++++-
.../commons/io/file/AccumulatorPathVisitor.java | 8 +-
.../commons/io/file/CleaningPathVisitor.java | 4 +-
.../commons/io/file/CountingPathVisitor.java | 4 +-
.../commons/io/file/DeletingPathVisitor.java | 4 +-
.../org/apache/commons/io/file/FilesUncheck.java | 17 ++
.../java/org/apache/commons/io/file/PathUtils.java | 2 +-
.../apache/commons/io/filefilter/IOFileFilter.java | 29 +-
.../io/filefilter/MagicNumberFileFilter.java | 1 +
...sFileFilter.java => PathMatcherFileFilter.java} | 28 +-
.../apache/commons/io/function/IOBaseStream.java | 2 +-
.../{IOSupplier.java => IOIntSupplier.java} | 15 +-
.../{IOSupplier.java => IOLongSupplier.java} | 15 +-
.../apache/commons/io/function/IOSpliterator.java | 2 +-
.../org/apache/commons/io/function/Uncheck.java | 116 +++++++-
.../commons/io/input/AutoCloseInputStream.java | 2 +-
.../apache/commons/io/input/BrokenInputStream.java | 6 +-
.../org/apache/commons/io/input/BrokenReader.java | 6 +-
.../commons/io/input/CircularInputStream.java | 2 +-
.../commons/io/input/CloseShieldInputStream.java | 4 +-
.../apache/commons/io/input/CloseShieldReader.java | 4 +-
.../io/input/InfiniteCircularInputStream.java | 2 +-
.../commons/io/input/MarkShieldInputStream.java | 2 +-
.../input/MessageDigestCalculatingInputStream.java | 8 +-
.../org/apache/commons/io/input/NullReader.java | 6 +-
.../commons/io/input/ObservableInputStream.java | 6 +-
.../apache/commons/io/input/QueueInputStream.java | 4 +-
.../io/input/RandomAccessFileInputStream.java | 13 +-
.../commons/io/input/ReadAheadInputStream.java | 10 +-
.../apache/commons/io/input/ReaderInputStream.java | 19 +-
.../commons/io/input/ReversedLinesFileReader.java | 30 +-
.../apache/commons/io/input/SequenceReader.java | 9 +-
.../apache/commons/io/input/TaggedInputStream.java | 2 +-
.../org/apache/commons/io/input/TaggedReader.java | 2 +-
.../apache/commons/io/input/TeeInputStream.java | 4 +-
.../org/apache/commons/io/input/TeeReader.java | 4 +-
.../commons/io/input/TimestampedObserver.java | 6 +-
.../commons/io/input/UncheckedBufferedReader.java | 2 +-
.../io/input/UncheckedFilterInputStream.java | 2 +-
.../commons/io/input/UncheckedFilterReader.java | 2 +-
.../io/input/UnixLineEndingInputStream.java | 2 +-
.../io/input/UnsupportedOperationExceptions.java | 6 +-
.../input/UnsynchronizedByteArrayInputStream.java | 6 +-
.../io/input/WindowsLineEndingInputStream.java | 2 +-
.../apache/commons/io/input/XmlStreamReader.java | 21 +-
.../commons/io/input/XmlStreamReaderException.java | 4 +-
.../io/input/buffer/CircularBufferInputStream.java | 4 +-
.../io/input/buffer/CircularByteBuffer.java | 4 +-
.../io/input/buffer/PeekableInputStream.java | 4 +-
.../org/apache/commons/io/monitor/FileEntry.java | 2 +-
.../commons/io/output/BrokenOutputStream.java | 6 +-
.../org/apache/commons/io/output/BrokenWriter.java | 6 +-
.../commons/io/output/ByteArrayOutputStream.java | 4 +-
.../commons/io/output/ChunkedOutputStream.java | 6 +-
.../apache/commons/io/output/ChunkedWriter.java | 7 +-
.../commons/io/output/CloseShieldOutputStream.java | 4 +-
.../commons/io/output/CloseShieldWriter.java | 4 +-
.../commons/io/output/CountingOutputStream.java | 6 +-
.../io/output/DeferredFileOutputStream.java | 94 ++++++-
.../commons/io/output/FilterCollectionWriter.java | 4 +-
.../commons/io/output/ProxyCollectionWriter.java | 4 +-
.../commons/io/output/QueueOutputStream.java | 2 +-
.../commons/io/output/TaggedOutputStream.java | 2 +-
.../org/apache/commons/io/output/TaggedWriter.java | 2 +-
.../org/apache/commons/io/output/TeeWriter.java | 4 +-
.../io/output/ThresholdingOutputStream.java | 28 +-
.../commons/io/output/UncheckedAppendable.java | 2 +-
.../io/output/UncheckedFilterOutputStream.java | 2 +-
.../commons/io/output/UncheckedFilterWriter.java | 2 +-
.../UnsynchronizedByteArrayOutputStream.java | 6 +-
src/site/xdoc/download_io.xml | 26 +-
src/site/xdoc/index.xml | 162 ++---------
...a => AbstractFileUtilsDeleteDirectoryTest.java} | 2 +-
.../org/apache/commons/io/DirectoryWalkerTest.java | 2 +-
.../apache/commons/io/FileCleaningTrackerTest.java | 100 +++++--
.../commons/io/FileUtilsCleanDirectoryTest.java | 6 +-
.../commons/io/FileUtilsCleanSymlinksTest.java | 10 +-
.../apache/commons/io/FileUtilsCopyToFileTest.java | 2 +-
.../io/FileUtilsDeleteDirectoryLinuxTest.java | 15 +-
.../io/FileUtilsDeleteDirectoryWindowsTest.java | 2 +-
.../java/org/apache/commons/io/FileUtilsTest.java | 18 +-
.../org/apache/commons/io/FilenameUtilsTest.java | 38 +--
.../org/apache/commons/io/IOUtilsCopyTest.java | 4 +-
.../commons/io/IOUtilsMultithreadedSkipTest.java | 147 ++++++++++
.../java/org/apache/commons/io/IOUtilsTest.java | 76 ++++--
.../org/apache/commons/io/UncheckedIOTest.java | 103 -------
.../io/build/AbstractStreamBuilderTest.java | 68 +++++
.../io/comparator/SizeFileComparatorTest.java | 8 +-
.../{PathWrapper.java => AbstractPathWrapper.java} | 8 +-
.../commons/io/file/CopyDirectoryVisitorTest.java | 2 +-
.../org/apache/commons/io/file/DeletablePath.java | 2 +-
.../apache/commons/io/file/FilesUncheckTest.java | 5 +
.../io/file/PathUtilsDeleteDirectoryTest.java | 16 ++
.../org/apache/commons/io/file/PathUtilsTest.java | 6 +-
...java => AbstractConditionalFileFilterTest.java} | 2 +-
.../commons/io/filefilter/AbstractFilterTest.java | 35 ++-
...ractTest.java => AbstractIOFileFilterTest.java} | 10 +-
.../commons/io/filefilter/AndFileFilterTest.java | 2 +-
.../commons/io/filefilter/FileFilterTest.java | 61 +++--
.../commons/io/filefilter/OrFileFilterTest.java | 2 +-
.../io/filefilter/PathMatcherFileFilterTest.java | 50 ++++
.../commons/io/filefilter/RegexFileFilterTest.java | 8 +-
.../io/filefilter/SymbolicLinkFileFilterTest.java | 17 +-
.../io/filefilter/WildcardFileFilterTest.java | 14 +-
.../commons/io/function/IOBaseStreamTest.java | 4 +-
...{IOSupplierTest.java => IOIntSupplierTest.java} | 32 +--
...IOSupplierTest.java => IOLongSupplierTest.java} | 34 +--
.../apache/commons/io/function/IOStreamTest.java | 10 +-
.../apache/commons/io/function/IOSupplierTest.java | 4 +-
.../apache/commons/io/function/TestConstants.java | 4 +
.../org/apache/commons/io/function/TestUtils.java | 24 ++
.../apache/commons/io/function/UncheckTest.java | 175 +++++++++++-
.../io/input/CharSequenceInputStreamTest.java | 26 +-
.../commons/io/input/NullInputStreamTest.java | 58 +---
.../apache/commons/io/input/NullReaderTest.java | 25 +-
.../commons/io/input/ReaderInputStreamTest.java | 31 +++
.../ReversedLinesFileReaderTestParamFile.java | 9 +-
.../commons/io/input/TaggedInputStreamTest.java | 50 +---
.../apache/commons/io/input/TaggedReaderTest.java | 50 +---
.../org/apache/commons/io/input/TailerTest.java | 4 +-
.../commons/io/input/TeeInputStreamTest.java | 29 +-
.../org/apache/commons/io/input/TeeReaderTest.java | 29 +-
.../UnsynchronizedBufferedInputStreamTest.java | 27 +-
.../input/UnsynchronizedFilterInputStreamTest.java | 8 +-
.../commons/io/input/XmlStreamReaderTest.java | 14 +-
.../io/input/XmlStreamReaderUtilitiesTest.java | 4 +-
.../io/input/compatibility/XmlStreamReader.java | 18 +-
.../io/output/ByteArrayOutputStreamTest.java | 10 +-
.../io/output/DeferredFileOutputStreamTest.java | 29 +-
.../commons/io/output/TeeOutputStreamTest.java | 20 +-
.../apache/commons/io/output/TeeWriterTest.java | 303 ++++++++-------------
.../io/output/ThresholdingOutputStreamTest.java | 27 +-
.../commons/io/output/UncheckedAppendableTest.java | 26 +-
.../io/serialization/MockSerializedClass.java | 2 +-
.../java/org/apache/commons/io/test/TestUtils.java | 20 +-
.../resources/org/apache/commons/io/TIKA-4065.bin | Bin 0 -> 1952 bytes
156 files changed, 2050 insertions(+), 1210 deletions(-)
copy src/main/java/org/apache/commons/io/filefilter/{PathEqualsFileFilter.java => PathMatcherFileFilter.java} (55%)
copy src/main/java/org/apache/commons/io/function/{IOSupplier.java => IOIntSupplier.java} (82%)
copy src/main/java/org/apache/commons/io/function/{IOSupplier.java => IOLongSupplier.java} (82%)
rename src/test/java/org/apache/commons/io/{FileUtilsDeleteDirectoryBaseTest.java => AbstractFileUtilsDeleteDirectoryTest.java} (99%)
create mode 100644 src/test/java/org/apache/commons/io/IOUtilsMultithreadedSkipTest.java
delete mode 100644 src/test/java/org/apache/commons/io/UncheckedIOTest.java
create mode 100644 src/test/java/org/apache/commons/io/build/AbstractStreamBuilderTest.java
rename src/test/java/org/apache/commons/io/file/{PathWrapper.java => AbstractPathWrapper.java} (95%)
rename src/test/java/org/apache/commons/io/filefilter/{ConditionalFileFilterAbstractTest.java => AbstractConditionalFileFilterTest.java} (98%)
rename src/test/java/org/apache/commons/io/filefilter/{IOFileFilterAbstractTest.java => AbstractIOFileFilterTest.java} (88%)
create mode 100644 src/test/java/org/apache/commons/io/filefilter/PathMatcherFileFilterTest.java
copy src/test/java/org/apache/commons/io/function/{IOSupplierTest.java => IOIntSupplierTest.java} (63%)
copy src/test/java/org/apache/commons/io/function/{IOSupplierTest.java => IOLongSupplierTest.java} (61%)
create mode 100644 src/test/resources/org/apache/commons/io/TIKA-4065.bin
[commons-io] 01/01: Prepare for release candidate
Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/commons-io.git
commit e6b39f68bce71fc2be12d06312d85d789a65e4f5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sun Sep 24 12:01:51 2023 -0400
Prepare for release candidate
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index c803caa1..18c11d96 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
- <version>2.14.0-SNAPSHOT</version>
+ <version>2.14.0</version>
<name>Apache Commons IO</name>
<inceptionYear>2002</inceptionYear>