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 2021/01/01 02:54:52 UTC

[commons-io] branch master updated: Fix Javadoc for validateMoveParameters().

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 40aa0b9  Fix Javadoc for validateMoveParameters().
40aa0b9 is described below

commit 40aa0b93c36c37767ebdd5e97afd70a2ff5e0599
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Thu Dec 31 21:54:47 2020 -0500

    Fix Javadoc for validateMoveParameters().
---
 src/main/java/org/apache/commons/io/FileUtils.java | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/main/java/org/apache/commons/io/FileUtils.java b/src/main/java/org/apache/commons/io/FileUtils.java
index 1c526c6..ed0db1f 100644
--- a/src/main/java/org/apache/commons/io/FileUtils.java
+++ b/src/main/java/org/apache/commons/io/FileUtils.java
@@ -2860,14 +2860,14 @@ public class FileUtils {
     /**
      * Validates the given arguments.
      * <ul>
-     * <li>Throws {@link NullPointerException} if {@code src} is null</li>
-     * <li>Throws {@link NullPointerException} if {@code dest} is null</li>
-     * <li>Throws {@link FileNotFoundException} if {@code src} does not exist</li>
+     * <li>Throws {@link NullPointerException} if {@code source} is null</li>
+     * <li>Throws {@link NullPointerException} if {@code destination} is null</li>
+     * <li>Throws {@link FileNotFoundException} if {@code source} does not exist</li>
      * </ul>
      *
-     * @param source                       the file or directory to be moved
-     * @param destination                      the destination file or directory
-     * @throws FileNotFoundException    if {@code src} file does not exist
+     * @param source      the file or directory to be moved
+     * @param destination the destination file or directory
+     * @throws FileNotFoundException if {@code source} file does not exist
      */
     private static void validateMoveParameters(final File source, final File destination) throws FileNotFoundException {
         Objects.requireNonNull(source, "source");