From 5aa869bde511a3637ff2b31e79545aa32061d6d0 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Mon, 11 Feb 2019 23:48:27 +0100 Subject: [PATCH] Cleanup (javadoc) --- .../com/intellij/openapi/vfs/newvfs/NewVirtualFileSystem.java | 4 ++-- .../intellij/openapi/vfs/impl/local/LocalFileSystemBase.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/platform-api/src/com/intellij/openapi/vfs/newvfs/NewVirtualFileSystem.java b/platform/platform-api/src/com/intellij/openapi/vfs/newvfs/NewVirtualFileSystem.java index 861a1fc53e2a..9d43a27b8007 100644 --- a/platform/platform-api/src/com/intellij/openapi/vfs/newvfs/NewVirtualFileSystem.java +++ b/platform/platform-api/src/com/intellij/openapi/vfs/newvfs/NewVirtualFileSystem.java @@ -106,8 +106,8 @@ public abstract class NewVirtualFileSystem extends VirtualFileSystem implements public abstract FileAttributes getAttributes(@NotNull VirtualFile file); /** - * @return true if this file is a directory which contains some children. - * Override if your file system can answer this question more efficiently (e.g. without enumerating all children). + * Returns {@code true} if {@code path} represents a directory with at least one child. + * Override if your file system can answer this question more efficiently (without enumerating children). */ public boolean hasChildren(@NotNull VirtualFile file) { return list(file).length != 0; diff --git a/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemBase.java b/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemBase.java index 766cf4fda6b7..bd8a2b51bb53 100644 --- a/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemBase.java +++ b/platform/platform-impl/src/com/intellij/openapi/vfs/impl/local/LocalFileSystemBase.java @@ -754,7 +754,7 @@ public abstract class LocalFileSystemBase extends LocalFileSystem { } /** - * @return true if {@code path} represents a directory which has children. + * @return {@code true} if {@code path} represents a directory with at least one child. */ public static boolean hasChildren(@NotNull Path path) { // make sure to not load all children