From ac6cb0716c31dba9dfc410102ce2e5c4c29b99dd Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Mon, 10 Nov 2014 18:50:25 +0100 Subject: [PATCH] =?UTF-8?q?don't=20update=20virtual=20file=20content=20by?= =?UTF-8?q?=20default=20=E2=80=94=20fix=20assertion=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jetbrains/idea/eclipse/config/CachedXmlDocumentSet.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/eclipse/src/org/jetbrains/idea/eclipse/config/CachedXmlDocumentSet.java b/plugins/eclipse/src/org/jetbrains/idea/eclipse/config/CachedXmlDocumentSet.java index 46f2187be50e..3e476c0ef09a 100644 --- a/plugins/eclipse/src/org/jetbrains/idea/eclipse/config/CachedXmlDocumentSet.java +++ b/plugins/eclipse/src/org/jetbrains/idea/eclipse/config/CachedXmlDocumentSet.java @@ -72,12 +72,12 @@ public class CachedXmlDocumentSet implements FileSet { public boolean exists(String name) { assertKnownName(name); - return !deletedContent.contains(name) && getVFile(name, false) != null; + return !deletedContent.contains(name) && getVFile(name) != null; } @Nullable protected VirtualFile getVFile(@NotNull String name) { - return getVFile(name, true); + return getVFile(name, false); } @Nullable @@ -148,7 +148,7 @@ public class CachedXmlDocumentSet implements FileSet { public void preload() { for (String key : nameToDir.keySet()) { try { - load(key, true); + load(key, false); } catch (IOException ignore) { }