diff --git a/platform/platform-api/src/com/intellij/openapi/vfs/VirtualFileSystem.java b/platform/platform-api/src/com/intellij/openapi/vfs/VirtualFileSystem.java index 6fa14bdeb181..fe971424f6c1 100644 --- a/platform/platform-api/src/com/intellij/openapi/vfs/VirtualFileSystem.java +++ b/platform/platform-api/src/com/intellij/openapi/vfs/VirtualFileSystem.java @@ -45,11 +45,11 @@ public abstract class VirtualFileSystem { /** * Searches for the file specified by given path. Path is a string which uniquely identifies file within given * {@link VirtualFileSystem}. Format of the path depends on the concrete file system. - * For LocalFileSystem it is an absoulute file path with file separator characters (File.separatorChar) + * For LocalFileSystem it is an absolute file path with file separator characters (File.separatorChar) * replaced to the forward slash ('/').

*

* Example: to find a {@link VirtualFile} corresponding to the physical file with the specified path one - * can use the followoing code: LocalFileSystem.getInstance().findFileByPath(path.replace(File.separatorChar, '/')); + * can use the following code: LocalFileSystem.getInstance().findFileByPath(path.replace(File.separatorChar, '/')); * * @param path the path to find file by * @return {@link VirtualFile} if the file was found, null otherwise