simplification — introduce StateSplitterEx

This commit is contained in:
Vladimir Krivosheev
2014-10-30 10:50:36 +01:00
parent a1b6f5c8aa
commit 4c1394239f
2 changed files with 2 additions and 2 deletions
@@ -98,7 +98,7 @@ public abstract class DefaultProjectProfileManager extends ProjectProfileManager
@Nullable
@Override
public synchronized Element getState() {
Element state = new Element("state");
Element state = new Element("settings");
String[] sortedProfiles = myProfiles.keySet().toArray(new String[myProfiles.size()]);
Arrays.sort(sortedProfiles);
@@ -268,7 +268,7 @@ public class DirectoryStorageData extends StorageDataBase {
if (subState == null) {
return null;
}
subElements.add(state);
subElements.add(subState);
}
if (!subElements.isEmpty()) {