From 814c274a57265b5acf2b652fb33eb16095b693b5 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Thu, 17 Aug 2017 14:06:42 +0200 Subject: [PATCH] Cleanup (unneeded method) --- .../src/com/intellij/openapi/vfs/StandardFileSystems.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/core-api/src/com/intellij/openapi/vfs/StandardFileSystems.java b/platform/core-api/src/com/intellij/openapi/vfs/StandardFileSystems.java index d7e5cd2959f0..a930c439a9b4 100644 --- a/platform/core-api/src/com/intellij/openapi/vfs/StandardFileSystems.java +++ b/platform/core-api/src/com/intellij/openapi/vfs/StandardFileSystems.java @@ -64,7 +64,8 @@ public class StandardFileSystems { return jar().findFileByPath(virtualFile.getPath() + URLUtil.JAR_SEPARATOR); } - @Nullable + // + /** @deprecated use ArchiveFileSystem#getLocalByEntry(VirtualFile) (to remove in IDEA 2018) */ public static VirtualFile getVirtualFileForJar(@Nullable VirtualFile entryVFile) { if (entryVFile == null) return null; final String path = entryVFile.getPath(); @@ -74,4 +75,5 @@ public class StandardFileSystems { String localPath = path.substring(0, separatorIndex); return local().findFileByPath(localPath); } + // } \ No newline at end of file