From 11fbadce6058a0eb0c7ec829ba757b9fe36f1964 Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Tue, 15 Apr 2014 21:36:45 +0200 Subject: [PATCH] Cleanup (outdated comment; pointless assertion) --- .../openapi/vfs/newvfs/persistent/PersistentFSImpl.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/PersistentFSImpl.java b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/PersistentFSImpl.java index 7e0ab3623902..8044cfe93bdd 100644 --- a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/PersistentFSImpl.java +++ b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/PersistentFSImpl.java @@ -794,7 +794,6 @@ public class PersistentFSImpl extends PersistentFS implements ApplicationCompone TIntArrayList childrenIdsUpdated = new TIntArrayList(); List childrenToBeUpdated = new SmartList(); - assert parent != null; final int parentId = getFileId(parent); assert parentId != 0; TIntHashSet parentChildrenIds = new TIntHashSet(FSRecords.list(parentId)); @@ -875,7 +874,6 @@ public class PersistentFSImpl extends PersistentFS implements ApplicationCompone int rootId = FSRecords.findRootRecord(rootUrl); if (fs instanceof JarFileSystem) { - // optimization: for jar roots do not store base path in the myName field, use local FS file's getPath() String parentPath = basePath.substring(0, basePath.indexOf(JarFileSystem.JAR_SEPARATOR)); VirtualFile parentFile = LocalFileSystem.getInstance().findFileByPath(parentPath); if (parentFile == null) return null;