Skip to content

Commit 4afb452

Browse files
committed
Javadoc
1 parent 04103a2 commit 4afb452

1 file changed

Lines changed: 13 additions & 9 deletions

File tree

src/main/java/org/apache/commons/io/FileUtils.java

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,10 +1364,10 @@ public static void forceDeleteOnExit(final File file) throws IOException {
13641364
}
13651365

13661366
/**
1367-
* Calls {@link File#mkdirs()} and throws an {@link IOException} on failure.
1368-
* <p>
13691367
* Creates all directories for a File object, including any necessary but nonexistent parent directories. If the {@code directory} already exists or is
13701368
* null, nothing happens.
1369+
* <p>
1370+
* Calls {@link File#mkdirs()} and throws an {@link IOException} on failure.
13711371
* </p>
13721372
*
13731373
* @param directory the receiver for {@code mkdirs()}. If the {@code directory} already exists or is null, nothing happens.
@@ -2321,8 +2321,10 @@ public static void moveDirectory(final File srcDir, final File destDir) throws I
23212321
}
23222322

23232323
/**
2324-
* Moves a directory to another directory. Creates all destination parent directories,
2325-
* including any necessary but nonexistent parent directories, if {@code createDestDir} is true.
2324+
* Moves a directory to another directory.
2325+
* <p>
2326+
* If {@code createDestDir} is true, creates all destination parent directories, including any necessary but nonexistent parent directories.
2327+
* </p>
23262328
*
23272329
* @param source the file to be moved.
23282330
* @param destDir the destination file.
@@ -2404,8 +2406,10 @@ public static void moveFile(final File srcFile, final File destFile, final CopyO
24042406
}
24052407

24062408
/**
2407-
* Moves a file to a directory. Creates all destination parent directories,
2408-
* including any necessary but nonexistent parent directories, if {@code createDestDir} is true.
2409+
* Moves a file to a directory.
2410+
* <p>
2411+
* If {@code createDestDir} is true, creates all destination parent directories, including any necessary but nonexistent parent directories.
2412+
* </p>
24092413
*
24102414
* @param srcFile the file to be moved.
24112415
* @param destDir the destination file.
@@ -2432,9 +2436,9 @@ public static void moveFileToDirectory(final File srcFile, final File destDir, f
24322436

24332437
/**
24342438
* Moves a file or directory to a destination directory.
2435-
* <p>
2436-
* Creates all destination parent directories, including any necessary but nonexistent parent directories, if {@code createDestDir} is true.
2437-
* </p>
2439+
* <p>
2440+
* If {@code createDestDir} is true, creates all destination parent directories, including any necessary but nonexistent parent directories.
2441+
* </p>
24382442
* <p>
24392443
* When the destination is on another file system, do a "copy and delete".
24402444
* </p>

0 commit comments

Comments
 (0)