WI-11020 fixed errors on default project JS and SQL configuration saving

This commit is contained in:
Konstantin Ulitin
2012-05-05 13:26:02 +04:00
parent a653ed878a
commit 37f34bf449
@@ -159,7 +159,9 @@ public abstract class LanguagePerFileMappings<T> 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);