From ca49f7dc2a02cd4743562daf44020273b657c82a Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Tue, 8 Oct 2013 19:10:13 +0200 Subject: [PATCH] Cleanup (unnecessary condition) --- .../src/com/intellij/openapi/vfs/newvfs/VfsImplUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/VfsImplUtil.java b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/VfsImplUtil.java index bc5afa0b08a6..b2a4ab36af52 100644 --- a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/VfsImplUtil.java +++ b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/VfsImplUtil.java @@ -124,7 +124,7 @@ public class VfsImplUtil { @Nullable private static Pair> prepare(@NotNull NewVirtualFileSystem vfs, @NotNull String path) { String normalizedPath = normalize(vfs, path); - if (StringUtil.isEmptyOrSpaces(normalizedPath) || normalizedPath == null) { + if (StringUtil.isEmptyOrSpaces(normalizedPath)) { return null; }