From ac8372155893eb8e36244e67e5dc0173a69cee62 Mon Sep 17 00:00:00 2001 From: anna Date: Thu, 26 May 2011 15:24:37 +0400 Subject: [PATCH] restore scopes --- .../DependencyValidationManagerImpl.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/packageDependencies/DependencyValidationManagerImpl.java b/platform/lang-impl/src/com/intellij/packageDependencies/DependencyValidationManagerImpl.java index 4d8a20187614..08b8a0ee7f20 100644 --- a/platform/lang-impl/src/com/intellij/packageDependencies/DependencyValidationManagerImpl.java +++ b/platform/lang-impl/src/com/intellij/packageDependencies/DependencyValidationManagerImpl.java @@ -243,13 +243,11 @@ public class DependencyValidationManagerImpl extends DependencyValidationManager @Override public Element getState() { Element element = super.getState(); - if (SKIP_IMPORT_STATEMENTS) { - try { - DefaultJDOMExternalizer.writeExternal(this, element); - } - catch (WriteExternalException e) { - LOG.info(e); - } + try { + DefaultJDOMExternalizer.writeExternal(this, element); + } + catch (WriteExternalException e) { + LOG.info(e); } final List unnamedScopes = new ArrayList(myUnnamedScopes.keySet()); Collections.sort(unnamedScopes);