@@ -1337,9 +1337,9 @@ public static void forceDelete(final File file) throws IOException {
13371337 * Schedules a file to be deleted when JVM exits.
13381338 * If file is directory delete it and all sub-directories.
13391339 *
1340- * @param file file or directory to delete, must not be {@code null}
1341- * @throws NullPointerException if the file is {@code null}
1342- * @throws IOException in case deletion is unsuccessful
1340+ * @param file file or directory to delete, must not be {@code null}.
1341+ * @throws NullPointerException if the file is {@code null}.
1342+ * @throws IOException in case deletion is unsuccessful.
13431343 */
13441344 public static void forceDeleteOnExit (final File file ) throws IOException {
13451345 Objects .requireNonNull (file , "file" );
@@ -1357,7 +1357,7 @@ public static void forceDeleteOnExit(final File file) throws IOException {
13571357 * If the directory cannot be created (or the file already exists but is not a directory)
13581358 * then an IOException is thrown.
13591359 *
1360- * @param directory directory to create, must not be {@code null}
1360+ * @param directory directory to create, must not be {@code null}.
13611361 * @throws IOException if the directory was not created along with all its parent directories.
13621362 * @throws IOException if the given file object is not a directory.
13631363 * @throws SecurityException See {@link File#mkdirs()}.
@@ -1370,9 +1370,9 @@ public static void forceMkdir(final File directory) throws IOException {
13701370 * Makes any necessary but nonexistent parent directories for a given File. If the parent directory cannot be
13711371 * created then an IOException is thrown.
13721372 *
1373- * @param file file with parent to create, must not be {@code null}
1374- * @throws NullPointerException if the file is {@code null}
1375- * @throws IOException if the parent directory cannot be created
1373+ * @param file file with parent to create, must not be {@code null}.
1374+ * @throws NullPointerException if the file is {@code null}.
1375+ * @throws IOException if the parent directory cannot be created.
13761376 * @since 2.5
13771377 */
13781378 public static void forceMkdirParent (final File file ) throws IOException {
@@ -1387,9 +1387,9 @@ public static void forceMkdirParent(final File file) throws IOException {
13871387 /**
13881388 * Construct a file from the set of name elements.
13891389 *
1390- * @param directory the parent directory
1391- * @param names the name elements
1392- * @return the new file
1390+ * @param directory the parent directory.
1391+ * @param names the name elements.
1392+ * @return the new file.
13931393 * @since 2.1
13941394 */
13951395 public static File getFile (final File directory , final String ... names ) {
@@ -1405,8 +1405,8 @@ public static File getFile(final File directory, final String... names) {
14051405 /**
14061406 * Construct a file from the set of name elements.
14071407 *
1408- * @param names the name elements
1409- * @return the file
1408+ * @param names the name elements.
1409+ * @return the file.
14101410 * @since 2.1
14111411 */
14121412 public static File getFile (final String ... names ) {
@@ -1486,11 +1486,11 @@ public static String getUserDirectoryPath() {
14861486 * isFileNewer(file, chronoLocalDate.atTime(LocalTime.now(zoneId)), zoneId)} where
14871487 * {@code zoneId} is a valid {@link ZoneId}.
14881488 *
1489- * @param file the {@code File} of which the modification date must be compared
1490- * @param chronoLocalDate the date reference
1489+ * @param file the {@code File} of which the modification date must be compared.
1490+ * @param chronoLocalDate the date reference.
14911491 * @return true if the {@code File} exists and has been modified after the given
14921492 * {@code ChronoLocalDate} at the current time.
1493- * @throws NullPointerException if the file or local date is {@code null}
1493+ * @throws NullPointerException if the file or local date is {@code null}.
14941494 *
14951495 * @since 2.8.0
14961496 */
@@ -1507,12 +1507,12 @@ public static boolean isFileNewer(final File file, final ChronoLocalDate chronoL
15071507 * isFileNewer(file, chronoLocalDate.atTime(localTime), zoneId)} where {@code zoneId} is a valid
15081508 * {@link ZoneId}.
15091509 *
1510- * @param file the {@code File} of which the modification date must be compared
1511- * @param chronoLocalDate the date reference
1512- * @param localTime the time reference
1510+ * @param file the {@code File} of which the modification date must be compared.
1511+ * @param chronoLocalDate the date reference.
1512+ * @param localTime the time reference.
15131513 * @return true if the {@code File} exists and has been modified after the given
15141514 * {@code ChronoLocalDate} at the given time.
1515- * @throws NullPointerException if the file, local date or zone ID is {@code null}
1515+ * @throws NullPointerException if the file, local date or zone ID is {@code null}.
15161516 *
15171517 * @since 2.8.0
15181518 */
@@ -1531,11 +1531,11 @@ public static boolean isFileNewer(final File file, final ChronoLocalDate chronoL
15311531 * isFileNewer(file, chronoLocalDateTime, zoneId)} where {@code zoneId} is a valid
15321532 * {@link ZoneId}.
15331533 *
1534- * @param file the {@code File} of which the modification date must be compared
1535- * @param chronoLocalDateTime the date reference
1534+ * @param file the {@code File} of which the modification date must be compared.
1535+ * @param chronoLocalDateTime the date reference.
15361536 * @return true if the {@code File} exists and has been modified after the given
15371537 * {@code ChronoLocalDateTime} at the system-default time zone.
1538- * @throws NullPointerException if the file or local date time is {@code null}
1538+ * @throws NullPointerException if the file or local date time is {@code null}.
15391539 *
15401540 * @since 2.8.0
15411541 */
@@ -1547,12 +1547,12 @@ public static boolean isFileNewer(final File file, final ChronoLocalDateTime<?>
15471547 * Tests if the specified {@code File} is newer than the specified {@code ChronoLocalDateTime}
15481548 * at the specified {@code ZoneId}.
15491549 *
1550- * @param file the {@code File} of which the modification date must be compared
1551- * @param chronoLocalDateTime the date reference
1552- * @param zoneId the time zone
1550+ * @param file the {@code File} of which the modification date must be compared.
1551+ * @param chronoLocalDateTime the date reference.
1552+ * @param zoneId the time zone.
15531553 * @return true if the {@code File} exists and has been modified after the given
15541554 * {@code ChronoLocalDateTime} at the given {@code ZoneId}.
1555- * @throws NullPointerException if the file, local date time or zone ID is {@code null}
1555+ * @throws NullPointerException if the file, local date time or zone ID is {@code null}.
15561556 *
15571557 * @since 2.8.0
15581558 */
@@ -1565,11 +1565,11 @@ public static boolean isFileNewer(final File file, final ChronoLocalDateTime<?>
15651565 /**
15661566 * Tests if the specified {@code File} is newer than the specified {@code ChronoZonedDateTime}.
15671567 *
1568- * @param file the {@code File} of which the modification date must be compared
1569- * @param chronoZonedDateTime the date reference
1568+ * @param file the {@code File} of which the modification date must be compared.
1569+ * @param chronoZonedDateTime the date reference.
15701570 * @return true if the {@code File} exists and has been modified after the given
15711571 * {@code ChronoZonedDateTime}.
1572- * @throws NullPointerException if the file or zoned date time is {@code null}
1572+ * @throws NullPointerException if the file or zoned date time is {@code null}.
15731573 *
15741574 * @since 2.8.0
15751575 */
@@ -1581,11 +1581,11 @@ public static boolean isFileNewer(final File file, final ChronoZonedDateTime<?>
15811581 /**
15821582 * Tests if the specified {@code File} is newer than the specified {@code Date}.
15831583 *
1584- * @param file the {@code File} of which the modification date must be compared
1585- * @param date the date reference
1584+ * @param file the {@code File} of which the modification date must be compared.
1585+ * @param date the date reference.
15861586 * @return true if the {@code File} exists and has been modified
15871587 * after the given {@code Date}.
1588- * @throws NullPointerException if the file or date is {@code null}
1588+ * @throws NullPointerException if the file or date is {@code null}.
15891589 */
15901590 public static boolean isFileNewer (final File file , final Date date ) {
15911591 Objects .requireNonNull (date , "date" );
@@ -1595,12 +1595,12 @@ public static boolean isFileNewer(final File file, final Date date) {
15951595 /**
15961596 * Tests if the specified {@code File} is newer than the reference {@code File}.
15971597 *
1598- * @param file the {@code File} of which the modification date must be compared
1599- * @param reference the {@code File} of which the modification date is used
1598+ * @param file the {@code File} of which the modification date must be compared.
1599+ * @param reference the {@code File} of which the modification date is used.
16001600 * @return true if the {@code File} exists and has been modified more
1601- * recently than the reference {@code File}
1602- * @throws NullPointerException if the file or reference file is {@code null}
1603- * @throws IllegalArgumentException if the reference file doesn't exist
1601+ * recently than the reference {@code File}.
1602+ * @throws NullPointerException if the file or reference file is {@code null}.
1603+ * @throws IllegalArgumentException if the reference file doesn't exist.
16041604 */
16051605 public static boolean isFileNewer (final File file , final File reference ) {
16061606 requireExists (reference , "reference" );
@@ -1610,10 +1610,10 @@ public static boolean isFileNewer(final File file, final File reference) {
16101610 /**
16111611 * Tests if the specified {@code File} is newer than the specified {@code Instant}.
16121612 *
1613- * @param file the {@code File} of which the modification date must be compared
1614- * @param instant the date reference
1613+ * @param file the {@code File} of which the modification date must be compared.
1614+ * @param instant the date reference.
16151615 * @return true if the {@code File} exists and has been modified after the given {@code Instant}.
1616- * @throws NullPointerException if the file or instant is {@code null}
1616+ * @throws NullPointerException if the file or instant is {@code null}.
16171617 *
16181618 * @since 2.8.0
16191619 */
@@ -1625,11 +1625,11 @@ public static boolean isFileNewer(final File file, final Instant instant) {
16251625 /**
16261626 * Tests if the specified {@code File} is newer than the specified time reference.
16271627 *
1628- * @param file the {@code File} of which the modification date must be compared
1628+ * @param file the {@code File} of which the modification date must be compared.
16291629 * @param timeMillis the time reference measured in milliseconds since the
1630- * epoch (00:00:00 GMT, January 1, 1970)
1630+ * epoch (00:00:00 GMT, January 1, 1970).
16311631 * @return true if the {@code File} exists and has been modified after the given time reference.
1632- * @throws NullPointerException if the file is {@code null}
1632+ * @throws NullPointerException if the file is {@code null}.
16331633 */
16341634 public static boolean isFileNewer (final File file , final long timeMillis ) {
16351635 Objects .requireNonNull (file , "file" );
@@ -1649,11 +1649,11 @@ public static boolean isFileNewer(final File file, final long timeMillis) {
16491649 * isFileOlder(file, chronoLocalDate.atTime(LocalTime.now(zoneId)), zoneId)} where
16501650 * {@code zoneId} is a valid {@link ZoneId}.
16511651 *
1652- * @param file the {@code File} of which the modification date must be compared
1653- * @param chronoLocalDate the date reference
1652+ * @param file the {@code File} of which the modification date must be compared.
1653+ * @param chronoLocalDate the date reference.
16541654 * @return true if the {@code File} exists and has been modified before the given
16551655 * {@code ChronoLocalDate} at the current time.
1656- * @throws NullPointerException if the file or local date is {@code null}
1656+ * @throws NullPointerException if the file or local date is {@code null}.
16571657 * @see ZoneId#systemDefault()
16581658 * @see LocalTime#now()
16591659 *
@@ -1672,12 +1672,12 @@ public static boolean isFileOlder(final File file, final ChronoLocalDate chronoL
16721672 * isFileOlder(file, chronoLocalDate.atTime(localTime), zoneId)} where {@code zoneId} is a valid
16731673 * {@link ZoneId}.
16741674 *
1675- * @param file the {@code File} of which the modification date must be compared
1676- * @param chronoLocalDate the date reference
1677- * @param localTime the time reference
1675+ * @param file the {@code File} of which the modification date must be compared.
1676+ * @param chronoLocalDate the date reference.
1677+ * @param localTime the time reference.
16781678 * @return true if the {@code File} exists and has been modified before the
16791679 * given {@code ChronoLocalDate} at the specified time.
1680- * @throws NullPointerException if the file, local date or local time is {@code null}
1680+ * @throws NullPointerException if the file, local date or local time is {@code null}.
16811681 * @see ZoneId#systemDefault()
16821682 *
16831683 * @since 2.8.0
@@ -1697,11 +1697,11 @@ public static boolean isFileOlder(final File file, final ChronoLocalDate chronoL
16971697 * isFileOlder(file, chronoLocalDateTime, zoneId)} where {@code zoneId} is a valid
16981698 * {@link ZoneId}.
16991699 *
1700- * @param file the {@code File} of which the modification date must be compared
1701- * @param chronoLocalDateTime the date reference
1700+ * @param file the {@code File} of which the modification date must be compared.
1701+ * @param chronoLocalDateTime the date reference.
17021702 * @return true if the {@code File} exists and has been modified before the given
17031703 * {@code ChronoLocalDateTime} at the system-default time zone.
1704- * @throws NullPointerException if the file or local date time is {@code null}
1704+ * @throws NullPointerException if the file or local date time is {@code null}.
17051705 * @see ZoneId#systemDefault()
17061706 *
17071707 * @since 2.8.0
@@ -1714,12 +1714,12 @@ public static boolean isFileOlder(final File file, final ChronoLocalDateTime<?>
17141714 * Tests if the specified {@code File} is older than the specified {@code ChronoLocalDateTime}
17151715 * at the specified {@code ZoneId}.
17161716 *
1717- * @param file the {@code File} of which the modification date must be compared
1718- * @param chronoLocalDateTime the date reference
1719- * @param zoneId the time zone
1717+ * @param file the {@code File} of which the modification date must be compared.
1718+ * @param chronoLocalDateTime the date reference.
1719+ * @param zoneId the time zone.
17201720 * @return true if the {@code File} exists and has been modified before the given
17211721 * {@code ChronoLocalDateTime} at the given {@code ZoneId}.
1722- * @throws NullPointerException if the file, local date time or zone ID is {@code null}
1722+ * @throws NullPointerException if the file, local date time or zone ID is {@code null}.
17231723 *
17241724 * @since 2.8.0
17251725 */
@@ -1732,11 +1732,11 @@ public static boolean isFileOlder(final File file, final ChronoLocalDateTime<?>
17321732 /**
17331733 * Tests if the specified {@code File} is older than the specified {@code ChronoZonedDateTime}.
17341734 *
1735- * @param file the {@code File} of which the modification date must be compared
1736- * @param chronoZonedDateTime the date reference
1735+ * @param file the {@code File} of which the modification date must be compared.
1736+ * @param chronoZonedDateTime the date reference.
17371737 * @return true if the {@code File} exists and has been modified before the given
17381738 * {@code ChronoZonedDateTime}.
1739- * @throws NullPointerException if the file or zoned date time is {@code null}
1739+ * @throws NullPointerException if the file or zoned date time is {@code null}.
17401740 *
17411741 * @since 2.8.0
17421742 */
@@ -1748,10 +1748,10 @@ public static boolean isFileOlder(final File file, final ChronoZonedDateTime<?>
17481748 /**
17491749 * Tests if the specified {@code File} is older than the specified {@code Date}.
17501750 *
1751- * @param file the {@code File} of which the modification date must be compared
1752- * @param date the date reference
1751+ * @param file the {@code File} of which the modification date must be compared.
1752+ * @param date the date reference.
17531753 * @return true if the {@code File} exists and has been modified before the given {@code Date}.
1754- * @throws NullPointerException if the file or date is {@code null}
1754+ * @throws NullPointerException if the file or date is {@code null}.
17551755 */
17561756 public static boolean isFileOlder (final File file , final Date date ) {
17571757 Objects .requireNonNull (date , "date" );
@@ -1761,11 +1761,11 @@ public static boolean isFileOlder(final File file, final Date date) {
17611761 /**
17621762 * Tests if the specified {@code File} is older than the reference {@code File}.
17631763 *
1764- * @param file the {@code File} of which the modification date must be compared
1765- * @param reference the {@code File} of which the modification date is used
1766- * @return true if the {@code File} exists and has been modified before the reference {@code File}
1767- * @throws NullPointerException if the file or reference file is {@code null}
1768- * @throws IllegalArgumentException if the reference file doesn't exist
1764+ * @param file the {@code File} of which the modification date must be compared.
1765+ * @param reference the {@code File} of which the modification date is used.
1766+ * @return true if the {@code File} exists and has been modified before the reference {@code File}.
1767+ * @throws NullPointerException if the file or reference file is {@code null}.
1768+ * @throws IllegalArgumentException if the reference file doesn't exist.
17691769 */
17701770 public static boolean isFileOlder (final File file , final File reference ) {
17711771 requireExists (reference , "reference" );
@@ -1775,10 +1775,10 @@ public static boolean isFileOlder(final File file, final File reference) {
17751775 /**
17761776 * Tests if the specified {@code File} is older than the specified {@code Instant}.
17771777 *
1778- * @param file the {@code File} of which the modification date must be compared
1779- * @param instant the date reference
1778+ * @param file the {@code File} of which the modification date must be compared.
1779+ * @param instant the date reference.
17801780 * @return true if the {@code File} exists and has been modified before the given {@code Instant}.
1781- * @throws NullPointerException if the file or instant is {@code null}
1781+ * @throws NullPointerException if the file or instant is {@code null}.
17821782 * @since 2.8.0
17831783 */
17841784 public static boolean isFileOlder (final File file , final Instant instant ) {
@@ -1789,9 +1789,9 @@ public static boolean isFileOlder(final File file, final Instant instant) {
17891789 /**
17901790 * Tests if the specified {@code File} is older than the specified time reference.
17911791 *
1792- * @param file the {@code File} of which the modification date must be compared
1792+ * @param file the {@code File} of which the modification date must be compared.
17931793 * @param timeMillis the time reference measured in milliseconds since the
1794- * epoch (00:00:00 GMT, January 1, 1970)
1794+ * epoch (00:00:00 GMT, January 1, 1970).
17951795 * @return true if the {@code File} exists and has been modified before the given time reference.
17961796 * @throws NullPointerException if the file is {@code null}.
17971797 */
0 commit comments