File tree Expand file tree Collapse file tree
src/java/org/apache/commons/io Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ public FileSystemUtils() {
105105 * <p>
106106 * Note that some OS's are NOT currently supported, including OS/390.
107107 * <pre>
108- * FileSystemUtils.freeSpace("C:"); // Windows
108+ * FileSystemUtils.freeSpace("C:"); // Windows
109109 * FileSystemUtils.freeSpace("/volume"); // *nix
110110 * </pre>
111111 * The free space is calculated via the command line.
@@ -127,8 +127,8 @@ public static long freeSpace(String path) throws IOException {
127127 * the command line.
128128 * Note that some OS's are NOT currently supported, including OS/390.
129129 * <pre>
130- * FileSystemUtils.freeSpace ("C:"); // Windows
131- * FileSystemUtils.freeSpace ("/volume"); // *nix
130+ * FileSystemUtils.freeSpaceKb ("C:"); // Windows
131+ * FileSystemUtils.freeSpaceKb ("/volume"); // *nix
132132 * </pre>
133133 * The free space is calculated via the command line.
134134 * It uses 'dir /-c' on Windows and 'df -k' on *nix.
You can’t perform that action at this time.
0 commit comments