This is an automated email from the ASF dual-hosted git repository. ggregory pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/commons-io.git
from 62ff8930 No need for an empty block new 6d6096f9 PMD: Remove unnecessary parentheses new 1bd3a1f3 PMD: Remove unnecessary final new 885c8a48 Enable PMD check in the default Maven goal. The 3 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: pom.xml | 2 +- .../java/org/apache/commons/io/EndianUtils.java | 100 ++++++++++----------- src/main/java/org/apache/commons/io/FileUtils.java | 6 +- .../java/org/apache/commons/io/FilenameUtils.java | 8 +- src/main/java/org/apache/commons/io/IOUtils.java | 15 ++-- .../java/org/apache/commons/io/file/PathUtils.java | 8 +- .../commons/io/file/attribute/FileTimes.java | 2 +- .../io/filefilter/MagicNumberFileFilter.java | 2 +- .../org/apache/commons/io/input/BoundedReader.java | 2 +- .../apache/commons/io/input/ReaderInputStream.java | 2 +- .../commons/io/input/ReversedLinesFileReader.java | 2 +- .../commons/io/input/TimestampedObserver.java | 2 +- .../commons/io/output/ByteArrayOutputStream.java | 2 +- .../UnsynchronizedByteArrayOutputStream.java | 4 +- .../apache/commons/io/FileCleaningTrackerTest.java | 2 +- .../apache/commons/io/FileDeleteStrategyTest.java | 6 +- .../io/FileUtilsCopyDirectoryToDirectoryTest.java | 4 +- .../apache/commons/io/FileUtilsFileNewerTest.java | 4 +- .../java/org/apache/commons/io/FileUtilsTest.java | 16 ++-- .../org/apache/commons/io/FilenameUtilsTest.java | 8 +- .../org/apache/commons/io/IOUtilsCopyTest.java | 2 +- .../java/org/apache/commons/io/IOUtilsTest.java | 6 +- .../org/apache/commons/io/LineIteratorTest.java | 8 +- .../io/comparator/CompositeFileComparatorTest.java | 8 +- .../comparator/LastModifiedFileComparatorTest.java | 6 +- .../io/comparator/SizeFileComparatorTest.java | 6 +- .../commons/io/file/CopyDirectoryVisitorTest.java | 2 +- .../commons/io/file/CountingPathVisitorTest.java | 2 +- .../commons/io/file/DirectoryStreamFilterTest.java | 4 +- .../commons/io/file/PathUtilsCountingTest.java | 2 +- .../commons/io/file/PathUtilsIsEmptyTest.java | 4 +- .../org/apache/commons/io/file/PathUtilsTest.java | 18 ++-- .../apache/commons/io/file/TempDirectoryTest.java | 4 +- .../org/apache/commons/io/file/TempFileTest.java | 4 +- .../commons/io/filefilter/FileFilterTest.java | 54 +++++------ .../apache/commons/io/function/IOFunctionTest.java | 2 +- .../commons/io/input/BOMInputStreamTest.java | 72 +++++++-------- .../apache/commons/io/input/BoundedReaderTest.java | 26 +++--- .../io/input/CharSequenceInputStreamTest.java | 2 +- .../commons/io/input/CharSequenceReaderTest.java | 18 ++-- .../io/input/CharacterSetFilterReaderTest.java | 2 +- .../io/input/ClassLoaderObjectInputStreamTest.java | 14 +-- .../commons/io/input/ClosedInputStreamTest.java | 2 +- .../apache/commons/io/input/ClosedReaderTest.java | 2 +- .../commons/io/input/CountingInputStreamTest.java | 18 ++-- .../io/input/MarkShieldInputStreamTest.java | 16 ++-- .../MessageDigestCalculatingInputStreamTest.java | 2 +- .../commons/io/input/NullInputStreamTest.java | 2 +- .../apache/commons/io/input/NullReaderTest.java | 2 +- .../io/input/ObservableInputStreamTest.java | 20 ++--- .../apache/commons/io/input/ProxyReaderTest.java | 4 +- .../commons/io/input/QueueInputStreamTest.java | 8 +- .../io/input/RandomAccessFileInputStreamTest.java | 18 ++-- .../commons/io/input/ReaderInputStreamTest.java | 8 +- .../commons/io/input/SequenceReaderTest.java | 22 ++--- .../commons/io/input/StringInputStreamTest.java | 4 +- .../apache/commons/io/input/TaggedReaderTest.java | 6 +- .../org/apache/commons/io/input/TailerTest.java | 34 +++---- .../commons/io/input/TimestampedObserverTest.java | 4 +- .../io/input/UncheckedBufferedReaderTest.java | 10 +-- .../io/input/UncheckedFilterInputStreamTest.java | 6 +- .../io/input/UncheckedFilterReaderTest.java | 8 +- .../io/input/WindowsLineEndingInputStreamTest.java | 2 +- .../commons/io/input/XmlStreamReaderTest.java | 8 +- .../buffer/CircularBufferInputStreamTest.java | 2 +- .../XmlStreamReaderUtilitiesCompatibilityTest.java | 4 +- .../io/output/ByteArrayOutputStreamTest.java | 40 ++++----- .../commons/io/output/ChunkedOutputStreamTest.java | 4 +- .../commons/io/output/ChunkedWriterTest.java | 8 +- .../io/output/CountingOutputStreamTest.java | 2 +- .../io/output/FileWriterWithEncodingTest.java | 18 ++-- .../commons/io/output/NullOutputStreamTest.java | 4 +- .../commons/io/output/NullPrintStreamTest.java | 4 +- .../apache/commons/io/output/NullWriterTest.java | 2 +- .../io/output/ProxyCollectionWriterTest.java | 4 +- .../apache/commons/io/output/ProxyWriterTest.java | 44 ++++----- .../commons/io/output/QueueOutputStreamTest.java | 6 +- .../commons/io/output/StringBuilderWriterTest.java | 24 ++--- .../commons/io/output/TaggedOutputStreamTest.java | 6 +- .../apache/commons/io/output/TaggedWriterTest.java | 6 +- .../commons/io/output/TeeOutputStreamTest.java | 2 +- .../apache/commons/io/output/TeeWriterTest.java | 6 +- .../io/output/ThresholdingOutputStreamTest.java | 12 +-- .../commons/io/output/WriterOutputStreamTest.java | 12 +-- .../commons/io/output/XmlStreamWriterTest.java | 2 +- .../java/org/apache/commons/io/test/TestUtils.java | 8 +- 86 files changed, 444 insertions(+), 445 deletions(-)