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 d9370d4e8 Bump to next development version
add d5380980e Add section for the next release
add 1dd8108a9 Add ThrottledInputStream.Builder.setMaxBytes(int, ChronoUnit)
add ab1a29ab3 Bump github/codeql-action from 3.27.4 to 3.27.5 (#703)
add a1f3055e1 Bump actions/dependency-review-action from 4.4.0 to 4.5.0
(#704)
add 2224df7b9 Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-io.git
add b52268122 Bump POM version to 2.19.0
add 024e4b645 [IO-860] Use a long instead of an int for
ThrottledInputStream.Builder.setMaxBytes(long, ChronoUnit)
add b27a9d019 No need for blank Javadoc lines between Javadoc @ tags
add e454fcee4 Add pull request template
add ee9c69d9d Bump github/codeql-action from 3.27.5 to 3.27.6 (#705)
add 9e224a5f0 Bump actions/cache from 4.1.2 to 4.2.0 (#706)
add eb402e33c Normalize spelling
add 832f89977 Javadoc
add a5ad42cd6 Lambda is an expression
add cd53b72a4 Javadoc
add 73d9faf74 Javadoc
add c873adc94 Change package-private constructor to private
add 21939d009 Add IOIterable
add 0af0d178a Two TeeWriterTest methods test the wrong class
add 935fb384a ReversedLinesFileReader implements IOIterable<String>
add b626dc945 Comment: Fix spelling
add 44b355fca Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-io.git
add ec7904be9 Fix Javadoc
add ce894b214 Javadoc: Add missing constructor Javadoc comments
add 26f03d3ce Deprecate constructor Counters.Counters() to be private in
4.0
add 3a5588b3a Deprecate constructor Charsets.Charsets() to be private in
4.0
add d29a7b709 Add missing Javdoc
add 6ce2028be Javadoc: Add missing constructor Javadoc comments
add 8d34ffd7a Javadoc: Add missing constructor Javadoc comments
add 53f3d02fd PMD fix make: Make class final
add 9e8cb8660 Javadoc: Add missing constructor Javadoc comments
add b1c3d9d67 Add AbstractByteArrayOutputStream.write(CharSequence,
Charset)
add daf770ae1 Bump github/codeql-action from 3.27.6 to 3.27.9 (#707)
add 1c84539e0 Sort members
add 4aabd6816 Javadoc
add 6c95d8c1b Bump actions/setup-java from 4.5.0 to 4.6.0 (#708)
add 608df3cb1 Bump actions/upload-artifact from 4.4.3 to 4.5.0 (#709)
add 7eca9034d Bump commons.bytebuddy.version from 1.15.10 to 1.15.11 (#710)
add 24d2d05e8 Bump commons.bytebuddy.version from 1.15.10 to 1.15.11 #710
add c19a27e16 Pick up maven-antrun-plugin version from parent POM
org.apache:apache
add 01195766a Replace 2x empty lines with a single one
add ac4507ed9 Bump github/codeql-action from 3.27.9 to 3.28.0 (#711)
add c92b2115d Add FileUtilsListFilesTest.testListFilesMissing()
add 4f00dec26 Javadoc
add 07fdd0723 Javadoc
add acfac751d Update notice file copyright end date
add 222fd91ba Normalize whitespace
add e79837752 Add RandomAccessFileOutputStream.getRandomAccessFile()
add 2077753f0 Fix release description
add f78f7a256 Add ProxyInputStream.setReference(InputStream), was
package-private setIn(InputStream)
add 07ad1b3cb Add ProxyOutputStream.setReference(OutputStream)
add f0eb9b9ea Javadoc
add 9ab715568 Remove dead comment
add 2ad1a7854 Javadoc
add f29c460b5 Add RandomAccessFileInputStream.copy(long, long,
OutputStream)
add ea12ff572 Add Apache license header
add 2b7412d31 Bump commons-codec:commons-codec from 1.17.1 to 1.17.2
add 2fc4ffb12 Bump actions/upload-artifact from 4.5.0 to 4.6.0 (#712)
add 1a68bdc29 Bump org.apache.commons:commons-parent from 78 to 79
add 6e3dd0d8f Use HTTP to fetch XSD
add a2dafe8c2 Make sure JAR files are readable in the TAR file
add a9a6fd607 Add comment for reproducible builds
add a019609dd Bump org.apache.commons:commons-parent from 78 to 79
add 94a6d100c Pick up JUnit Pioneer version from the parent POM
add 4b89cd3e5 Use HTTPS to fetch XSD files
add adc6574c2 Bump github/codeql-action from 3.28.0 to 3.28.1 (#714)
add 36aedd510 Match Doxia 2 site generation
add 6e452f406 Javadoc is missing its Overview page
add c6ac75071 Pick up Mockito version from parent POM
add db2d999da Remove trailing whitespace
add 85342f39c Bump commons.bytebuddy.version from 1.15.11 to 1.16.1 (#715)
add 4e0f656e1 Bump commons.bytebuddy.version from 1.15.11 to 1.16.1 #715
add b4f1c8096 Add Checkstyle TypecastParenPad
add 3bae4fa3d Fix ParenPad
add 549a03404 Add Checkstyle ParenPad
add a01674028 Add ProxyOutputStream.Builder
add 9a94ba79f Port site from Doxia 1 to 2
add 66d21a0a4 Fix code examples
add 97af8921a Consistent formatting of code in examples
add 2be9a93d2 Remove background color from site pages
add e03af147f Better section names for "Upgrade" sections
add 2da6d8a06 Document the default Maven goal
add d67af31fa Use a list instead of line breaks
add d6c336ffe Fix trailing whitespace
add bbdb869a2 Bump github/codeql-action from 3.28.1 to 3.28.4 (#716)
add fecb87694 Javadoc
add 3dc999374 Update contributing file from user feedback
add 2a95777a0 Bump commons-codec:commons-codec from 1.17.2 to 1.18.0 (#717)
add 719e8c54a Bump commons-codec:commons-codec from 1.17.2 to 1.18.0 #717
add 53c0be2d5 Bump org.apache.commons:commons-parent from 79 to 80 #339
add e014cb570 Bump org.apache.commons:commons-parent from 80 to 81
add 8ed011b60 Bump actions/setup-java from 4.6.0 to 4.7.0 (#719)
add b6de8b22c Bump github/codeql-action from 3.28.4 to 3.28.8 (#718)
add 746a13b54 Bump commons.bytebuddy.version from 1.16.1 to 1.17.0 (#720)
add 49fbdd09f Bump commons.bytebuddy.version from 1.16.1 to 1.17.0 #720
add 341d259da Normalize method names
add 3ca717b0c [IO-867] Fix ThresholdingOutputStream#isThresholdExceeded
add c00374e3d Deprecate DeferredFileOutputStream.getStream() in favor of
getOutputStream()
add 6f58ee585 Javadoc
add 2743c6489 Javadoc
add 58ef14184 [IO-867] Fix ThresholdingOutputStream#isThresholdExceeded
add ed8253c10 Javadoc
add c20dacf8a Javadoc
add 9c67368c7 [site] Update dev email label
add 82248cee9 Javadoc
add 480e81322 Javadoc
add 74dd3950b [IO-867] Fix ThresholdingOutputStream#isThresholdExceeded
add 73a38a14d Better instance variable name
add 8b0b9a6a6 Add ByteOrderMark.matches(int[])
add 2e2ea0801 Sort entries
add a8e01087b Remove no longer needed property
add d1f83ee2b Add checkstyle rule: No Javadoc author tags
add d1766304c Sort Checkstyle entries
add 67cc9af37 Add Checkstyle CovariantEquals
add 981b37a09 Add Checkstyle DefaultComesLast
add a6f63a433 Add Checkstyle EmptyBlock
add 63f9b48ab Add Checkstyle EqualsHashCode
add 9dde9e3e9 Add Checkstyle ExplicitInitialization
add 164c8b9cb Add Checkstyle FallThrough
add dcc5feba0 Add Checkstyle IllegalImport
add 77916b23a Add Checkstyle IllegalInstantiation
add d26361830 Add Checkstyle MissingOverride
add 35601cbca Add Checkstyle ModifierOrder
add a870d4f33 Add Checkstyle MultipleVariableDeclarations
add cdcf55b64 Add Checkstyle RedundantModifier
add d30115020 Add Checkstyle RightCurly
add be4a0a319 Add Checkstyle SimplifyBooleanExpression
add ab4b2ce45 Add Checkstyle SimplifyBooleanReturn
add 0ed4e1f1a Add Checkstyle StringLiteralEquality
add 894c98093 Add Checkstyle SuperClone
add a2a165992 Add Checkstyle SuperFinalize
add 3986ba699 Add Checkstyle UnnecessaryParentheses
add 32d9f41fd Add Checkstyle WhitespaceAround
add 5915128b6 Add Checkstyle UpperEll
add 42d0c3622 Bump github/codeql-action from 3.28.8 to 3.28.9 (#721)
add a0e069db9 [IO-868] BoundedInputStream builder() can throw IOException
add 654994673 [IO-868] BoundedInputStream builder() can throw IOException
add dd38ca572 Javadoc improvements
add 1bdbb60dd Javadoc improvements
add 2abfd535c [IO-868] Improve Javadoc for a BoundedInputStream builder()
throwing IOException
add 73327b4d5 Improve Javadoc for all implementations of
AbstractOriginSupplier#get()
add 93309324e Fix typos in Javadoc and comments
add 00a39a925 [IO-867] Add
ThresholdingOutputStreamTest.testResetByteCount()
add 025850a68 Add BrokenOutputStream.BrokenOutputStream(Function<String>,
Throwable>)
add ce20c6acc [IO-867] Add
ThresholdingOutputStreamTest.testResetByteCountBrokenOutputStream()
add b0c4fc11f Add IOIterable.unwrap()
add 4988e4b06 Bump commons.bytebuddy.version from 1.17.0 to 1.17.1
add 777e8562b Better test method name
add 9c8dabf7f Fix bug in test fixture
add 27eb9a95c Fix test fixture
add 526b3154f Fix test fixture
add 0a7134403 Fix test fixtures
add e45b048fc Normalize test method names
add 969434f0d Comments and longer lines
add d3e51a932 Bump actions/cache from 4.2.0 to 4.2.1 (#722)
add a93b30c91 Javadoc
add e24dcb1a4 Reduce source code noise
add 3b77766e7 The Consumer to IOUtils.closeQuietly(Closeable, Consumer)
now accepts Exception, not just IOException
add 1d2019f2a The Consumer to IOUtils.close(Closeable, IOConsumer) now
accepts wrapped Exception, not just IOException
add 041c4f57e Reduce vertical space
add 8e6feabad Add IOBooleanSupplier
add 9b0f78e89 Avoid unnecessary boxing and unboxing of int and long values
add 9bf57e160 Javadoc and comments
add 0e7af4dca Bump actions/cache from 4.2.1 to 4.2.2 (#725)
add 63591f2a3 Bump actions/upload-artifact from 4.6.0 to 4.6.1 (#726)
add d4ef922e9 Bump github/codeql-action from 3.28.9 to 3.28.10 (#724)
add 22a10912c Bump ossf/scorecard-action from 2.4.0 to 2.4.1 (#723)
add 0029e2955 Javadoc
add 6b889d83c Inline single use local variables
add 5aada4c51 Better tests for RandomAccessFiles.contentEquals()
add 6ca84c08b Better tests for FileChannels.contentEquals()
add 95ec048d7 Javadoc
add 5d3322ba1 Better tests for FileChannels.contentEquals()
add 53674e924 Reduce test fixture size
add 90c87a483 FileChannels.contentEquals(FileChannel, FileChannel, int)
can return false when comparing a non-blocking channel
add 904d352be Javadoc
add bfeb77420 Fix test fixture
add d821156ca Test fixture doesn't need to be public
add 454e73db2 Revert to original test fixture size
add a7cf506dd Add missing argument in test
add e7a754265 Add Javadoc since tag
add 77a191563 Simplify test
add ae70118ac Remove unused test infra
add 46e99a439 More FileChannels testing
add 06338c448 Test channels that return data at different rates
add 38f0cb9c1 Bump commons.bytebuddy.version from 1.17.1 to 1.17.2
add 5bd0af4eb Remove extra vertical whitespace
add e09033cd6 Fix action type
add c832eb207 Add FileChannels.contentEquals(ReadableByteChannel,
ReadableByteChannel, int)
add 21a1a4309 Bump github/codeql-action from 3.28.10 to 3.28.11 (#727)
add a03781d3c Comment: Remove unnecessary Latin acronym
add 929a59a8f Comment: Remove unnecessary Latin acronym
add 6f0d8ed8f Better local variable names
add 24142f99b Javadoc
add a92414022 IO-870: PathUtils.copyFileToDirectory (#728)
add 0d41d2fd9 [IO-870] PathUtils.copyFileToDirectory() across file systems
add ca7ad5656 Bump actions/upload-artifact from 4.6.1 to 4.6.2 (#730)
add 142aada22 Bump github/codeql-action from 3.28.11 to 3.28.12 (#729)
add 3efdfd7ef Bump actions/cache from 4.2.2 to 4.2.3 (#731)
add 7815650ad [IO-871] IOUtils.contentEquals is incorrect when
InputStream.available under-reports
add c2e18c6d0 Javadoc @since tag should be after @return and @throws
add dde1d3928 [IO-871] IOUtils.contentEquals is incorrect when
InputStream.available under-reports
add ddb6c580c Inline comment
add bda102e36 [IO-871] IOUtils.contentEquals is incorrect when
InputStream.available under-reports
add ae9920e4f Javadoc
add c194433a7 Bump github/codeql-action from 3.28.12 to 3.28.13 (#733)
add 76d0894fe Bump commons.bytebuddy.version from 1.17.2 to 1.17.4 (#734)
add 63b58cb57 Bump commons.bytebuddy.version from 1.17.2 to 1.17.4 #734
add 2ca87c10c Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-io.git
add f360508db java.lang.ArithmeticException: long overflow
java.lang.Math.addExact(Math.java:932) at
org.apache.commons.io.file.attribute.FileTimes.ntfsTimeToFileTime(FileTimes.java:164).
See also https://issues.apache.org/jira/browse/MDEP-978
add f40b64c8a [IO-873] java.lang.ArithmeticException: long overflow at
java.lang.Math.addExact(Math.java:932) at
org.apache.commons.io.file.attribute.FileTimes.ntfsTimeToFileTime(FileTimes.java:164)
add 1f321b6ad java.lang.ArithmeticException: long overflow
java.lang.Math.addExact(Math.java:932) at
org.apache.commons.io.file.attribute.FileTimes.ntfsTimeToDate(long)
add dba71ae22 GH CI: Replace Java 23 with 24
add 369baf282 Better test, a Data is millis only
add 709e8cd88 Remove duplication in test fixtures
add 23f25c399 Test more at the edges
add 092dd26db Javadoc
add 41b5e03fd More test fixtures
add 2dcd1ed28 FileTimes.toNtfsTime(*) methods can overflow result values
add 72700d7ba Bump commons.bytebuddy.version from 1.17.4 to 1.17.5 (#735)
add 2d10582ad Bump commons.bytebuddy.version from 1.17.4 to 1.17.5 #735
add e60e010c7 Fix Javadoc for ChunkedOutputStream.Builder
add aadc8c9fc Better Javadoc
add f12779cb2 Pass the class' builder internally
add 02e5f1297 Tests IO-872 PathUtils.directoryAndFileContentEquals doesn't
work across FileSystems.
add 1d4ede072 Merge branch 'master' of
https://github.com/apache/commons-io.git
add dbba1ff6c Calling QueueInputStream.QueueInputStream(null) maps to the
same kind of default blocking queue as
QueueInputStream.Builder.setBlockingQueue(null)
add 63a32f364 Pass the class' builder internally
add 57d47cf65 Pass the class' builder internally
add e5c4d1476 Pass the class' builder internally
add f4b721c63 [IO-872] PathUtils.directoryAndFileContentEquals doesn't
work across FileSystems
add 5d011f4bf Javadoc
add 616e32ae0 Bump actions/dependency-review-action from 4.5.0 to 4.6.0
(#736)
add 72ae92deb Merge branch 'master' of
https://github.com/apache/commons-io.git
add 32e881a31 [IO-872] PathUtils.directoryAndFileContentEquals doesn't
work across FileSystems
add 64945d5db [IO-872] PathUtils.directoryAndFileContentEquals doesn't
work across FileSystems
add b95421c7c [IO-872] PathUtils.directoryAndFileContentEquals doesn't
work across FileSystems
add e0892e0f5 [IO-872] PathUtils.directoryAndFileContentEquals doesn't
work across FileSystems
add 36e15d1ce [IO-872] PathUtils.directoryAndFileContentEquals doesn't
work across FileSystems
add 7eefcb24f Javadoc
add 549d808de Better exception message
add 0850166c8 Fix Javadoc since tags
add 0ee29cea5 Merge branch 'master' of
https://github.com/apache/commons-io.git
add 403c9b1f6 Unnecessary @SuppressWarnings("resource")
add 1dfa53676 Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-io.git
add 864caf4db Fix test fixture
add 31931fbf0 Update RELEASE-NOTES.txt
add 4efa8cf29 Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-io.git
add 4e45c01df Add PathUtils.contentEquals(FileSystem, FileSystem)
add 94da6dec7 CopyDirectoryVisitor creates incorrect file names when
copying between different file systems that use different file system
separators ("/" versus "\")
add 95cb90dab PathUtils.copyFileToDirectory() creates incorrect file names
when copying between different file systems that use different file system
separators ("/" versus "\")
add 30f8dc50a Javadoc
add 9121d6505 [IO-639] ReversedLinesFileReader does not read first line if
it's empty
add 456277b15 Migrate from deprecated code
add e097fcf14 Migrate test from deprecated code
add ce3a2bba5 Migrate test from deprecated code
add dc1df1d4a Reuse Math
add d3edd85e4 Javadoc
add bf503a33d Better test method name
add d528fb580 Migrate test from deprecated code
add 819afc8d4 Migrate test from deprecated code
add e48e3e3fd Migrate from deprecated code
add 55da87da9 Lighten test set up
add b8e788a08 ThreadUtils.sleep(Duration) should handle the underlying OS
time changing
add c83f29606 Use Java 7 API
add c722fe80b Merge branch 'master' of
https://gitbox.apache.org/repos/asf/commons-io.git
add c9a2b48b4 Prepare for the next release candidate
No new revisions were added by this update.
Summary of changes:
.github/pull_request_template.md | 28 ++
.github/workflows/codeql-analysis.yml | 8 +-
.github/workflows/dependency-review.yml | 2 +-
.github/workflows/maven.yml | 24 +-
.github/workflows/scorecards-analysis.yml | 6 +-
CONTRIBUTING.md | 19 +-
NOTICE.txt | 2 +-
PROPOSAL.html | 2 +-
README.md | 6 +-
RELEASE-NOTES.txt | 115 +++++-
pom.xml | 63 ++-
src/assembly/bin.xml | 3 +-
src/assembly/src.xml | 2 +-
src/changes/changes.xml | 64 ++-
src/changes/release-notes.vm | 4 +-
src/conf/checkstyle.xml | 56 ++-
src/conf/maven-pmd-plugin.xml | 2 +-
.../java/org/apache/commons/io/ByteBuffers.java | 75 ++++
.../java/org/apache/commons/io/ByteOrderMark.java | 31 ++
src/main/java/org/apache/commons/io/Charsets.java | 18 +-
src/main/java/org/apache/commons/io/CopyUtils.java | 12 +-
.../java/org/apache/commons/io/FileCleaner.java | 7 +
.../org/apache/commons/io/FileCleaningTracker.java | 7 +
.../java/org/apache/commons/io/FileSystem.java | 2 -
.../org/apache/commons/io/FileSystemUtils.java | 8 +-
src/main/java/org/apache/commons/io/FileUtils.java | 66 +--
.../java/org/apache/commons/io/FilenameUtils.java | 138 +++----
src/main/java/org/apache/commons/io/HexDump.java | 8 +-
src/main/java/org/apache/commons/io/IOCase.java | 6 +-
src/main/java/org/apache/commons/io/IOUtils.java | 133 +++---
.../java/org/apache/commons/io/LineIterator.java | 2 +-
.../org/apache/commons/io/RandomAccessFiles.java | 8 +-
.../java/org/apache/commons/io/ThreadUtils.java | 28 +-
.../apache/commons/io/UncheckedIOExceptions.java | 1 -
.../apache/commons/io/build/AbstractOrigin.java | 30 +-
.../commons/io/build/AbstractOriginSupplier.java | 9 +-
.../commons/io/build/AbstractStreamBuilder.java | 7 +
.../apache/commons/io/build/AbstractSupplier.java | 7 +
.../apache/commons/io/channels/FileChannels.java | 131 ++++--
.../apache/commons/io/charset/CharsetDecoders.java | 3 +
.../apache/commons/io/charset/CharsetEncoders.java | 3 +
.../io/comparator/DirectoryFileComparator.java | 7 +
.../io/comparator/LastModifiedFileComparator.java | 7 +
.../io/comparator/ReverseFileComparator.java | 2 +-
.../commons/io/file/AccumulatorPathVisitor.java | 64 ++-
.../commons/io/file/CopyDirectoryVisitor.java | 12 +-
.../java/org/apache/commons/io/file/Counters.java | 18 +-
.../commons/io/file/CountingPathVisitor.java | 173 ++++++--
.../commons/io/file/DeletingPathVisitor.java | 1 -
.../java/org/apache/commons/io/file/PathUtils.java | 183 +++++++--
.../apache/commons/io/file/SimplePathVisitor.java | 54 ++-
.../commons/io/file/attribute/FileTimes.java | 165 +++++---
.../commons/io/filefilter/DelegateFileFilter.java | 4 +-
.../commons/io/filefilter/FileFilterUtils.java | 14 +-
.../io/filefilter/MagicNumberFileFilter.java | 13 +-
.../apache/commons/io/filefilter/OrFileFilter.java | 1 -
.../commons/io/filefilter/RegexFileFilter.java | 2 +-
.../commons/io/filefilter/WildcardFileFilter.java | 7 +
.../org/apache/commons/io/function/Constants.java | 12 +-
.../apache/commons/io/function/IOBiConsumer.java | 1 -
.../apache/commons/io/function/IOBiFunction.java | 1 -
.../commons/io/function/IOBinaryOperator.java | 1 -
...{IOLongSupplier.java => IOBooleanSupplier.java} | 14 +-
.../apache/commons/io/function/IOComparator.java | 1 -
.../org/apache/commons/io/function/IOConsumer.java | 4 +-
.../org/apache/commons/io/function/IOFunction.java | 10 +-
.../apache/commons/io/function/IOIntConsumer.java | 4 +-
.../org/apache/commons/io/function/IOIterable.java | 70 ++++
.../commons/io/function/IOIteratorAdapter.java | 2 +-
.../apache/commons/io/function/IOQuadFunction.java | 1 -
.../org/apache/commons/io/function/IOSupplier.java | 2 +
.../apache/commons/io/function/IOTriConsumer.java | 1 -
.../apache/commons/io/function/IOTriFunction.java | 1 -
.../commons/io/function/IOUnaryOperator.java | 1 -
.../org/apache/commons/io/function/Uncheck.java | 16 +
...kedIOIterator.java => UncheckedIOIterable.java} | 24 +-
.../commons/io/function/UncheckedIOIterator.java | 7 +-
.../io/function/UncheckedIOSpliterator.java | 3 +-
.../commons/io/input/AbstractInputStream.java | 7 +
.../commons/io/input/AutoCloseInputStream.java | 16 +-
.../apache/commons/io/input/BOMInputStream.java | 98 ++---
.../commons/io/input/BoundedInputStream.java | 34 +-
.../io/input/BufferedFileChannelInputStream.java | 17 +-
.../commons/io/input/CharSequenceInputStream.java | 14 +-
.../commons/io/input/ChecksumInputStream.java | 16 +-
.../io/input/ClassLoaderObjectInputStream.java | 1 -
.../apache/commons/io/input/ClosedInputStream.java | 7 +
.../org/apache/commons/io/input/ClosedReader.java | 7 +
.../apache/commons/io/input/DemuxInputStream.java | 7 +
.../io/input/MemoryMappedFileInputStream.java | 22 +-
.../input/MessageDigestCalculatingInputStream.java | 11 +-
.../commons/io/input/MessageDigestInputStream.java | 11 +-
.../commons/io/input/ObservableInputStream.java | 26 +-
.../apache/commons/io/input/ProxyInputStream.java | 18 +-
.../org/apache/commons/io/input/ProxyReader.java | 4 +-
.../apache/commons/io/input/QueueInputStream.java | 29 +-
.../io/input/RandomAccessFileInputStream.java | 49 ++-
.../commons/io/input/ReadAheadInputStream.java | 20 +-
.../apache/commons/io/input/ReaderInputStream.java | 24 +-
.../commons/io/input/ReversedLinesFileReader.java | 101 +++--
.../java/org/apache/commons/io/input/Tailer.java | 24 +-
.../commons/io/input/TailerListenerAdapter.java | 12 +-
.../commons/io/input/ThrottledInputStream.java | 124 +++++-
.../commons/io/input/UncheckedBufferedReader.java | 22 +-
.../io/input/UncheckedFilterInputStream.java | 21 +-
.../commons/io/input/UncheckedFilterReader.java | 19 +-
.../input/UnsynchronizedBufferedInputStream.java | 15 +-
.../input/UnsynchronizedByteArrayInputStream.java | 17 +-
.../io/input/UnsynchronizedFilterInputStream.java | 15 +-
.../commons/io/input/UnsynchronizedReader.java | 7 +
.../apache/commons/io/input/XmlStreamReader.java | 16 +-
.../commons/io/monitor/FileAlterationListener.java | 16 +-
.../io/monitor/FileAlterationListenerAdaptor.java | 8 +-
.../commons/io/monitor/FileAlterationObserver.java | 8 +-
.../commons/io/monitor/SerializableFileTime.java | 2 +-
.../io/output/AbstractByteArrayOutputStream.java | 74 +++-
.../commons/io/output/AppendableOutputStream.java | 1 -
.../apache/commons/io/output/AppendableWriter.java | 1 -
.../commons/io/output/BrokenOutputStream.java | 37 +-
.../commons/io/output/ByteArrayOutputStream.java | 2 +-
.../commons/io/output/ChunkedOutputStream.java | 25 +-
.../apache/commons/io/output/ChunkedWriter.java | 1 -
.../commons/io/output/ClosedOutputStream.java | 7 +
.../org/apache/commons/io/output/ClosedWriter.java | 7 +
.../commons/io/output/CountingOutputStream.java | 2 +-
.../io/output/DeferredFileOutputStream.java | 8 +-
.../commons/io/output/DemuxOutputStream.java | 8 +
.../commons/io/output/FileWriterWithEncoding.java | 26 +-
.../commons/io/output/LockableFileWriter.java | 15 +-
.../commons/io/output/ProxyOutputStream.java | 70 +++-
.../org/apache/commons/io/output/ProxyWriter.java | 4 +-
.../io/output/RandomAccessFileOutputStream.java | 45 +-
.../apache/commons/io/output/TeeOutputStream.java | 2 +-
.../org/apache/commons/io/output/TeeWriter.java | 2 +-
.../io/output/ThresholdingOutputStream.java | 10 +-
.../io/output/UncheckedFilterOutputStream.java | 26 +-
.../commons/io/output/UncheckedFilterWriter.java | 29 +-
.../UnsynchronizedByteArrayOutputStream.java | 12 +-
.../commons/io/output/WriterOutputStream.java | 16 +-
.../apache/commons/io/output/XmlStreamWriter.java | 10 +-
.../io/serialization/FullClassNameMatcher.java | 2 +-
.../io/serialization/RegexpClassNameMatcher.java | 4 +-
.../serialization/ValidatingObjectInputStream.java | 23 +-
.../io/serialization/WildcardClassNameMatcher.java | 2 +-
.../apache/commons/io => javadoc}/overview.html | 2 +-
.../images/{io-logo-white.png => logo.png} | Bin
src/site/resources/profile.jacoco | 16 +
src/site/site.xml | 61 +--
src/site/xdoc/bestpractices.xml | 6 +-
src/site/xdoc/building.xml | 36 +-
src/site/xdoc/description.xml | 40 +-
src/site/xdoc/download_io.xml | 36 +-
src/site/xdoc/index.xml | 8 +-
src/site/xdoc/issue-tracking.xml | 14 +-
src/site/xdoc/mail-lists.xml | 14 +-
src/site/xdoc/proposal.xml | 6 +-
src/site/xdoc/tasks.xml | 6 +-
src/site/xdoc/upgradeto1_1.xml | 8 +-
src/site/xdoc/upgradeto1_2.xml | 8 +-
src/site/xdoc/upgradeto1_3.xml | 8 +-
src/site/xdoc/upgradeto1_3_1.xml | 8 +-
src/site/xdoc/upgradeto1_3_2.xml | 8 +-
src/site/xdoc/upgradeto1_4.xml | 8 +-
src/site/xdoc/upgradeto2_0.xml | 8 +-
src/site/xdoc/upgradeto2_0_1.xml | 8 +-
src/site/xdoc/upgradeto2_1.xml | 8 +-
src/site/xdoc/upgradeto2_2.xml | 8 +-
src/site/xdoc/upgradeto2_3.xml | 8 +-
src/site/xdoc/upgradeto2_4.xml | 8 +-
src/site/xdoc/upgradeto2_5.xml | 10 +-
src/site/xdoc/upgradeto2_6.xml | 8 +-
.../io/AbstractFileUtilsDeleteDirectoryTest.java | 2 +-
.../org/apache/commons/io/ByteOrderMarkTest.java | 20 +
.../apache/commons/io/DemuxInputStreamTest.java | 6 +-
.../org/apache/commons/io/EndianUtilsTest.java | 237 ++++++-----
.../apache/commons/io/FileUtilsCopyToFileTest.java | 2 +-
.../apache/commons/io/FileUtilsFileNewerTest.java | 2 -
.../apache/commons/io/FileUtilsListFilesTest.java | 5 +
.../java/org/apache/commons/io/FileUtilsTest.java | 298 +++++++-------
.../java/org/apache/commons/io/IOCaseTest.java | 2 +-
.../commons/io/IOUtilsMultithreadedSkipTest.java | 4 +-
.../java/org/apache/commons/io/IOUtilsTest.java | 204 ++++++++--
.../org/apache/commons/io/LineIteratorTest.java | 3 -
.../apache/commons/io/RandomAccessFilesTest.java | 33 +-
.../commons/io/build/AbstractOriginTest.java | 26 +-
.../commons/io/build/CharSequenceOriginTest.java | 2 +-
.../org/apache/commons/io/build/URIOriginTest.java | 4 +-
.../commons/io/channels/FileChannelProxy.java | 138 +++++++
.../commons/io/channels/FileChannelsTest.java | 331 +++++++++++++--
.../io/channels/FixedReadSizeFileChannelProxy.java | 73 ++++
.../io/channels/NonBlockingFileChannelProxy.java | 55 +++
.../io/file/AccumulatorPathVisitorTest.java | 2 +-
.../org/apache/commons/io/file/DeletablePath.java | 1 -
.../apache/commons/io/file/FilesUncheckTest.java | 12 +-
.../io/file/PathUtilsContentEqualsTest.java | 232 +++++++++--
.../org/apache/commons/io/file/PathUtilsTest.java | 16 +-
.../commons/io/file/attribute/FileTimesTest.java | 134 ++++--
.../AbstractConditionalFileFilterTest.java | 4 +-
.../commons/io/function/IOBaseStreamTest.java | 16 +-
.../commons/io/function/IOBiFunctionTest.java | 4 +-
...upplierTest.java => IOBooleanSupplierTest.java} | 39 +-
.../apache/commons/io/function/IOIterableTest.java | 91 +++++
.../commons/io/function/IOPredicateTest.java | 5 +
.../commons/io/function/IOSpliteratorTest.java | 6 +-
.../apache/commons/io/function/TestConstants.java | 6 +-
.../org/apache/commons/io/function/TestUtils.java | 12 +
.../apache/commons/io/function/UncheckTest.java | 15 +-
.../commons/io/input/AbstractInputStreamTest.java | 98 +++--
.../commons/io/input/AutoCloseInputStreamTest.java | 8 +-
.../commons/io/input/BOMInputStreamTest.java | 2 +-
.../input/BufferedFileChannelInputStreamTest.java | 19 +-
.../commons/io/input/ByteBufferCleanerTest.java | 2 +-
.../io/input/CharSequenceInputStreamTest.java | 2 +-
.../commons/io/input/CharSequenceReaderTest.java | 2 +-
.../io/input/ClassLoaderObjectInputStreamTest.java | 2 +-
.../io/input/CloseShieldInputStreamTest.java | 1 -
.../io/input/MarkShieldInputStreamTest.java | 16 +-
.../io/input/MemoryMappedFileInputStreamTest.java | 2 +-
.../commons/io/input/NullInputStreamTest.java | 4 +-
.../apache/commons/io/input/NullReaderTest.java | 4 +-
.../io/input/ObservableInputStreamTest.java | 2 +-
.../commons/io/input/ProxyInputStreamTest.java | 10 +-
.../commons/io/input/QueueInputStreamTest.java | 15 +-
.../io/input/RandomAccessFileInputStreamTest.java | 34 +-
.../commons/io/input/ReadAheadInputStreamTest.java | 26 +-
.../commons/io/input/ReaderInputStreamTest.java | 6 +-
.../ReversedLinesFileReaderParamBlockSizeTest.java | 26 +-
.../ReversedLinesFileReaderParamFileTest.java | 23 +-
.../input/ReversedLinesFileReaderSimpleTest.java | 38 +-
.../io/input/SwappedDataInputStreamTest.java | 27 +-
.../org/apache/commons/io/input/TailerTest.java | 6 +-
.../commons/io/input/ThrottledInputStreamTest.java | 113 +++++-
.../io/input/UnixLineEndingInputStreamTest.java | 12 +-
.../UnsynchronizedBufferedInputStreamTest.java | 3 +-
.../io/input/UnsynchronizedBufferedReaderTest.java | 5 +-
.../commons/io/input/XmlStreamReaderTest.java | 24 +-
.../buffer/CircularBufferInputStreamTest.java | 2 +-
.../io/input/buffer/PeekableInputStreamTest.java | 2 +-
.../IOUtilsContentEqualsInputStreamsBenchmark.java | 63 ++-
.../commons/io/output/BrokenOutputStreamTest.java | 7 +-
.../io/output/ByteArrayOutputStreamTest.java | 452 ++++++++++++++++-----
.../commons/io/output/ChunkedOutputStreamTest.java | 6 +-
.../io/output/CountingOutputStreamTest.java | 2 +-
.../io/output/DeferredFileOutputStreamTest.java | 243 ++++++-----
.../commons/io/output/ProxyOutputStreamTest.java | 56 ++-
.../apache/commons/io/output/ProxyWriterTest.java | 18 +-
.../commons/io/output/QueueOutputStreamTest.java | 6 +-
.../output/RandomAccessFileOutputStreamTest.java | 21 +-
.../apache/commons/io/output/TeeWriterTest.java | 4 +-
.../io/output/ThresholdingOutputStreamTest.java | 177 ++++++--
.../commons/io/output/WriterOutputStreamTest.java | 6 +-
.../commons/io/output/XmlStreamWriterTest.java | 6 +-
.../ValidatingObjectInputStreamTest.java | 4 +-
.../java/org/apache/commons/io/test/TestUtils.java | 12 +-
src/test/resources/dir-equals-tests.zip | Bin 0 -> 8972 bytes
.../org/apache/commons/io/empty-first-line.bin | 4 +
src/test/resources/org/apache/commons/io/empty.zip | Bin 0 -> 146 bytes
257 files changed, 5327 insertions(+), 2082 deletions(-)
create mode 100644 .github/pull_request_template.md
create mode 100644 src/main/java/org/apache/commons/io/ByteBuffers.java
copy src/main/java/org/apache/commons/io/function/{IOLongSupplier.java =>
IOBooleanSupplier.java} (80%)
create mode 100644 src/main/java/org/apache/commons/io/function/IOIterable.java
copy src/main/java/org/apache/commons/io/function/{UncheckedIOIterator.java =>
UncheckedIOIterable.java} (70%)
rename src/main/{java/org/apache/commons/io => javadoc}/overview.html (98%)
rename src/site/resources/images/{io-logo-white.png => logo.png} (100%)
create mode 100644
src/test/java/org/apache/commons/io/channels/FileChannelProxy.java
create mode 100644
src/test/java/org/apache/commons/io/channels/FixedReadSizeFileChannelProxy.java
create mode 100644
src/test/java/org/apache/commons/io/channels/NonBlockingFileChannelProxy.java
copy src/test/java/org/apache/commons/io/function/{IOIntSupplierTest.java =>
IOBooleanSupplierTest.java} (61%)
create mode 100644
src/test/java/org/apache/commons/io/function/IOIterableTest.java
create mode 100644 src/test/resources/dir-equals-tests.zip
create mode 100644
src/test/resources/org/apache/commons/io/empty-first-line.bin
create mode 100644 src/test/resources/org/apache/commons/io/empty.zip