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 0bd71754 Facilitate maintenance
add 43d3ac6c Fix up GHA badges
add 872db158 Merge branch 'release'
add c52aa525 Format tweak
add 346b4479 Use try-with-resources
add 63df6a5a Fix wrong issue id in changelog (#503)
add 9cf6f6b3 Fix wrong issue id in changelog #503
add 5256d942 Simplify
add a19435db Bump ossf/scorecard-action from 2.3.0 to 2.3.1 (#505)
add 45c7e4a9 Bump github/codeql-action from 2.22.3 to 2.22.4 (#506)
add d53bdead Update pom.xml
add 8247e956 Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-io.git
add 88edc665 Javadoc
add a28f806c Add and update for Checkstyle WhitespaceAfter
add caf36b02 Camel case parameter name
add 77c6f91a Camel case parameter name
add b8dc39ae Facilitate maintenance
add 2d3b856a Normalize spelling to US English
add 36995cca Normalize setter Javadoc
add 505ed1c5 Inline comment
add 11c9abdd Clarifies Java platform requirement
add d7298a85 Clarifies Java platform requirement
add c36106a3 Bump github/codeql-action from 2.22.4 to 2.22.5 (#508)
add 59b3601e Normalize test method names
add 7f31d000 Sort test members
add 04840371 Normalize test method names
add 064eecec Make package private class final
add 9be735e1 Make private class final
add 00796635 Add @SuppressWarnings
add 283e53e5 Add test for FileChannels.contentEquals() #509
add 8aa04184 Pick up Maven Moditect plugin version from parent POM
add 196ab82c Test PathUtils.fileContentEquals(Path, Path) with zip files
add de0a108b Test PathUtils.fileContentEquals(Path, Path) with zip files
add a106199e Remove trailing whitespace
add d6c14418 2.15.0 breaks backwards compatibility in
PathUtils.fileContentEquals for the Zip file system
add 2209fbb3 Javadoc
add 31c72cd2 Remove profile made obsolete by parent POM
add 6c338fd7 Javadoc
add 15137222 Java Java 7 Javadoc link with Java 8
add 9db61cb2 Fix Javadoc code elements
add f0093ffa Sort members
add 0958a462 Typo
add b258f0a5 Bump github/codeql-action from 2.22.5 to 2.22.7 (#511)
add 71422894 Bump org.codehaus.mojo:exec-maven-plugin from 3.1.0 to 3.1.1
(#512)
add 4edda923 Bump org.codehaus.mojo:exec-maven-plugin from 3.1.0 to 3.1.1
#512
add c78a2329 Spelling
add f223c0c9 Bump commons-lang3 from 3.13.0 to 3.14.0
add 5ecbd832 Checkstyle: @author tags are deprecated
add 613ab48e Javadoc
add dd44d7d1 Javadoc
add 8c7a2313 Javadoc
add 0783bafe Format tweak
add 512c183d Fix SpotBugs issues in DelegateFileFilter
add 94d36ef6 Avoid NullPointerException in
RegexFileFilter.RegexFileFilter(Pattern).
add 509395d0 Fix SpotBugs error: Class
org.apache.commons.io.filefilter.RegexFileFilter defines non-transient
non-serializable instance field pathToString
[org.apache.commons.io.filefilter.RegexFileFilter] In RegexFileFilter.java
SE_BAD_FIELD
add 7fd53e9f Fix SpotBugs error:
org.apache.commons.io.function.IOStream$1.next() cannot throw
NoSuchElementException [org.apache.commons.io.function.IOStream$1] At
IOStream.java:[line 98] IT_NO_SUCH_ELEMENT
add c39be8e3 Fix SpotBugs errors
add 05e745f7 Fix SpotBugs error
add 4a3e4f28 Fix SpotBugs errors
add e539867f Fix SpotBugs errors
add 3a0bf1c3 Fix SpotBugs errors
add bc51547e Fix SpotBugs errors
add c070fefb Fix SpotBugs errors
add 607d5592 Bump github/codeql-action from 2.22.7 to 2.22.8 (#517)
add 55731e11 Bump commons.bytebuddy.version from 1.14.9 to 1.14.10 (#516)
add 2fc580ca Bump commons.bytebuddy.version from 1.14.9 to 1.14.10 #516
add 632f2554 Internal renames and refactoring
add cd423dd7 Javadoc
add 9d153848 Simplify FileAlterationObserver internal processing
add f68d095d No need for null check
add b54ac951 Enable SpotBugs in the default Maven goal
add e2821b95 Bump commons-parent from 64 to 65
add b7d68125 Prepare for the next release candidate
new fe620a6a Merge branch 'master' into release
new dc51644d Prepare for RC
The 2 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 | 6 +-
.github/workflows/scorecards-analysis.yml | 4 +-
README.md | 8 +-
RELEASE-NOTES.txt | 237 +++++++-----
pom.xml | 57 +--
src/changes/changes.xml | 38 +-
src/changes/release-notes.vm | 14 +-
src/conf/checkstyle.xml | 8 +
src/conf/spotbugs-exclude-filter.xml | 37 ++
src/main/java/org/apache/commons/io/Charsets.java | 18 +-
.../apache/commons/io/CloseableURLConnection.java | 2 +-
.../org/apache/commons/io/DirectoryWalker.java | 2 +-
.../java/org/apache/commons/io/EndianUtils.java | 10 +-
.../java/org/apache/commons/io/FileCleaner.java | 4 +-
.../org/apache/commons/io/FileCleaningTracker.java | 6 +-
.../org/apache/commons/io/FileSystemUtils.java | 2 +-
src/main/java/org/apache/commons/io/FileUtils.java | 4 +-
src/main/java/org/apache/commons/io/IO.java | 2 +-
.../org/apache/commons/io/IOExceptionList.java | 5 +-
src/main/java/org/apache/commons/io/IOUtils.java | 2 +-
.../java/org/apache/commons/io/LineIterator.java | 6 +-
.../apache/commons/io/channels/FileChannels.java | 4 +-
.../io/comparator/ReverseFileComparator.java | 2 +-
.../commons/io/file/AccumulatorPathVisitor.java | 12 +-
.../java/org/apache/commons/io/file/PathUtils.java | 418 ++++++++++-----------
.../commons/io/filefilter/DelegateFileFilter.java | 5 +-
.../io/filefilter/MagicNumberFileFilter.java | 4 +-
.../commons/io/filefilter/RegexFileFilter.java | 9 +-
.../org/apache/commons/io/function/IOStream.java | 11 +-
.../commons/io/function/UncheckedIOBaseStream.java | 2 +-
.../apache/commons/io/input/BOMInputStream.java | 6 +-
.../commons/io/input/BoundedInputStream.java | 6 +-
.../apache/commons/io/input/ByteBufferCleaner.java | 2 +-
.../commons/io/input/CharSequenceInputStream.java | 4 +-
.../commons/io/input/CharSequenceReader.java | 2 +-
.../commons/io/input/MarkShieldInputStream.java | 2 +-
.../apache/commons/io/input/NullInputStream.java | 47 +--
.../org/apache/commons/io/input/NullReader.java | 14 +-
.../commons/io/input/ObservableInputStream.java | 6 +-
.../apache/commons/io/input/ProxyInputStream.java | 6 +-
.../commons/io/input/ReversedLinesFileReader.java | 2 +-
.../io/input/UnixLineEndingInputStream.java | 2 +-
.../io/input/UnsupportedOperationExceptions.java | 2 +-
.../input/UnsynchronizedBufferedInputStream.java | 20 +-
.../input/UnsynchronizedByteArrayInputStream.java | 75 ++--
.../io/input/UnsynchronizedFilterInputStream.java | 12 +-
.../io/input/WindowsLineEndingInputStream.java | 2 +-
.../apache/commons/io/input/XmlStreamReader.java | 102 +++--
.../commons/io/monitor/FileAlterationMonitor.java | 3 +-
.../commons/io/monitor/FileAlterationObserver.java | 20 +-
.../commons/io/monitor/SerializableFileTime.java | 2 +-
.../commons/io/output/AppendableOutputStream.java | 2 +-
.../apache/commons/io/output/AppendableWriter.java | 2 +-
.../commons/io/output/CountingOutputStream.java | 4 +-
.../commons/io/output/UncheckedAppendableImpl.java | 2 +-
src/site/xdoc/download_io.xml | 26 +-
src/site/xdoc/index.xml | 8 +-
.../java/org/apache/commons/io/CopyUtilsTest.java | 136 +++----
.../org/apache/commons/io/DirectoryWalkerTest.java | 62 ++-
.../org/apache/commons/io/EndianUtilsTest.java | 2 +-
.../commons/io/FileUtilsCleanSymlinksTest.java | 3 +-
.../io/FileUtilsCopyDirectoryToDirectoryTest.java | 10 +-
.../apache/commons/io/FileUtilsCopyToFileTest.java | 6 +-
.../org/apache/commons/io/FilenameUtilsTest.java | 2 +-
.../org/apache/commons/io/IOUtilsCopyTest.java | 8 +-
.../java/org/apache/commons/io/IOUtilsTest.java | 2 +-
.../commons/io/channels/FileChannelsTest.java | 112 ++++++
.../io/comparator/ComparatorAbstractTest.java | 4 +-
.../io/comparator/CompositeFileComparatorTest.java | 74 ++--
.../commons/io/file/AbstractTempDirTest.java | 1 +
.../io/file/PathUtilsContentEqualsTest.java | 27 ++
.../io/filefilter/AbstractIOFileFilterTest.java | 4 +-
.../commons/io/filefilter/AndFileFilterTest.java | 28 +-
.../commons/io/filefilter/RegexFileFilterTest.java | 27 +-
.../org/apache/commons/io/function/EraseTest.java | 2 +-
.../commons/io/function/IOIntStreamAdapter.java | 2 +-
.../apache/commons/io/function/IOStreamTest.java | 3 +-
.../apache/commons/io/function/TestConstants.java | 2 +-
.../org/apache/commons/io/function/TestUtils.java | 2 +-
.../commons/io/input/BOMInputStreamTest.java | 38 +-
.../apache/commons/io/input/BoundedReaderTest.java | 120 +++---
.../commons/io/input/CharSequenceReaderTest.java | 2 +-
.../io/input/MarkShieldInputStreamTest.java | 24 +-
.../commons/io/input/NullInputStreamTest.java | 39 +-
.../apache/commons/io/input/NullReaderTest.java | 17 +-
.../io/input/SwappedDataInputStreamTest.java | 6 +-
.../io/input/UnixLineEndingInputStreamTest.java | 40 +-
.../io/input/WindowsLineEndingInputStreamTest.java | 40 +-
.../io/input/XmlStreamReaderUtilitiesTest.java | 2 +-
.../io/monitor/FileAlterationMonitorTest.java | 2 +-
.../io/monitor/FileAlterationObserverTest.java | 10 +-
.../commons/io/output/ChunkedWriterTest.java | 6 +-
.../io/output/FileWriterWithEncodingTest.java | 150 ++++----
.../apache/commons/io/output/ProxyWriterTest.java | 42 +--
.../commons/io/output/QueueOutputStreamTest.java | 6 +-
.../io/serialization/FullClassNameMatcherTest.java | 4 +-
.../io/serialization/MockSerializedClass.java | 2 +-
.../io/serialization/MoreComplexObject.java | 9 +-
.../io/serialization/MoreComplexObjectTest.java | 10 +-
.../ValidatingObjectInputStreamTest.java | 72 ++--
.../WildcardClassNameMatcherTest.java | 6 +-
.../resources/org/apache/commons/io/bla-copy.zip | Bin 0 -> 666 bytes
src/test/resources/org/apache/commons/io/bla.zip | Bin 0 -> 666 bytes
src/test/resources/org/apache/commons/io/moby.zip | Bin 0 -> 4897 bytes
.../commons/io/test-same-size-diff-contents.zip | Bin 0 -> 554 bytes
105 files changed, 1360 insertions(+), 1126 deletions(-)
create mode 100644
src/test/java/org/apache/commons/io/channels/FileChannelsTest.java
create mode 100644 src/test/resources/org/apache/commons/io/bla-copy.zip
create mode 100644 src/test/resources/org/apache/commons/io/bla.zip
create mode 100644 src/test/resources/org/apache/commons/io/moby.zip
create mode 100644
src/test/resources/org/apache/commons/io/test-same-size-diff-contents.zip