From 81da6d4ecfc8057f6ca0a51fa98c0b3da202d1d7 Mon Sep 17 00:00:00 2001 From: "Maxim.Mossienko" Date: Wed, 26 Jul 2017 12:17:40 +0200 Subject: [PATCH] less strict check for vfs initialized state --- .../com/intellij/openapi/vfs/newvfs/persistent/FSRecords.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/FSRecords.java b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/FSRecords.java index 7d824ebee8f7..5a0f4988932b 100644 --- a/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/FSRecords.java +++ b/platform/platform-impl/src/com/intellij/openapi/vfs/newvfs/persistent/FSRecords.java @@ -564,7 +564,7 @@ public class FSRecords { } private static ResizeableMappedFile getRecords() { - assert DbConnection.ourInitialized; + assert DbConnection.myRecords != null:"Vfs should be initialized"; return DbConnection.myRecords; }