This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push: new 1d59399 Remove trailing whitespace. 1d59399 is described below commit 1d59399d6ddb1bf876e67fe3be61b91888ebf00a Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Wed Jun 17 11:08:46 2020 -0400 Remove trailing whitespace. --- .../apache/commons/io/file/AccumulatorPathVisitor.java | 8 ++++---- src/main/java/org/apache/commons/io/file/PathUtils.java | 16 ++++++++-------- .../io/input/MessageDigestCalculatingInputStream.java | 4 ++-- .../org/apache/commons/io/input/SequenceReaderTest.java | 4 ++-- .../commons/io/output/DeferredFileOutputStreamTest.java | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/main/java/org/apache/commons/io/file/AccumulatorPathVisitor.java b/src/main/java/org/apache/commons/io/file/AccumulatorPathVisitor.java index 8fe7028..c65232f 100644 --- a/src/main/java/org/apache/commons/io/file/AccumulatorPathVisitor.java +++ b/src/main/java/org/apache/commons/io/file/AccumulatorPathVisitor.java @@ -87,7 +87,7 @@ public class AccumulatorPathVisitor extends CountingPathVisitor { /** * Gets the list of visited directories. - * + * * @return the list of visited directories. */ public List<Path> getDirList() { @@ -96,7 +96,7 @@ public class AccumulatorPathVisitor extends CountingPathVisitor { /** * Gets the list of visited files. - * + * * @return the list of visited files. */ public List<Path> getFileList() { @@ -114,7 +114,7 @@ public class AccumulatorPathVisitor extends CountingPathVisitor { /** * Relativizes each directory path with {@link Path#relativize(Path)} against the given {@code parent}, optionally * sorting the result. - * + * * @param parent A parent path * @param sort Whether to sort * @param comparator How to sort, null uses default sorting. @@ -127,7 +127,7 @@ public class AccumulatorPathVisitor extends CountingPathVisitor { /** * Relativizes each file path with {@link Path#relativize(Path)} against the given {@code parent}, optionally * sorting the result. - * + * * @param parent A parent path * @param sort Whether to sort * @param comparator How to sort, null uses default sorting. diff --git a/src/main/java/org/apache/commons/io/file/PathUtils.java b/src/main/java/org/apache/commons/io/file/PathUtils.java index 6a586c0..75ca109 100644 --- a/src/main/java/org/apache/commons/io/file/PathUtils.java +++ b/src/main/java/org/apache/commons/io/file/PathUtils.java @@ -53,7 +53,7 @@ public final class PathUtils { /** * Accumulates file tree information in a {@link AccumulatorPathVisitor}. - * + * * @param directory The directory to accumulate information. * @param maxDepth See {@link Files#walkFileTree(Path,Set,int,FileVisitor)}. * @param linkOptions Options indicating how symbolic links are handled. @@ -81,7 +81,7 @@ public final class PathUtils { /** * Constructs and initializes a new instance by accumulating directory and file info. - * + * * @param dir1 First directory to compare. * @param dir2 Seconds directory to compare. * @param maxDepth See {@link Files#walkFileTree(Path,Set,int,FileVisitor)}. @@ -289,7 +289,7 @@ public final class PathUtils { /** * Compares the file sets of two Paths to determine if they are equal or not while considering file contents. The * comparison includes all files in all sub-directories. - * + * * @param path1 The first directory. * @param path2 The second directory. * @return Whether the two directories contain the same files while considering file contents. @@ -303,7 +303,7 @@ public final class PathUtils { /** * Compares the file sets of two Paths to determine if they are equal or not while considering file contents. The * comparison includes all files in all sub-directories. - * + * * @param path1 The first directory. * @param path2 The second directory. * @param linkOptions options to follow links. @@ -350,7 +350,7 @@ public final class PathUtils { /** * Compares the file sets of two Paths to determine if they are equal or not without considering file contents. The * comparison includes all files in all sub-directories. - * + * * @param path1 The first directory. * @param path2 The second directory. * @return Whether the two directories contain the same files without considering file contents. @@ -364,7 +364,7 @@ public final class PathUtils { /** * Compares the file sets of two Paths to determine if they are equal or not without considering file contents. The * comparison includes all files in all sub-directories. - * + * * @param path1 The first directory. * @param path2 The second directory. * @param maxDepth See {@link Files#walkFileTree(Path,Set,int,FileVisitor)}. @@ -491,7 +491,7 @@ public final class PathUtils { /** * Relativizes all files in the given {@code collection} against a {@code parent}. - * + * * @param collection The collection of paths to relativize. * @param parent relativizes against this parent path. * @param sort Whether to sort the result. @@ -509,7 +509,7 @@ public final class PathUtils { /** * Converts an array of {@link FileVisitOption} to a {@link Set}. - * + * * @param fileVisitOptions input array. * @return a new Set. */ diff --git a/src/main/java/org/apache/commons/io/input/MessageDigestCalculatingInputStream.java b/src/main/java/org/apache/commons/io/input/MessageDigestCalculatingInputStream.java index ce2b773..da71ead 100644 --- a/src/main/java/org/apache/commons/io/input/MessageDigestCalculatingInputStream.java +++ b/src/main/java/org/apache/commons/io/input/MessageDigestCalculatingInputStream.java @@ -72,7 +72,7 @@ public class MessageDigestCalculatingInputStream extends ObservableInputStream { /** * Creates a new instance, which calculates a signature on the given stream, using a {@link MessageDigest} with the * given algorithm. - * + * * @param inputStream the stream to calculate the message digest for * @param algorithm the name of the algorithm to use * @throws NoSuchAlgorithmException if no Provider supports a MessageDigestSpi implementation for the specified @@ -86,7 +86,7 @@ public class MessageDigestCalculatingInputStream extends ObservableInputStream { /** * Creates a new instance, which calculates a signature on the given stream, using a {@link MessageDigest} with the * "MD5" algorithm. - * + * * @param inputStream the stream to calculate the message digest for * @throws NoSuchAlgorithmException if no Provider supports a MessageDigestSpi implementation for the specified * algorithm. diff --git a/src/test/java/org/apache/commons/io/input/SequenceReaderTest.java b/src/test/java/org/apache/commons/io/input/SequenceReaderTest.java index 965f85c..3a405d8 100644 --- a/src/test/java/org/apache/commons/io/input/SequenceReaderTest.java +++ b/src/test/java/org/apache/commons/io/input/SequenceReaderTest.java @@ -160,9 +160,9 @@ public class SequenceReaderTest { public void testReadLength1Readers() throws IOException { try (final Reader reader = new SequenceReader( // @formatter:off - new StringReader("0"), + new StringReader("0"), new StringReader("1"), - new StringReader("2"), + new StringReader("2"), new StringReader("3"))) { // @formatter:on assertEquals('0', reader.read()); diff --git a/src/test/java/org/apache/commons/io/output/DeferredFileOutputStreamTest.java b/src/test/java/org/apache/commons/io/output/DeferredFileOutputStreamTest.java index ab11773..178423e 100644 --- a/src/test/java/org/apache/commons/io/output/DeferredFileOutputStreamTest.java +++ b/src/test/java/org/apache/commons/io/output/DeferredFileOutputStreamTest.java @@ -321,7 +321,7 @@ public class DeferredFileOutputStreamTest { /** * Test specifying a temporary file and the threshold is reached. - * + * * @throws Exception */ @Test