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