From 37f34bf449a9825f86921bc202e8a9efef520159 Mon Sep 17 00:00:00 2001 From: Konstantin Ulitin Date: Sat, 5 May 2012 13:23:22 +0400 Subject: [PATCH] WI-11020 fixed errors on default project JS and SQL configuration saving --- .../src/com/intellij/lang/LanguagePerFileMappings.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/lang/LanguagePerFileMappings.java b/platform/lang-impl/src/com/intellij/lang/LanguagePerFileMappings.java index fe144a4117ed..d0062512e0e3 100644 --- a/platform/lang-impl/src/com/intellij/lang/LanguagePerFileMappings.java +++ b/platform/lang-impl/src/com/intellij/lang/LanguagePerFileMappings.java @@ -159,7 +159,9 @@ public abstract class LanguagePerFileMappings implements PersistentStateCompo } PushedFilePropertiesUpdater updater = PushedFilePropertiesUpdater.getInstance(myProject); if (updater == null) { - LOG.error("updater = null. project=" + myProject.getName()+", this="+getClass().getSimpleName()); + if (!myProject.isDefault()) { + LOG.error("updater = null. project=" + myProject.getName()+", this="+getClass().getSimpleName()); + } } else { updater.pushAll(pusher);