File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/io/file Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -723,7 +723,7 @@ public static List<AclEntry> getAclEntryList(final Path sourcePath) throws IOExc
723723 }
724724
725725 /**
726- * Returns whether the given file or directory is empty.
726+ * Tests whether the given file or directory is empty.
727727 *
728728 * @param path the file or directory to query.
729729 * @return whether the file or directory is empty.
@@ -734,7 +734,7 @@ public static boolean isEmpty(final Path path) throws IOException {
734734 }
735735
736736 /**
737- * Returns whether the directory is empty.
737+ * Tests whether the directory is empty.
738738 *
739739 * @param directory the directory to query.
740740 * @return whether the directory is empty.
@@ -747,7 +747,7 @@ public static boolean isEmptyDirectory(final Path directory) throws IOException
747747 }
748748
749749 /**
750- * Returns whether the given file is empty.
750+ * Tests whether the given file is empty.
751751 *
752752 * @param file the file to query.
753753 * @return whether the file is empty.
You can’t perform that action at this time.
0 commit comments