restore scopes

This commit is contained in:
anna
2011-05-26 15:25:26 +04:00
parent a55dd09e68
commit ac83721558
@@ -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<String> unnamedScopes = new ArrayList<String>(myUnnamedScopes.keySet());
Collections.sort(unnamedScopes);